public class SourceFileAttribute extends ClassFileAttribute implements ISourceAttribute
NO_ATTRIBUTES| Constructor and Description |
|---|
SourceFileAttribute(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
Constructor for SourceFileAttribute.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSourceFileIndex()
Answer back the source file index of this attribute.
|
char[] |
getSourceFileName()
Answer back the source file name of this attribute.
|
getAttributeLength, getAttributeName, getAttributeNameIndexdoubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8Atclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeLength, getAttributeName, getAttributeNameIndexpublic SourceFileAttribute(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
throws ClassFormatException
classFileBytes - constantPool - offset - ClassFormatExceptionpublic int getSourceFileIndex()
ISourceAttributegetSourceFileIndex in interface ISourceAttributeISourceAttribute.getSourceFileIndex()public char[] getSourceFileName()
ISourceAttributegetSourceFileName in interface ISourceAttributeISourceAttribute.getSourceFileName()