类的使用
cn.taketoday.bytecode.ClassReader
使用ClassReader的程序包
程序包
说明
CGLIB or ASM other byte code library
Support classes for reading annotation and class-level metadata.
Miscellaneous utility classes, such as utilities for working with strings,
classes, collections, reflection, etc.
-
cn.taketoday.bytecode中ClassReader的使用
声明为ClassReader的cn.taketoday.bytecode中的字段修饰符和类型字段说明private final ClassReaderSymbolTable.sourceClassReaderThe ClassReader from which this SymbolTable was constructed, or null if it was constructed from scratch.修饰符和类型方法说明(专用程序包) ClassReaderSymbolTable.getSource()Returns the ClassReader from which this SymbolTable was constructed.参数类型为ClassReader的cn.taketoday.bytecode中的方法修饰符和类型方法说明(专用程序包) booleanMethodWriter.canCopyMethodAttributes(ClassReader source, boolean hasSyntheticAttribute, boolean hasDeprecatedAttribute, int descriptorIndex, int signatureIndex, int exceptionsOffset) Returns whether the attributes of this method can be copied from the attributes of the given method (assuming there is no method visitor between the given ClassReader and this MethodWriter).private voidSymbolTable.copyBootstrapMethods(ClassReader classReader, char[] charBuffer) Read the BootstrapMethods 'bootstrap_methods' array binary content and add them as entries of the SymbolTable.protected AttributeAttribute.read(ClassReader classReader, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) Reads aAttribute.typeattribute.参数类型为ClassReader的cn.taketoday.bytecode中的构造器限定符构造器说明ClassWriter(ClassReader classReader, int flags) Constructs a newClassWriterobject and enables optimizations for "mostly add" bytecode transformations.ClassWriter(ClassReader classReader, int flags, ClassLoader classLoader) Constructs a newClassWriterobject and enables optimizations for "mostly add" bytecode transformations.(专用程序包)SymbolTable(ClassWriter classWriter, ClassReader classReader) Constructs a new SymbolTable for the given ClassWriter, initialized with the constant pool and bootstrap methods of the given ClassReader. -
cn.taketoday.bytecode.commons中ClassReader的使用
参数类型为ClassReader的cn.taketoday.bytecode.commons中的方法修饰符和类型方法说明protected AttributeModuleHashesAttribute.read(ClassReader classReader, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) protected AttributeModuleResolutionAttribute.read(ClassReader classReader, int offset, int length, char[] charBuffer, int codeOffset, Label[] labels) protected AttributeModuleTargetAttribute.read(ClassReader classReader, int offset, int length, char[] charBuffer, int codeOffset, Label[] labels) -
cn.taketoday.bytecode.transform中ClassReader的使用
修饰符和类型方法说明protected ClassGeneratorAbstractClassLoader.getGenerator(ClassReader r) protected ClassGeneratorTransformingClassLoader.getGenerator(ClassReader r) 参数类型为ClassReader的cn.taketoday.bytecode.transform中的构造器限定符构造器说明ClassReaderGenerator(ClassReader r, int flags) ClassReaderGenerator(ClassReader r, Attribute[] attrs, int flags) -
cn.taketoday.bytecode.util中ClassReader的使用
参数类型为ClassReader的cn.taketoday.bytecode.util中的方法修饰符和类型方法说明static voidCheckClassAdapter.verify(ClassReader classReader, boolean printResults, PrintWriter printWriter) Checks the given class.static voidCheckClassAdapter.verify(ClassReader classReader, ClassLoader loader, boolean printResults, PrintWriter printWriter) Checks the given class. -
cn.taketoday.core.type.classreading中ClassReader的使用
-
cn.taketoday.util中ClassReader的使用
参数类型为ClassReader的cn.taketoday.util中的方法