Bytecode-level API.
See: Description
Interface Summary | |
---|---|
Mnemonic | JVM Instruction Names. |
Opcode | JVM Instruction Set. |
Class Summary | |
---|---|
AccessFlag | A support class providing static methods and constants for access modifiers such as public, rivate, ... |
AnnotationDefaultAttribute |
A class representing AnnotationDefault_attribute .
|
AnnotationsAttribute |
A class representing
RuntimeVisibleAnnotations_attribute and
RuntimeInvisibleAnnotations_attribute .
|
AttributeInfo |
attribute_info structure. |
BadBytecode | Signals that a bad bytecode sequence has been found. |
ByteArray | A collection of static methods for reading and writing a byte array. |
Bytecode | A utility class for producing a bytecode sequence. |
ClassFile |
ClassFile represents a Java .class file, which
consists of a constant pool, methods, fields, and attributes.
|
ClassFileWriter | A utility class for priting the contents of a class file. |
CodeAttribute |
Code_attribute .
|
CodeAttribute.RuntimeCopyException |
An exception that may be thrown by copy()
in CodeAttribute . |
CodeIterator | An iterator for editing a code attribute. |
ConstantAttribute |
ConstantValue_attribute . |
ConstPool | Constant pool table. |
DeprecatedAttribute |
Deprecated_attribute . |
Descriptor | A support class for dealing with descriptors. |
Descriptor.Iterator | An Iterator over a descriptor. |
DuplicateMemberException | An exception thrown when adding a duplicate member is requested. |
EnclosingMethodAttribute |
EnclosingMethod_attribute . |
ExceptionsAttribute |
Exceptions_attribute . |
ExceptionTable |
exception_table[] of Code_attribute . |
FieldInfo |
field_info structure.
|
InnerClassesAttribute |
InnerClasses_attribute . |
LineNumberAttribute |
LineNumberTable_attribute . |
LineNumberAttribute.Pc |
Used as a return type of toNearPc() . |
LocalVariableAttribute |
LocalVariableTable_attribute or
LocalVariableTypeTable_attribute . |
MethodInfo |
method_info structure.
|
ParameterAnnotationsAttribute |
A class representing RuntimeVisibleAnnotations_attribute and
RuntimeInvisibleAnnotations_attribute .
|
SignatureAttribute |
Signature_attribute . |
SignatureAttribute.ArrayType | Array types. |
SignatureAttribute.BaseType | Primitive types. |
SignatureAttribute.ClassSignature | Class signature. |
SignatureAttribute.ClassType | Class types. |
SignatureAttribute.MethodSignature | Method type signature. |
SignatureAttribute.ObjectType | Class types, array types, and type variables. |
SignatureAttribute.Type | Primitive types and object types. |
SignatureAttribute.TypeArgument | Type argument. |
SignatureAttribute.TypeParameter | Formal type parameters. |
SignatureAttribute.TypeVariable | Type variables. |
SourceFileAttribute |
SourceFile_attribute . |
StackMapTable |
stack_map attribute.
|
StackMapTable.RuntimeCopyException |
An exception that may be thrown by copy()
in StackMapTable . |
StackMapTable.Walker | A code walker for a StackMapTable attribute. |
StackMapTable.Writer | A writer of stack map tables. |
SyntheticAttribute |
Synthetic_attribute . |
This package provides low-level API for editing a raw class file. It allows the users to read and modify a constant pool entry, a single bytecode instruction, and so on.
The users of this package must know the specifications of class file and Java bytecode. For more details, read this book: