public abstract class JavaReferenceInfo extends java.lang.Object implements CallableReferenceInfo
Modifier and Type | Field and Description |
---|---|
protected Clazz |
clazz |
protected Member |
member |
Constructor and Description |
---|
JavaReferenceInfo(Clazz ownerClass,
Clazz clazz,
Member member) |
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 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