Class SourceFileAttribute
java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
org.apache.commons.compress.harmony.unpack200.bytecode.SourceFileAttribute
Source file class file attribute
-
Field Summary
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected int
protected ClassFileEntry[]
int
hashCode()
boolean
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) toString()
protected void
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
doWrite, getAttributeName, getLengthIncludingHeader, hasBCIRenumbering
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
Constructor Details
-
SourceFileAttribute
-
-
Method Details
-
setAttributeName
-
equals
-
getLength
-
getNestedClassFileEntries
- Overrides:
getNestedClassFileEntries
in classAttribute
-
hashCode
-
isSourceFileAttribute
Description copied from class:Attribute
Answer true if the receiver is a source file attribute (which gets special handling when the class is built); otherwise answer false.- Overrides:
isSourceFileAttribute
in classAttribute
- Returns:
- boolean source file attribute
-
resolve
Description copied from class:ClassFileEntry
Allows the constant pool entries to resolve their nested entries. -
toString
- Specified by:
toString
in classClassFileEntry
-
writeBody
- Specified by:
writeBody
in classAttribute
- Throws:
IOException
-