public class SourceFileAttribute extends Attribute
NONE
Constructor and Description |
---|
SourceFileAttribute(CPUTF8 name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
protected int |
getLength() |
protected ClassFileEntry[] |
getNestedClassFileEntries() |
int |
hashCode() |
boolean |
isSourceFileAttribute()
Answer true if the receiver is a source file attribute (which gets special handling when the class is built);
otherwise answer false.
|
protected void |
resolve(ClassConstantPool pool)
Allows the constant pool entries to resolve their nested entries.
|
static void |
setAttributeName(CPUTF8 cpUTF8Value) |
java.lang.String |
toString() |
protected void |
writeBody(java.io.DataOutputStream dos) |
doWrite, getAttributeName, getLengthIncludingHeader, hasBCIRenumbering
objectHashCode, write
public SourceFileAttribute(CPUTF8 name)
public static void setAttributeName(CPUTF8 cpUTF8Value)
public boolean isSourceFileAttribute()
Attribute
isSourceFileAttribute
in class Attribute
protected ClassFileEntry[] getNestedClassFileEntries()
getNestedClassFileEntries
in class Attribute
protected void resolve(ClassConstantPool pool)
ClassFileEntry
public java.lang.String toString()
toString
in class ClassFileEntry