Package | Description |
---|---|
javassist.bytecode |
Bytecode-level API.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AnnotationDefaultAttribute |
A class representing
AnnotationDefault_attribute . |
class |
AnnotationsAttribute |
A class representing
RuntimeVisibleAnnotations_attribute and
RuntimeInvisibleAnnotations_attribute . |
class |
BootstrapMethodsAttribute |
|
class |
CodeAttribute |
Code_attribute . |
class |
ConstantAttribute |
ConstantValue_attribute . |
class |
DeprecatedAttribute |
Deprecated_attribute . |
class |
EnclosingMethodAttribute |
EnclosingMethod_attribute . |
class |
ExceptionsAttribute |
Exceptions_attribute . |
class |
InnerClassesAttribute |
InnerClasses_attribute . |
class |
LineNumberAttribute |
LineNumberTable_attribute . |
class |
LocalVariableAttribute |
LocalVariableTable_attribute . |
class |
LocalVariableTypeAttribute |
LocalVariableTypeTable_attribute . |
class |
MethodParametersAttribute |
MethodParameters_attribute . |
class |
ParameterAnnotationsAttribute |
A class representing
RuntimeVisibleAnnotations_attribute and
RuntimeInvisibleAnnotations_attribute . |
class |
SignatureAttribute |
Signature_attribute . |
class |
SourceFileAttribute |
SourceFile_attribute . |
class |
StackMap |
Another
stack_map attribute defined in CLDC 1.1 for J2ME. |
class |
StackMapTable |
stack_map attribute. |
class |
SyntheticAttribute |
Synthetic_attribute . |
class |
TypeAnnotationsAttribute |
A class representing
RuntimeVisibleTypeAnnotations attribute and
RuntimeInvisibleTypeAnnotations attribute. |
Modifier and Type | Method | Description |
---|---|---|
AttributeInfo |
AnnotationDefaultAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Copies this attribute and returns a new copy.
|
AttributeInfo |
AnnotationsAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Copies this attribute and returns a new copy.
|
AttributeInfo |
AttributeInfo.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
BootstrapMethodsAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
CodeAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
ConstantAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
DeprecatedAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
EnclosingMethodAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
ExceptionsAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
InnerClassesAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
LineNumberAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
LocalVariableAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
MethodParametersAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
ParameterAnnotationsAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Copies this attribute and returns a new copy.
|
AttributeInfo |
SignatureAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
SourceFileAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
StackMap.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
StackMapTable.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
SyntheticAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
AttributeInfo |
TypeAnnotationsAttribute.copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Copies this attribute and returns a new copy.
|
AttributeInfo |
ClassFile.getAttribute(java.lang.String name) |
Returns the attribute with the specified name.
|
AttributeInfo |
CodeAttribute.getAttribute(java.lang.String name) |
Returns the attribute with the specified name.
|
AttributeInfo |
FieldInfo.getAttribute(java.lang.String name) |
Returns the attribute with the specified name.
|
AttributeInfo |
MethodInfo.getAttribute(java.lang.String name) |
Returns the attribute with the specified name.
|
AttributeInfo |
ClassFile.removeAttribute(java.lang.String name) |
Removes an attribute with the specified name.
|
AttributeInfo |
FieldInfo.removeAttribute(java.lang.String name) |
Removes an attribute with the specified name.
|
AttributeInfo |
MethodInfo.removeAttribute(java.lang.String name) |
Removes an attribute with the specified name.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<AttributeInfo> |
ClassFile.getAttributes() |
Returns all the attributes.
|
java.util.List<AttributeInfo> |
CodeAttribute.getAttributes() |
Returns
attributes[] . |
java.util.List<AttributeInfo> |
FieldInfo.getAttributes() |
Returns all the attributes.
|
java.util.List<AttributeInfo> |
MethodInfo.getAttributes() |
Returns all the attributes.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ClassFile.addAttribute(AttributeInfo info) |
Appends an attribute.
|
void |
FieldInfo.addAttribute(AttributeInfo info) |
Appends an attribute.
|
void |
MethodInfo.addAttribute(AttributeInfo info) |
Appends an attribute.
|
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.