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()
CallableReferenceInfo
getName
in interface CallableReferenceInfo
public java.lang.String getSignature()
CallableReferenceInfo
getSignature
in interface CallableReferenceInfo
public KotlinDeclarationContainerMetadata getOwner()
CallableReferenceInfo
Note: this is not necessarily the location where the callable is *declared* - it could be declared in a superclass.
getOwner
in interface CallableReferenceInfo
public void accept(CallableReferenceInfoVisitor callableReferenceInfoVisitor)
accept
in interface CallableReferenceInfo
public void ownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor)
ownerAccept
in interface CallableReferenceInfo