Class LocalVariableReferenceInfo
- java.lang.Object
-
- proguard.classfile.kotlin.reflect.LocalVariableReferenceInfo
-
- All Implemented Interfaces:
CallableReferenceInfo
public class LocalVariableReferenceInfo extends java.lang.Object implements CallableReferenceInfo
-
-
Constructor Summary
Constructors Constructor Description LocalVariableReferenceInfo(Clazz ownerClass, KotlinDeclarationContainerMetadata ownerMetadata, java.lang.String name, java.lang.String signature)
-
Method Summary
All Methods Instance Methods Concrete 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)
-
-
-
Constructor Detail
-
LocalVariableReferenceInfo
public LocalVariableReferenceInfo(Clazz ownerClass, KotlinDeclarationContainerMetadata ownerMetadata, java.lang.String name, java.lang.String signature)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:CallableReferenceInfo
The Kotlin name of the callable, the one which was declared in the source code (@JvmName doesn't change it).- Specified by:
getName
in interfaceCallableReferenceInfo
- Returns:
- The Kotlin name.
-
getSignature
public java.lang.String getSignature()
Description copied from interface:CallableReferenceInfo
The signature of the callable.- Specified by:
getSignature
in interfaceCallableReferenceInfo
- Returns:
- The signature.
-
getOwner
public KotlinDeclarationContainerMetadata getOwner()
Description copied from interface:CallableReferenceInfo
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.
- Specified by:
getOwner
in interfaceCallableReferenceInfo
- Returns:
- The owner.
-
accept
public void accept(CallableReferenceInfoVisitor callableReferenceInfoVisitor)
- Specified by:
accept
in interfaceCallableReferenceInfo
-
ownerAccept
public void ownerAccept(KotlinMetadataVisitor kotlinMetadataVisitor)
- Specified by:
ownerAccept
in interfaceCallableReferenceInfo
-
-