Interface IAttribute
- All Known Implementing Classes:
EclipseAttributeAdapter
public interface IAttribute
Represents an Attribute for a Java .class file.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getAllBytes
(short nameIndex, ConstantPool constantPool) char[]
Returns the name of the attribute.
-
Method Details
-
getNameChars
char[] getNameChars()Returns the name of the attribute. -
getAllBytes
- Parameters:
nameIndex
- the index into this class's constant pool for this attribute's name.constantPool
-- Returns:
- all of the bytes to represent this attribute in the .class file.
-