Interface | Description |
---|---|
ClassFileWriter.AttributeWriter |
This writes attributes.
|
Mnemonic |
JVM Instruction Names.
|
Opcode |
JVM Instruction Set.
|
Class | Description |
---|---|
AccessFlag |
A support class providing static methods and constants
for access modifiers such as public, private, ...
|
AnnotationDefaultAttribute |
A class representing
AnnotationDefault_attribute . |
AnnotationsAttribute |
A class representing
RuntimeVisibleAnnotations_attribute and
RuntimeInvisibleAnnotations_attribute . |
AttributeInfo |
attribute_info structure. |
BootstrapMethodsAttribute | |
BootstrapMethodsAttribute.BootstrapMethod |
An element of
bootstrap_methods . |
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. |
ClassFilePrinter |
A utility class for priting the contents of a class file.
|
ClassFileWriter |
A quick class-file writer.
|
ClassFileWriter.ConstPoolWriter |
Constant Pool.
|
ClassFileWriter.FieldWriter |
Field.
|
ClassFileWriter.MethodWriter |
Method.
|
CodeAttribute |
Code_attribute . |
CodeIterator |
An iterator for editing a code attribute.
|
CodeIterator.Gap |
An inserted gap.
|
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.
|
EnclosingMethodAttribute |
EnclosingMethod_attribute . |
ExceptionsAttribute |
Exceptions_attribute . |
ExceptionTable |
exception_table[] of Code_attribute . |
FieldInfo |
field_info structure. |
InnerClassesAttribute |
InnerClasses_attribute . |
InstructionPrinter |
Simple utility class for printing the bytecode instructions of a method.
|
LineNumberAttribute |
LineNumberTable_attribute . |
LineNumberAttribute.Pc |
Used as a return type of
toNearPc() . |
LocalVariableAttribute |
LocalVariableTable_attribute . |
LocalVariableTypeAttribute |
LocalVariableTypeTable_attribute . |
MethodInfo |
method_info structure. |
MethodParametersAttribute |
MethodParameters_attribute . |
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.NestedClassType |
Nested class types.
|
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 . |
StackMap |
Another
stack_map attribute defined in CLDC 1.1 for J2ME. |
StackMap.Walker |
A code walker for a StackMap attribute.
|
StackMap.Writer |
Internal use only.
|
StackMapTable |
stack_map attribute. |
StackMapTable.Walker |
A code walker for a StackMapTable attribute.
|
StackMapTable.Writer |
A writer of stack map tables.
|
SyntheticAttribute |
Synthetic_attribute . |
TypeAnnotationsAttribute |
A class representing
RuntimeVisibleTypeAnnotations attribute and
RuntimeInvisibleTypeAnnotations attribute. |
Exception | Description |
---|---|
BadBytecode |
Signals that a bad bytecode sequence has been found.
|
CodeAttribute.RuntimeCopyException |
An exception that may be thrown by
copy()
in CodeAttribute . |
DuplicateMemberException |
An exception thrown when adding a duplicate member is requested.
|
StackMapTable.RuntimeCopyException |
An exception that may be thrown by
copy()
in StackMapTable . |
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:
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.