Package org.apache.bcel.generic
Class ElementValuePairGen
- java.lang.Object
-
- org.apache.bcel.generic.ElementValuePairGen
-
public class ElementValuePairGen extends java.lang.Object
- Since:
- 6.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ElementValuePairGen(int idx, ElementValueGen value, ConstantPoolGen cpool)
ElementValuePairGen(java.lang.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 void
dump(java.io.DataOutputStream dos)
ElementValuePair
getElementNameValuePair()
Retrieve an immutable version of this ElementNameValuePairGenint
getNameIndex()
java.lang.String
getNameString()
ElementValueGen
getValue()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ElementValuePairGen
public ElementValuePairGen(ElementValuePair nvp, ConstantPoolGen cpool, boolean copyPoolEntries)
-
ElementValuePairGen
protected ElementValuePairGen(int idx, ElementValueGen value, ConstantPoolGen cpool)
-
ElementValuePairGen
public ElementValuePairGen(java.lang.String name, ElementValueGen value, ConstantPoolGen cpool)
-
-
Method Detail
-
getElementNameValuePair
public ElementValuePair getElementNameValuePair()
Retrieve an immutable version of this ElementNameValuePairGen
-
dump
protected void dump(java.io.DataOutputStream dos) throws java.io.IOException
- Throws:
java.io.IOException
-
getNameIndex
public int getNameIndex()
-
getNameString
public final java.lang.String getNameString()
-
getValue
public final ElementValueGen getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-