Class FunctionReferenceInfo
java.lang.Object
proguard.classfile.kotlin.reflect.FunctionReferenceInfo
- All Implemented Interfaces:
CallableReferenceInfo
FunctionReference info.
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionReferenceInfo(Clazz ownerClass, KotlinDeclarationContainerMetadata ownerMetadata, KotlinFunctionMetadata functionMetadata) -
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.For functions this is just their name and descriptor.voidownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor)
-
Constructor Details
-
FunctionReferenceInfo
public FunctionReferenceInfo(Clazz ownerClass, KotlinDeclarationContainerMetadata ownerMetadata, KotlinFunctionMetadata functionMetadata)
-
-
Method Details
-
getName
Description copied from interface:CallableReferenceInfoThe Kotlin name of the callable, the one which was declared in the source code (@JvmName doesn't change it).- Specified by:
getNamein interfaceCallableReferenceInfo- Returns:
- The Kotlin name.
-
getSignature
For functions this is just their name and descriptor.- Specified by:
getSignaturein interfaceCallableReferenceInfo- Returns:
- The JVM signature.
-
getOwner
Description copied from interface:CallableReferenceInfoThe 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.
- Specified by:
getOwnerin interfaceCallableReferenceInfo- Returns:
- The owner.
-
accept
- Specified by:
acceptin interfaceCallableReferenceInfo
-
ownerAccept
- Specified by:
ownerAcceptin interfaceCallableReferenceInfo
-