|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavassist.bytecode.AttributeInfo
javassist.bytecode.ConstantAttribute
public class ConstantAttribute
ConstantValue_attribute.
| Field Summary | |
|---|---|
static java.lang.String |
tag
The name of this attribute "ConstantValue". |
| Fields inherited from class javassist.bytecode.AttributeInfo |
|---|
constPool |
| Constructor Summary | |
|---|---|
ConstantAttribute(ConstPool cp,
int index)
Constructs a ConstantValue attribute. |
|
| Method Summary | |
|---|---|
AttributeInfo |
copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
int |
getConstantValue()
Returns constantvalue_index. |
| Methods inherited from class javassist.bytecode.AttributeInfo |
|---|
get, getConstPool, getName, length, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String tag
"ConstantValue".
| Constructor Detail |
|---|
public ConstantAttribute(ConstPool cp,
int index)
cp - a constant pool table.index - constantvalue_index
of ConstantValue_attribute.| Method Detail |
|---|
public int getConstantValue()
constantvalue_index.
public AttributeInfo copy(ConstPool newCp,
java.util.Map classnames)
Map object.
copy in class AttributeInfonewCp - the constant pool table used by the new copy.classnames - pairs of replaced and substituted
class names.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||