public class ElementValuePairGen
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ConstantPoolGen |
cpool |
private int |
nameIdx |
private ElementValueGen |
value |
Modifier | Constructor and Description |
---|---|
|
ElementValuePairGen(ElementValuePair nvp,
ConstantPoolGen cpool,
boolean copyPoolEntries) |
protected |
ElementValuePairGen(int idx,
ElementValueGen value,
ConstantPoolGen cpool) |
|
ElementValuePairGen(java.lang.String name,
ElementValueGen value,
ConstantPoolGen cpool) |
Modifier and Type | Method and Description |
---|---|
protected void |
dump(java.io.DataOutputStream dos) |
ElementValuePair |
getElementNameValuePair()
Retrieve an immutable version of this ElementNameValuePairGen
|
int |
getNameIndex() |
java.lang.String |
getNameString() |
ElementValueGen |
getValue() |
java.lang.String |
toString() |
private int nameIdx
private ElementValueGen value
private ConstantPoolGen cpool
public ElementValuePairGen(ElementValuePair nvp, ConstantPoolGen cpool, boolean copyPoolEntries)
protected ElementValuePairGen(int idx, ElementValueGen value, ConstantPoolGen cpool)
public ElementValuePairGen(java.lang.String name, ElementValueGen value, ConstantPoolGen cpool)
public ElementValuePair getElementNameValuePair()
protected void dump(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public int getNameIndex()
public final java.lang.String getNameString()
public final ElementValueGen getValue()
public java.lang.String toString()
toString
in class java.lang.Object