-
- All Implemented Interfaces:
public final class UnknownAttribute extends AttributeInfo
The class file can contain non-standard attributes that can be read, but that are not interpreted.
-
-
Field Summary
Fields Modifier and Type Field Description private ByteArrayinfoprivate final IntegerbyteArrayLengthprivate IntegerattributeNameIndexprivate final Stringname
-
Constructor Summary
Constructors Constructor Description UnknownAttribute(Integer byteArrayLength, ClassFile classFile)
-
Method Summary
Modifier and Type Method Description final ByteArraygetInfo()Raw bytes of the unknown attribute. final UnitsetInfo(ByteArray info)Raw bytes of the unknown attribute. final IntegergetByteArrayLength()Length of the unknown attribute. IntegergetAttributeLength()Get the length of this attribute in bytes. -
Methods inherited from class org.gjt.jclasslib.structures.AttributeInfo
getAttributeNameIndex, getName, setAttributeNameIndex -
Methods inherited from class org.gjt.jclasslib.structures.Structure
read, write -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getByteArrayLength
final Integer getByteArrayLength()
Length of the unknown attribute.
-
getAttributeLength
Integer getAttributeLength()
Get the length of this attribute in bytes.
-
-
-
-