Package org.apache.bcel.generic
Class ElementValuePairGen
- java.lang.Object
-
- org.apache.bcel.generic.ElementValuePairGen
-
public class ElementValuePairGen extends Object
- Since:
- 6.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedElementValuePairGen(int idx, ElementValueGen value, ConstantPoolGen cpool)ElementValuePairGen(String name, ElementValueGen value, ConstantPoolGen cpool)ElementValuePairGen(ElementValuePair nvp, ConstantPoolGen cpool, boolean copyPoolEntries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddump(DataOutputStream dos)ElementValuePairgetElementNameValuePair()Retrieve an immutable version of this ElementNameValuePairGenintgetNameIndex()StringgetNameString()ElementValueGengetValue()StringtoString()
-
-
-
Constructor Detail
-
ElementValuePairGen
public ElementValuePairGen(ElementValuePair nvp, ConstantPoolGen cpool, boolean copyPoolEntries)
-
ElementValuePairGen
protected ElementValuePairGen(int idx, ElementValueGen value, ConstantPoolGen cpool)
-
ElementValuePairGen
public ElementValuePairGen(String name, ElementValueGen value, ConstantPoolGen cpool)
-
-
Method Detail
-
getElementNameValuePair
public ElementValuePair getElementNameValuePair()
Retrieve an immutable version of this ElementNameValuePairGen
-
dump
protected void dump(DataOutputStream dos) throws IOException
- Throws:
IOException
-
getNameIndex
public int getNameIndex()
-
getNameString
public final String getNameString()
-
getValue
public final ElementValueGen getValue()
-
-