public class LibraryClassReader extends java.lang.Object implements ClassVisitor, MemberVisitor, ConstantVisitor
ClassVisitor
fills out the LibraryClass
instances that it visits with data
from the given DataInput
object.Modifier and Type | Class and Description |
---|---|
static interface |
LibraryClassReader.KotlinMetadataElementValueConsumer |
Constructor and Description |
---|
LibraryClassReader(java.io.DataInput dataInput,
boolean skipNonPublicClasses,
boolean skipNonPublicClassMembers)
Creates a new ProgramClassReader for reading from the given DataInput.
|
LibraryClassReader(java.io.DataInput dataInput,
boolean skipNonPublicClasses,
boolean skipNonPublicClassMembers,
LibraryClassReader.KotlinMetadataElementValueConsumer kmElementValueConsumer)
Creates a new ProgramClassReader for reading from the given DataInput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitProgramClass
visitAnyMember, visitLibraryField, visitLibraryMethod, visitProgramField, visitProgramMethod
visitAnyConstant, visitAnyMethodrefConstant, visitFieldrefConstant, visitInterfaceMethodrefConstant, visitMethodrefConstant
public LibraryClassReader(java.io.DataInput dataInput, boolean skipNonPublicClasses, boolean skipNonPublicClassMembers)
public LibraryClassReader(java.io.DataInput dataInput, boolean skipNonPublicClasses, boolean skipNonPublicClassMembers, LibraryClassReader.KotlinMetadataElementValueConsumer kmElementValueConsumer)
public void visitAnyClass(Clazz clazz)
ClassVisitor
visitAnyClass
in interface ClassVisitor
public void visitLibraryClass(LibraryClass libraryClass)
visitLibraryClass
in interface ClassVisitor
public void visitProgramMember(ProgramClass libraryClass, ProgramMember libraryMember)
visitProgramMember
in interface MemberVisitor
public void visitLibraryMember(LibraryClass libraryClass, LibraryMember libraryMember)
visitLibraryMember
in interface MemberVisitor
public void visitIntegerConstant(Clazz clazz, IntegerConstant integerConstant)
visitIntegerConstant
in interface ConstantVisitor
public void visitLongConstant(Clazz clazz, LongConstant longConstant)
visitLongConstant
in interface ConstantVisitor
public void visitFloatConstant(Clazz clazz, FloatConstant floatConstant)
visitFloatConstant
in interface ConstantVisitor
public void visitDoubleConstant(Clazz clazz, DoubleConstant doubleConstant)
visitDoubleConstant
in interface ConstantVisitor
public void visitPrimitiveArrayConstant(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant)
visitPrimitiveArrayConstant
in interface ConstantVisitor
public void visitStringConstant(Clazz clazz, StringConstant stringConstant)
visitStringConstant
in interface ConstantVisitor
public void visitUtf8Constant(Clazz clazz, Utf8Constant utf8Constant)
visitUtf8Constant
in interface ConstantVisitor
public void visitDynamicConstant(Clazz clazz, DynamicConstant dynamicConstant)
visitDynamicConstant
in interface ConstantVisitor
public void visitInvokeDynamicConstant(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant)
visitInvokeDynamicConstant
in interface ConstantVisitor
public void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant)
visitMethodHandleConstant
in interface ConstantVisitor
public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant)
ConstantVisitor
visitAnyRefConstant
in interface ConstantVisitor
public void visitClassConstant(Clazz clazz, ClassConstant classConstant)
visitClassConstant
in interface ConstantVisitor
public void visitMethodTypeConstant(Clazz clazz, MethodTypeConstant methodTypeConstant)
visitMethodTypeConstant
in interface ConstantVisitor
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant)
visitNameAndTypeConstant
in interface ConstantVisitor
public void visitModuleConstant(Clazz clazz, ModuleConstant moduleConstant)
visitModuleConstant
in interface ConstantVisitor
public void visitPackageConstant(Clazz clazz, PackageConstant packageConstant)
visitPackageConstant
in interface ConstantVisitor