# Uses of Class
javassist.bytecode.AttributeInfo

Packages that use AttributeInfo
Package
Description
javassist.bytecode
Bytecode-level API.

## Uses of AttributeInfo in javassist.bytecode

Subclasses of AttributeInfo in javassist.bytecode
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`
`NestHostAttribute`
`NestHost_attribute`.
`class`
`NestMembersAttribute`
`NestMembers_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.
Methods in javassist.bytecode that return AttributeInfo
Modifier and Type
Method
Description
`AttributeInfo`
AnnotationDefaultAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Copies this attribute and returns a new copy.
`AttributeInfo`
AnnotationsAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Copies this attribute and returns a new copy.
`AttributeInfo`
AttributeInfo.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
BootstrapMethodsAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
CodeAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
ConstantAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
DeprecatedAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
EnclosingMethodAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
ExceptionsAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
InnerClassesAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
LineNumberAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
LocalVariableAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
MethodParametersAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
NestHostAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
NestMembersAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
ParameterAnnotationsAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Copies this attribute and returns a new copy.
`AttributeInfo`
SignatureAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
SourceFileAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
StackMap.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
StackMapTable.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
SyntheticAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Makes a copy.
`AttributeInfo`
TypeAnnotationsAttribute.`copy(ConstPool newCp, Map<String,String> classnames)`
Copies this attribute and returns a new copy.
`AttributeInfo`
ClassFile.`getAttribute(String name)`
Returns the attribute with the specified name.
`AttributeInfo`
CodeAttribute.`getAttribute(String name)`
Returns the attribute with the specified name.
`AttributeInfo`
FieldInfo.`getAttribute(String name)`
Returns the attribute with the specified name.
`AttributeInfo`
MethodInfo.`getAttribute(String name)`
Returns the attribute with the specified name.
`AttributeInfo`
ClassFile.`removeAttribute(String name)`
Removes an attribute with the specified name.
`AttributeInfo`
FieldInfo.`removeAttribute(String name)`
Removes an attribute with the specified name.
`AttributeInfo`
MethodInfo.`removeAttribute(String name)`
Removes an attribute with the specified name.
Methods in javassist.bytecode that return types with arguments of type AttributeInfo
Modifier and Type
Method
Description
`List<AttributeInfo>`
ClassFile.`getAttributes()`
Returns all the attributes.
`List<AttributeInfo>`
CodeAttribute.`getAttributes()`
Returns `attributes[]`.
`List<AttributeInfo>`
FieldInfo.`getAttributes()`
Returns all the attributes.
`List<AttributeInfo>`
MethodInfo.`getAttributes()`
Returns all the attributes.
Methods in javassist.bytecode with parameters of type AttributeInfo
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.