Interface IAttribute

All Known Implementing Classes:
EclipseAttributeAdapter

public interface IAttribute
Represents an Attribute for a Java .class file.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    getAllBytes​(short nameIndex, ConstantPool constantPool)
     
    char[]
    Returns the name of the attribute.
  • Method Details

    • getNameChars

      char[] getNameChars()
      Returns the name of the attribute.
    • getAllBytes

      byte[] getAllBytes(short nameIndex, ConstantPool constantPool)
      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.