Class SourceDebugExtensionAttr
java.lang.Object
org.openjdk.asmtools.jasm.AttrData
org.openjdk.asmtools.jasm.SourceDebugExtensionAttr
- All Implemented Interfaces:
ConstantPoolDataVisitor, DataWriter
SourceDebugExtension_attribute {
u2 attribute_name_index;
u4 attribute_length;
u1 debug_extension[attribute_length];
The debug_extension array holds extended debugging information which has no semantic effect on the JVM.
The information is represented using a modified UTF-8 string (ยง4.4.7) with no terminating zero byte.
}
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) SourceDebugExtensionAttr.Type(package private) StringBuilder -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AttrData
classifyConstCell, getAttribute, getLength, visitMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConstantPoolDataVisitor
visitConstCell, visitDataMethods inherited from interface DataWriter
isCountable
-
Field Details
-
utf8DebugExtension
StringBuilder utf8DebugExtension -
byteDebugExtension
-
type
-
-
Constructor Details
-
SourceDebugExtensionAttr
SourceDebugExtensionAttr(ConstantPool pool)
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
append
- Throws:
IllegalArgumentException
-
append
public void append(int value) -
attrLength
public int attrLength()- Overrides:
attrLengthin classAttrData
-
write
- Specified by:
writein interfaceDataWriter- Overrides:
writein classAttrData- Throws:
IOException
-