Package proguard.classfile.visitor
Class MemberDescriptorReferencedClassVisitor
- java.lang.Object
-
- proguard.classfile.visitor.MemberDescriptorReferencedClassVisitor
-
- All Implemented Interfaces:
MemberVisitor
public class MemberDescriptorReferencedClassVisitor extends java.lang.Object implements MemberVisitor
ThisMemberVisitor
lets a givenClassVisitor
visit all the classes referenced by the descriptors of the class members that it visits.It also takes into account functions with Kotlin inline class parameters, if includeKotlinMetadata = true: in the case of inline classes, in the underlying JVM method the actual class will not be referenced since the Kotlin compiler inlines uses.
-
-
Constructor Summary
Constructors Constructor Description MemberDescriptorReferencedClassVisitor(boolean includeKotlinMetadata, ClassVisitor classVisitor)
MemberDescriptorReferencedClassVisitor(ClassVisitor classVisitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitLibraryMember(LibraryClass libraryClass, LibraryMember libraryMember)
void
visitProgramMember(ProgramClass programClass, ProgramMember programMember)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.classfile.visitor.MemberVisitor
visitAnyMember, visitLibraryField, visitLibraryMethod, visitProgramField, visitProgramMethod
-
-
-
-
Constructor Detail
-
MemberDescriptorReferencedClassVisitor
public MemberDescriptorReferencedClassVisitor(ClassVisitor classVisitor)
-
MemberDescriptorReferencedClassVisitor
public MemberDescriptorReferencedClassVisitor(boolean includeKotlinMetadata, ClassVisitor classVisitor)
-
-
Method Detail
-
visitProgramMember
public void visitProgramMember(ProgramClass programClass, ProgramMember programMember)
- Specified by:
visitProgramMember
in interfaceMemberVisitor
-
visitLibraryMember
public void visitLibraryMember(LibraryClass libraryClass, LibraryMember libraryMember)
- Specified by:
visitLibraryMember
in interfaceMemberVisitor
-
-