|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgnu.bytecode.Attribute
gnu.bytecode.SourceDebugExtAttr
public class SourceDebugExtAttr
Represents the contents of a JSR-45 "SourceDebugExtension" attribute. We only support generating a single "stratum".
| Constructor Summary | |
|---|---|
SourceDebugExtAttr(ClassType cl)
Add a new InnerClassesAttr to a ClassType. |
|
| Method Summary | |
|---|---|
void |
addStratum(java.lang.String name)
|
void |
assignConstants(ClassType cl)
Add any needed constant pool entries for this Attribute. |
int |
getLength()
Return the length of the attribute in bytes. |
void |
print(ClassTypeWriter dst)
|
void |
write(java.io.DataOutputStream dstr)
Write out the contents of the Attribute. |
| Methods inherited from class gnu.bytecode.Attribute |
|---|
addToFrontOf, assignConstants, count, get, getContainer, getLengthAll, getName, getNameIndex, getNext, isSkipped, setContainer, setName, setNameIndex, setNext, setSkipped, setSkipped, writeAll |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SourceDebugExtAttr(ClassType cl)
| Method Detail |
|---|
public void addStratum(java.lang.String name)
public void assignConstants(ClassType cl)
Attribute
assignConstants in class Attributepublic int getLength()
getLength in class Attribute
public void write(java.io.DataOutputStream dstr)
throws java.io.IOException
write in class Attributejava.io.IOExceptionpublic void print(ClassTypeWriter dst)
print in class Attribute
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||