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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected intGets the length.protected ClassFileEntry[]Returns an empty array.inthashCode()booleanAnswer true if the receiver is a source file attribute (which gets special handling when the class is built); otherwise answer false.protected voidresolve(ClassConstantPool pool) Allows the constant pool entries to resolve their nested entries.static voidsetAttributeName(CPUTF8 cpUTF8Value) toString()protected voidWrites this body to the given output stream.Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
doWrite, getAttributeName, getLengthIncludingHeader, hasBCIRenumberingMethods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
Constructor Details
-
SourceFileAttribute
-
-
Method Details
-
setAttributeName
-
equals
-
getLength
Description copied from class:AttributeGets the length. -
getNestedClassFileEntries
Description copied from class:ClassFileEntryReturns an empty array.- Overrides:
getNestedClassFileEntriesin classAttribute- Returns:
- an empty array.
-
hashCode
-
isSourceFileAttribute
Description copied from class:AttributeAnswer true if the receiver is a source file attribute (which gets special handling when the class is built); otherwise answer false.- Overrides:
isSourceFileAttributein classAttribute- Returns:
- boolean source file attribute
-
resolve
Description copied from class:ClassFileEntryAllows the constant pool entries to resolve their nested entries. -
toString
- Specified by:
toStringin classClassFileEntry
-
writeBody
Description copied from class:AttributeWrites this body to the given output stream.- Specified by:
writeBodyin classAttribute- Parameters:
dos- the output stream.- Throws:
IOException- if an I/O error occurs.
-