Package javassist.bytecode
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:
- Tim Lindholm and Frank Yellin, "The Java Virtual Machine Specification 2nd Ed.", Addison-Wesley, 1999.
-
ClassDescriptionA support class providing static methods and constants for access modifiers such as public, private, ...A class representing
AnnotationDefault_attribute.A class representingRuntimeVisibleAnnotations_attributeandRuntimeInvisibleAnnotations_attribute.attribute_infostructure.Signals that a bad bytecode sequence has been found.An element ofbootstrap_methods.A collection of static methods for reading and writing a byte array.A utility class for producing a bytecode sequence.ClassFilerepresents a Java.classfile, which consists of a constant pool, methods, fields, and attributes.A utility class for priting the contents of a class file.A quick class-file writer.This writes attributes.Constant Pool.Field.Method.Code_attribute.An exception that may be thrown bycopy()inCodeAttribute.An iterator for editing a code attribute.An inserted gap.ConstantValue_attribute.Constant pool table.Deprecated_attribute.A support class for dealing with descriptors.An Iterator over a descriptor.An exception thrown when adding a duplicate member is requested.EnclosingMethod_attribute.Exceptions_attribute.exception_table[]ofCode_attribute.field_infostructure.InnerClasses_attribute.Simple utility class for printing the bytecode instructions of a method.LineNumberTable_attribute.Used as a return type oftoNearPc().LocalVariableTable_attribute.LocalVariableTypeTable_attribute.method_infostructure.MethodParameters_attribute.JVM Instruction Names.NestHost_attribute.NestMembers_attribute.JVM Instruction Set.A class representingRuntimeVisibleAnnotations_attributeandRuntimeInvisibleAnnotations_attribute.Signature_attribute.Array types.Primitive types.Class signature.Class types.Method type signature.Nested class types.Class types, array types, and type variables.Primitive types and object types.Type argument.Formal type parameters.Type variables.SourceFile_attribute.Anotherstack_mapattribute defined in CLDC 1.1 for J2ME.A code walker for a StackMap attribute.Internal use only.stack_mapattribute.An exception that may be thrown bycopy()inStackMapTable.A code walker for a StackMapTable attribute.A writer of stack map tables.Synthetic_attribute.A class representingRuntimeVisibleTypeAnnotationsattribute andRuntimeInvisibleTypeAnnotationsattribute.