Class ConstantValueAttribute
- 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.ConstantValueAttribute
-
public class ConstantValueAttribute extends Attribute
AnAttribute
representing a constant.
-
-
Field Summary
-
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE
-
-
Constructor Summary
Constructors Constructor Description ConstantValueAttribute(ClassFileEntry entry)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
protected int
getLength()
protected ClassFileEntry[]
getNestedClassFileEntries()
int
hashCode()
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)
-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
doWrite, getAttributeName, getLengthIncludingHeader, hasBCIRenumbering, isSourceFileAttribute
-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
-
-
-
Constructor Detail
-
ConstantValueAttribute
public ConstantValueAttribute(ClassFileEntry entry)
-
-
Method Detail
-
setAttributeName
public static void setAttributeName(CPUTF8 cpUTF8Value)
-
getNestedClassFileEntries
protected ClassFileEntry[] getNestedClassFileEntries()
- Overrides:
getNestedClassFileEntries
in classAttribute
-
resolve
protected void resolve(ClassConstantPool pool)
Description copied from class:ClassFileEntry
Allows the constant pool entries to resolve their nested entries.
-
toString
public java.lang.String toString()
- Specified by:
toString
in classClassFileEntry
-
-