public class MemberDescriptorReferencedClassVisitor extends java.lang.Object implements MemberVisitor
MemberVisitor
lets a given ClassVisitor
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 and Description |
---|
MemberDescriptorReferencedClassVisitor(boolean includeKotlinMetadata,
ClassVisitor classVisitor) |
MemberDescriptorReferencedClassVisitor(ClassVisitor classVisitor) |
Modifier and Type | Method and Description |
---|---|
void |
visitLibraryMember(LibraryClass libraryClass,
LibraryMember libraryMember) |
void |
visitProgramMember(ProgramClass programClass,
ProgramMember programMember) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitAnyMember, visitLibraryField, visitLibraryMethod, visitProgramField, visitProgramMethod
public MemberDescriptorReferencedClassVisitor(ClassVisitor classVisitor)
public MemberDescriptorReferencedClassVisitor(boolean includeKotlinMetadata, ClassVisitor classVisitor)
public void visitProgramMember(ProgramClass programClass, ProgramMember programMember)
visitProgramMember
in interface MemberVisitor
public void visitLibraryMember(LibraryClass libraryClass, LibraryMember libraryMember)
visitLibraryMember
in interface MemberVisitor