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, hasBCIRenumbering
objectHashCode, write
public SourceFileAttribute(CPUTF8 name)
public static void setAttributeName(CPUTF8 cpUTF8Value)
protected ClassFileEntry[] getNestedClassFileEntries()
getNestedClassFileEntries
in class Attribute
public boolean isSourceFileAttribute()
Attribute
isSourceFileAttribute
in class Attribute
protected void resolve(ClassConstantPool pool)
ClassFileEntry
public String toString()
toString
in class ClassFileEntry
protected void writeBody(DataOutputStream dos) throws IOException
writeBody
in class Attribute
IOException
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.