public class SourceFileAttribute extends Attribute
NONE| Constructor and Description |
|---|
SourceFileAttribute(CPUTF8 name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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) |
String |
toString() |
protected void |
writeBody(DataOutputStream dos) |
doWrite, getAttributeName, getLengthIncludingHeader, hasBCIRenumberingobjectHashCode, writepublic SourceFileAttribute(CPUTF8 name)
public static void setAttributeName(CPUTF8 cpUTF8Value)
public boolean isSourceFileAttribute()
AttributeisSourceFileAttribute in class Attributeprotected ClassFileEntry[] getNestedClassFileEntries()
getNestedClassFileEntries in class Attributeprotected void resolve(ClassConstantPool pool)
ClassFileEntrypublic String toString()
toString in class ClassFileEntryprotected void writeBody(DataOutputStream dos) throws IOException
writeBody in class AttributeIOExceptionCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.