Interface CallableReferenceInfo

All Known Implementing Classes:
FunctionReferenceInfo, JavaFieldReferenceInfo, JavaMethodReferenceInfo, JavaReferenceInfo, LocalVariableReferenceInfo, PropertyReferenceInfo

public interface CallableReferenceInfo
Information about callable references.
  • 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

      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)