Package org.openjdk.asmtools.jasm
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 org.openjdk.asmtools.jasm.AttrData
classifyConstCell, getLength, visit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openjdk.asmtools.jasm.ConstantPoolDataVisitor
visitConstCell, visitData
-
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:
attrLength
in classAttrData
-
write
- Specified by:
write
in interfaceDataWriter
- Overrides:
write
in classAttrData
- Throws:
IOException
-