Class ReferencedClassVisitor

java.lang.Object
proguard.classfile.visitor.ReferencedClassVisitor
All Implemented Interfaces:
AnnotationVisitor, ElementValueVisitor, AttributeVisitor, LocalVariableInfoVisitor, LocalVariableTypeInfoVisitor, ConstantVisitor, ClassVisitor, MemberVisitor

This ClassVisitor, MemberVisitor, ConstantVisitor, AttributeVisitor, etc. lets a given ClassVisitor visit all the referenced classes of the elements that it visits. Only downstream elements are considered (in order to avoid loops and repeated visits)

It also considers references in the Kotlin metadata of this class, if includeKotlinMetadata = true. So that, for example, a Kotlin function referencing a type alias will execute the delegate class visitor for the referencedClass of the alias.