类 PropertyReferenceInfo
- java.lang.Object
-
- proguard.classfile.kotlin.reflect.PropertyReferenceInfo
-
- 所有已实现的接口:
CallableReferenceInfo
public class PropertyReferenceInfo extends java.lang.Object implements CallableReferenceInfo
Property reference info.
-
-
构造器概要
构造器 构造器 说明 PropertyReferenceInfo(Clazz ownerClass, KotlinDeclarationContainerMetadata ownerMetadata, KotlinPropertyMetadata propertyMetadata)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaccept(CallableReferenceInfoVisitor callableReferenceInfoVisitor)java.lang.StringgetName()The Kotlin name of the callable, the one which was declared in the source code (@JvmName doesn't change it).KotlinDeclarationContainerMetadatagetOwner()The class or package where the callable should be located, usually specified on the LHS of the '::' operator.java.lang.StringgetSignature()For properties this is the signature of it's JVM getter method.voidownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor)
-
-
-
构造器详细资料
-
PropertyReferenceInfo
public PropertyReferenceInfo(Clazz ownerClass, KotlinDeclarationContainerMetadata ownerMetadata, KotlinPropertyMetadata propertyMetadata)
-
-
方法详细资料
-
getName
public java.lang.String getName()
从接口复制的说明:CallableReferenceInfoThe Kotlin name of the callable, the one which was declared in the source code (@JvmName doesn't change it).- 指定者:
getName在接口中CallableReferenceInfo- 返回:
- The Kotlin name.
-
getSignature
public java.lang.String getSignature()
For properties this is the signature of it's JVM getter method.If the property has no getter in the bytecode (e.g. private property in a class), it's still the signature of the imaginary default getter that would be generated otherwise e.g. "myProperty" -> "getMyProperty".
- 指定者:
getSignature在接口中CallableReferenceInfo- 返回:
- the signature.
-
getOwner
public KotlinDeclarationContainerMetadata getOwner()
从接口复制的说明:CallableReferenceInfoThe class or package where the callable should be located, usually specified on the LHS of the '::' operator.Note: this is not necessarily the location where the callable is *declared* - it could be declared in a superclass.
- 指定者:
getOwner在接口中CallableReferenceInfo- 返回:
- The owner.
-
accept
public void accept(CallableReferenceInfoVisitor callableReferenceInfoVisitor)
- 指定者:
accept在接口中CallableReferenceInfo
-
ownerAccept
public void ownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor)
- 指定者:
ownerAccept在接口中CallableReferenceInfo
-
-