Interface CallableReferenceInfo
-
- All Known Implementing Classes:
FunctionReferenceInfo
,JavaFieldReferenceInfo
,JavaMethodReferenceInfo
,JavaReferenceInfo
,LocalVariableReferenceInfo
,PropertyReferenceInfo
public interface CallableReferenceInfo
Information about callable references.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
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)
-
-