Interface CallableReferenceInfo
-
- All Known Implementing Classes:
FunctionReferenceInfo,JavaFieldReferenceInfo,JavaMethodReferenceInfo,JavaReferenceInfo,LocalVariableReferenceInfo,PropertyReferenceInfo
public interface CallableReferenceInfoInformation about callable references.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(CallableReferenceInfoVisitor callableReferenceInfoVisitor)java.lang.StringgetName()The Kotlin name of the callable, the one which was declared in the source code (@JvmName doesn't change it).KotlinDeclarationContainerMetadatagetOwner()The class or package where the callable should be located, usually specified on the LHS of the '::' operator.java.lang.StringgetSignature()The signature of the callable.voidownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor)
-
-
-
Method Detail
-
getName
java.lang.String getName()
The Kotlin name of the callable, the one which was declared in the source code (@JvmName doesn't change it).- Returns:
- The Kotlin name.
-
getSignature
java.lang.String getSignature()
The signature of the callable.- Returns:
- The signature.
-
getOwner
KotlinDeclarationContainerMetadata getOwner()
The 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.
- Returns:
- The owner.
-
accept
void accept(CallableReferenceInfoVisitor callableReferenceInfoVisitor)
-
ownerAccept
void ownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor)
-
-