Interface CallableReferenceInfo
- All Known Implementing Classes:
FunctionReferenceInfo,JavaFieldReferenceInfo,JavaMethodReferenceInfo,JavaReferenceInfo,LocalVariableReferenceInfo,PropertyReferenceInfo
public interface CallableReferenceInfo
Information about callable references.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(CallableReferenceInfoVisitor callableReferenceInfoVisitor) getName()The Kotlin name of the callable, the one which was declared in the source code (@JvmName doesn't change it).getOwner()The class or package where the callable should be located, usually specified on the LHS of the '::' operator.The signature of the callable.voidownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor)
-
Method Details
-
getName
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
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
-
ownerAccept
-