Uses of Class
org.objectweb.asm.ClassReader
Packages that use ClassReader
Package
Description
Provides a small and fast bytecode manipulation framework.
Provides some useful class and method adapters.
Provides ASM visitors that can be useful for programming and
debugging purposes.
-
Uses of ClassReader in org.objectweb.asm
Fields in org.objectweb.asm declared as ClassReaderModifier and TypeFieldDescriptionprivate final ClassReader
SymbolTable.sourceClassReader
The ClassReader from which this SymbolTable was constructed, or null if it was constructed from scratch.Methods in org.objectweb.asm that return ClassReaderModifier and TypeMethodDescription(package private) ClassReader
SymbolTable.getSource()
Returns the ClassReader from which this SymbolTable was constructed.Methods in org.objectweb.asm with parameters of type ClassReaderModifier and TypeMethodDescription(package private) boolean
MethodWriter.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 void
SymbolTable.copyBootstrapMethods
(ClassReader classReader, char[] charBuffer) Read the BootstrapMethods 'bootstrap_methods' array binary content and add them as entries of the SymbolTable.static Attribute
Attribute.read
(Attribute attribute, ClassReader classReader, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) Reads an attribute with the sameAttribute.type
as the given attribute.protected Attribute
Attribute.read
(ClassReader classReader, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) Reads aAttribute.type
attribute.static Label
Attribute.readLabel
(ClassReader classReader, int bytecodeOffset, Label[] labels) Returns the label corresponding to the given bytecode offset by callingreadLabel(int, org.objectweb.asm.Label[])
.Constructors in org.objectweb.asm with parameters of type ClassReaderModifierConstructorDescriptionClassWriter
(ClassReader classReader, int flags) Constructs a newClassWriter
object and enables optimizations for "mostly add" bytecode transformations.(package private)
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. -
Uses of ClassReader in org.objectweb.asm.commons
Methods in org.objectweb.asm.commons with parameters of type ClassReaderModifier and TypeMethodDescriptionprotected Attribute
ModuleHashesAttribute.read
(ClassReader classReader, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) protected Attribute
ModuleResolutionAttribute.read
(ClassReader classReader, int offset, int length, char[] charBuffer, int codeOffset, Label[] labels) protected Attribute
ModuleTargetAttribute.read
(ClassReader classReader, int offset, int length, char[] charBuffer, int codeOffset, Label[] labels) -
Uses of ClassReader in org.objectweb.asm.tools
Methods in org.objectweb.asm.tools that return types with arguments of type ClassReaderModifier and TypeMethodDescriptionprivate List
<ClassReader> Retrofitter.getClassReaders
(List<Path> classFiles) Method parameters in org.objectweb.asm.tools with type arguments of type ClassReaderModifier and TypeMethodDescriptionprivate static void
Retrofitter.checkPrivateMemberAccess
(List<ClassReader> readers) Checks that no code accesses to a private member from another class. -
Uses of ClassReader in org.objectweb.asm.util
Methods in org.objectweb.asm.util with parameters of type ClassReaderModifier and TypeMethodDescriptionstatic void
CheckClassAdapter.verify
(ClassReader classReader, boolean printResults, PrintWriter printWriter) Checks the given class.static void
CheckClassAdapter.verify
(ClassReader classReader, ClassLoader loader, boolean printResults, PrintWriter printWriter) Checks the given class.