public class ConstantValueAttribute extends Attribute
Attribute
representing a constant.NONE
Constructor and Description |
---|
ConstantValueAttribute(ClassFileEntry entry) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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) |
String |
toString() |
protected void |
writeBody(DataOutputStream dos) |
doWrite, getAttributeName, getLengthIncludingHeader, hasBCIRenumbering, isSourceFileAttribute
objectHashCode, write
public ConstantValueAttribute(ClassFileEntry entry)
public static void setAttributeName(CPUTF8 cpUTF8Value)
protected ClassFileEntry[] getNestedClassFileEntries()
getNestedClassFileEntries
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–2020 The Apache Software Foundation. All rights reserved.