javassist.bytecode |
Bytecode-level API.
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:
Tim Lindholm and Frank Yellin,
"The Java Virtual Machine Specification 2nd Ed.",
Addison-Wesley, 1999.
|
Java Source File Name | Type | Comment |
AccessFlag.java | Class | A support class providing static methods and constants
for access modifiers such as public, rivate, ... |
AnnotationDefaultAttribute.java | Class | A class representing AnnotationDefault_attribute . |
AnnotationsAttribute.java | Class | A class representing
RuntimeVisibleAnnotations_attribute and
RuntimeInvisibleAnnotations_attribute .
To obtain an AnnotationAttribute object, invoke
getAttribute(AnnotationsAttribute.visibleTag)
in ClassFile , MethodInfo ,
or FieldInfo . |
AttributeInfo.java | Class | attribute_info structure. |
BadBytecode.java | Class | Signals that a bad bytecode sequence has been found. |
ByteArray.java | Class | A collection of static methods for reading and writing a byte array. |
Bytecode.java | Class | |
ClassFile.java | Class | ClassFile represents a Java .class file, which
consists of a constant pool, methods, fields, and attributes. |
ClassFileWriter.java | Class | A utility class for priting the contents of a class file. |
CodeAnalyzer.java | Class | Utility for computing max_stack . |
CodeAttribute.java | Class | Code_attribute . |
CodeIterator.java | Class | An iterator for editing a code attribute. |
ConstantAttribute.java | Class | ConstantValue_attribute . |
ConstPool.java | Class | Constant pool table. |
DeprecatedAttribute.java | Class | Deprecated_attribute . |
Descriptor.java | Class | A support class for dealing with descriptors. |
DuplicateMemberException.java | Class | An exception thrown when adding a duplicate member is requested. |
EnclosingMethodAttribute.java | Class | EnclosingMethod_attribute . |
ExceptionsAttribute.java | Class | Exceptions_attribute . |
ExceptionTable.java | Class | |
FieldInfo.java | Class | field_info structure. |
InnerClassesAttribute.java | Class | InnerClasses_attribute . |
LineNumberAttribute.java | Class | LineNumberTable_attribute . |
LocalVariableAttribute.java | Class | LocalVariableTable_attribute or
LocalVariableTypeTable_attribute . |
LongVector.java | Class | |
MethodInfo.java | Class | method_info structure. |
Mnemonic.java | Interface | JVM Instruction Names.
This interface has been separated from javassist.bytecode.Opcode
because typical bytecode translators do not use mnemonics. |
Opcode.java | Interface | JVM Instruction Set. |
ParameterAnnotationsAttribute.java | Class | A class representing RuntimeVisibleAnnotations_attribute and
RuntimeInvisibleAnnotations_attribute .
To obtain an ParameterAnnotationAttribute object, invoke
getAttribute(ParameterAnnotationsAttribute.invisibleTag)
in MethodInfo .
The obtained attribute is a
runtime invisible annotations attribute. |
SignatureAttribute.java | Class | Signature_attribute . |
SourceFileAttribute.java | Class | SourceFile_attribute . |
StackMapTable.java | Class | stack_map attribute. |
SyntheticAttribute.java | Class | Synthetic_attribute . |