Top Fields Constructors Methods
org.apache.bcel.generic

public Class ElementValuePairGen

extends Object
Class Inheritance
Imports
java.io.DataOutputStream, .IOException, org.apache.bcel.classfile.ConstantUtf8, .ElementValue, .ElementValuePair

Since
6.0

Field Summary

Modifier and TypeField and Description
private final ConstantPoolGen
private final int
private final ElementValueGen

Constructor Summary

AccessConstructor and Description
public
ElementValuePairGen(final ElementValuePair nvp, final ConstantPoolGen cpool, final boolean copyPoolEntries)

protected
ElementValuePairGen(final int idx, final ElementValueGen value, final ConstantPoolGen cpool)

public
ElementValuePairGen(final String name, final ElementValueGen value, final ConstantPoolGen cpool)

Method Summary

Modifier and TypeMethod and Description
protected void
public ElementValuePair
getElementNameValuePair()

Retrieve an immutable version of this ElementNameValuePairGen

public int
public final String
public final ElementValueGen
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

constantPoolGenback to summary
private final ConstantPoolGen constantPoolGen
nameIdxback to summary
private final int nameIdx
valueback to summary
private final ElementValueGen value

Constructor Detail

ElementValuePairGenback to summary
public ElementValuePairGen(final ElementValuePair nvp, final ConstantPoolGen cpool, final boolean copyPoolEntries)
ElementValuePairGenback to summary
protected ElementValuePairGen(final int idx, final ElementValueGen value, final ConstantPoolGen cpool)
ElementValuePairGenback to summary
public ElementValuePairGen(final String name, final ElementValueGen value, final ConstantPoolGen cpool)

Method Detail

dumpback to summary
protected void dump(final DataOutputStream dos) throws IOException
getElementNameValuePairback to summary
public ElementValuePair getElementNameValuePair()

Retrieve an immutable version of this ElementNameValuePairGen

getNameIndexback to summary
public int getNameIndex()
getNameStringback to summary
public final String getNameString()
getValueback to summary
public final ElementValueGen getValue()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override