Top Description Interfaces Classes
[default module]

Package 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:

Interface Summary

Modifier and TypeInterface and Description
public interface
Mnemonic

JVM Instruction Names.

public interface
Opcode

JVM Instruction Set.

Class Summary

Modifier and TypeClass and Description
public class
AccessFlag

A support class providing static methods and constants for access modifiers such as public, private, ...

public class
AnnotationDefaultAttribute

A class representing AnnotationDefault_attribute.

public class
AnnotationsAttribute

A class representing RuntimeVisibleAnnotations_attribute and RuntimeInvisibleAnnotations_attribute.

public class
AttributeInfo

attribute_info structure.

public class
BadBytecode

Signals that a bad bytecode sequence has been found.

public class
public class
ByteArray

A collection of static methods for reading and writing a byte array.

public class
Bytecode

A utility class for producing a bytecode sequence.

pack-priv class
pack-priv class
public class
ClassFile

ClassFile represents a Java .class file, which consists of a constant pool, methods, fields, and attributes.

public class
ClassFilePrinter

A utility class for priting the contents of a class file.

public class
ClassFileWriter

A quick class-file writer.

pack-priv class
pack-priv class
CodeAnalyzer

Utility for computing max_stack.

public class
CodeAttribute

Code_attribute.

public class
CodeIterator

An iterator for editing a code attribute.

public class
ConstantAttribute

ConstantValue_attribute.

pack-priv abstract class
pack-priv class
public class
ConstPool

Constant pool table.

public class
DeprecatedAttribute

Deprecated_attribute.

public class
Descriptor

A support class for dealing with descriptors.

pack-priv class
public class
DuplicateMemberException

An exception thrown when adding a duplicate member is requested.

pack-priv class
public class
EnclosingMethodAttribute

EnclosingMethod_attribute.

public class
ExceptionsAttribute

Exceptions_attribute.

public class
ExceptionTable

exception_table[] of Code_attribute.

pack-priv class
public class
FieldInfo

field_info structure.

pack-priv class
pack-priv class
public class
InnerClassesAttribute

InnerClasses_attribute.

public class
InstructionPrinter

Simple utility class for printing the bytecode instructions of a method.

pack-priv class
pack-priv class
pack-priv class
public class
LineNumberAttribute

LineNumberTable_attribute.

public class
LocalVariableAttribute

LocalVariableTable_attribute.

public class
LocalVariableTypeAttribute

LocalVariableTypeTable_attribute.

pack-priv class
pack-priv class
pack-priv abstract class
pack-priv class
public class
MethodInfo

method_info structure.

public class
MethodParametersAttribute

MethodParameters_attribute.

pack-priv class
pack-priv class
pack-priv class
pack-priv class
public class
NestHostAttribute

NestHost_attribute.

public class
NestMembersAttribute

NestMembers_attribute.

pack-priv class
public class
ParameterAnnotationsAttribute

A class representing RuntimeVisibleAnnotations_attribute and RuntimeInvisibleAnnotations_attribute.

public class
SignatureAttribute

Signature_attribute.

public class
SourceFileAttribute

SourceFile_attribute.

public class
StackMap

Another stack_map attribute defined in CLDC 1.1 for J2ME.

public class
StackMapTable

stack_map attribute.

pack-priv class
public class
SyntheticAttribute

Synthetic_attribute.

public class
TypeAnnotationsAttribute

A class representing RuntimeVisibleTypeAnnotations attribute and RuntimeInvisibleTypeAnnotations attribute.

pack-priv class