类 PropertyReferenceInfo
java.lang.Object
proguard.classfile.kotlin.reflect.PropertyReferenceInfo
- 所有已实现的接口:
CallableReferenceInfo
Property reference info.
-
构造器概要
构造器构造器说明PropertyReferenceInfo(Clazz ownerClass, KotlinDeclarationContainerMetadata ownerMetadata, KotlinPropertyMetadata propertyMetadata) -
方法概要
修饰符和类型方法说明voidaccept(CallableReferenceInfoVisitor callableReferenceInfoVisitor) getName()The Kotlin name of the callable, the one which was declared in the source code (@JvmName doesn't change it).getOwner()The class or package where the callable should be located, usually specified on the LHS of the '::' operator.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
从接口复制的说明: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
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
从接口复制的说明: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
- 指定者:
accept在接口中CallableReferenceInfo
-
ownerAccept
- 指定者:
ownerAccept在接口中CallableReferenceInfo
-