Java org.objectweb.asm ClassReader fields, constructors, methods, implement or subclass

Example usage for Java org.objectweb.asm ClassReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.objectweb.asm ClassReader.

The text is from its open source code.

Subclass

org.objectweb.asm.ClassReader has subclasses.
Click this link to see all its subclasses.

Field

intSKIP_CODE
A flag to skip the Code attributes.
intSKIP_DEBUG
A flag to skip the SourceFile, SourceDebugExtension, LocalVariableTable, LocalVariableTypeTable, LineNumberTable and MethodParameters attributes.
intSKIP_FRAMES
A flag to skip the StackMap and StackMapTable attributes.
intEXPAND_FRAMES
A flag to expand the stack map frames.

Constructor

Method

voidaccept(final ClassVisitor classVisitor, final int parsingOptions)
Makes the given visitor visit the JVMS ClassFile structure passed to the constructor of this ClassReader .
voidaccept(final ClassVisitor classVisitor, final Attribute[] attributePrototypes, final int parsingOptions)
Makes the given visitor visit the JVMS ClassFile structure passed to the constructor of this ClassReader .
intgetAccess()
Returns the class's access flags (see Opcodes ).
StringgetClassName()
Returns the internal name of the class (see Type#getInternalName() ).
String[]getInterfaces()
Returns the internal names of the implemented interfaces (see Type#getInternalName() ).
intgetItem(final int constantPoolEntryIndex)
Returns the start offset in this ClassReader of a JVMS 'cp_info' structure (i.e.
intgetItemCount()
Returns the number of entries in the class's constant pool table.
intgetMaxStringLength()
Returns a conservative estimate of the maximum length of the strings contained in the class's constant pool table.
StringgetSuperName()
Returns the internal of name of the super class (see Type#getInternalName() ).
intreadByte(final int offset)
Reads a byte value in this ClassReader .
ObjectreadConst(final int constantPoolEntryIndex, final char[] charBuffer)
Reads a numeric or string constant pool entry in this ClassReader .
intreadInt(final int offset)
Reads a signed int value in this ClassReader .
shortreadShort(final int offset)
Reads a signed short value in this ClassReader .
intreadUnsignedShort(final int offset)
Reads an unsigned short value in this ClassReader .
StringreadUTF8(final int offset, final char[] charBuffer)
Reads a CONSTANT_Utf8 constant pool entry in this ClassReader .