public class LocalVariableReferenceInfo extends java.lang.Object implements CallableReferenceInfo
| Constructor and Description |
|---|
LocalVariableReferenceInfo(Clazz ownerClass,
KotlinDeclarationContainerMetadata ownerMetadata,
java.lang.String name,
java.lang.String signature) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(CallableReferenceInfoVisitor callableReferenceInfoVisitor) |
java.lang.String |
getName()
The Kotlin name of the callable, the one which was declared in the source code (@JvmName
doesn't change it).
|
KotlinDeclarationContainerMetadata |
getOwner()
The class or package where the callable should be located, usually specified on the LHS of the
'::' operator.
|
java.lang.String |
getSignature()
The signature of the callable.
|
void |
ownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor) |
public LocalVariableReferenceInfo(Clazz ownerClass, KotlinDeclarationContainerMetadata ownerMetadata, java.lang.String name, java.lang.String signature)
public java.lang.String getName()
CallableReferenceInfogetName in interface CallableReferenceInfopublic java.lang.String getSignature()
CallableReferenceInfogetSignature in interface CallableReferenceInfopublic KotlinDeclarationContainerMetadata getOwner()
CallableReferenceInfoNote: this is not necessarily the location where the callable is *declared* - it could be declared in a superclass.
getOwner in interface CallableReferenceInfopublic void accept(CallableReferenceInfoVisitor callableReferenceInfoVisitor)
accept in interface CallableReferenceInfopublic void ownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor)
ownerAccept in interface CallableReferenceInfo