org.apache.bcel.generic

Class ElementValuePairGen

public class ElementValuePairGen extends Object

Constructor Summary
ElementValuePairGen(ElementValuePair nvp, ConstantPoolGen cpool, boolean copyPoolEntries)
protected ElementValuePairGen(int idx, ElementValueGen value, ConstantPoolGen cpool)
ElementValuePairGen(String name, ElementValueGen value, ConstantPoolGen cpool)
Method Summary
protected voiddump(DataOutputStream dos)
ElementValuePairgetElementNameValuePair()
Retrieve an immutable version of this ElementNameValuePairGen
intgetNameIndex()
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

dump

protected void dump(DataOutputStream dos)

getElementNameValuePair

public ElementValuePair getElementNameValuePair()
Retrieve an immutable version of this ElementNameValuePairGen

getNameIndex

public int getNameIndex()

getNameString

public final String getNameString()

getValue

public final ElementValueGen getValue()

toString

public String toString()
Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.