public class FunctionReferenceInfo extends java.lang.Object implements CallableReferenceInfo
Constructor and Description |
---|
FunctionReferenceInfo(Clazz ownerClass,
KotlinDeclarationContainerMetadata ownerMetadata,
KotlinFunctionMetadata functionMetadata) |
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()
For functions this is just their name and descriptor.
|
void |
ownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor) |
public FunctionReferenceInfo(Clazz ownerClass, KotlinDeclarationContainerMetadata ownerMetadata, KotlinFunctionMetadata functionMetadata)
public java.lang.String getName()
CallableReferenceInfo
getName
in interface CallableReferenceInfo
public java.lang.String getSignature()
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