Class ReferencedKotlinMetadataVisitor
- java.lang.Object
-
- proguard.classfile.kotlin.visitor.ReferencedKotlinMetadataVisitor
-
- All Implemented Interfaces:
ClassVisitor
public class ReferencedKotlinMetadataVisitor extends java.lang.Object implements ClassVisitor
Initializes the kotlin metadata for each Kotlin class. After initialization, all info from the annotation is represented in the Clazz's `kotlinMetadata` field. All arrays in kotlinMetadata are initialized, even if empty.
-
-
Constructor Summary
Constructors Constructor Description ReferencedKotlinMetadataVisitor(KotlinMetadataVisitor kotlinMetadataVisitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitAnyClass(Clazz clazz)
Visits any Clazz instance.void
visitLibraryClass(LibraryClass libraryClass)
void
visitProgramClass(ProgramClass programClass)
-
-
-
Constructor Detail
-
ReferencedKotlinMetadataVisitor
public ReferencedKotlinMetadataVisitor(KotlinMetadataVisitor kotlinMetadataVisitor)
-
-
Method Detail
-
visitAnyClass
public void visitAnyClass(Clazz clazz)
Description copied from interface:ClassVisitor
Visits any Clazz instance. The more specific default implementations of this interface delegate to this method.- Specified by:
visitAnyClass
in interfaceClassVisitor
-
visitProgramClass
public void visitProgramClass(ProgramClass programClass)
- Specified by:
visitProgramClass
in interfaceClassVisitor
-
visitLibraryClass
public void visitLibraryClass(LibraryClass libraryClass)
- Specified by:
visitLibraryClass
in interfaceClassVisitor
-
-