APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.bcel.internal.classfile

public Class ElementValuePair

extends Object
Class Inheritance
Imports
java.io.DataOutputStream, .IOException

An annotation's element value pair.
Since
6.0

Field Summary

Modifier and TypeField and Description
private final ConstantPool
private final int
private final ElementValue
pack-priv static final ElementValuePair[]

Constructor Summary

AccessConstructor and Description
public
ElementValuePair(final int elementNameIndex, final ElementValue elementValue, final ConstantPool constantPool)

Method Summary

Modifier and TypeMethod and Description
protected void
public int
public String
public final ElementValue
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

constantPoolback to summary
private final ConstantPool constantPool
elementNameIndexback to summary
private final int elementNameIndex
elementValueback to summary
private final ElementValue elementValue
EMPTY_ARRAYback to summary
pack-priv static final ElementValuePair[] EMPTY_ARRAY

Constructor Detail

ElementValuePairback to summary
public ElementValuePair(final int elementNameIndex, final ElementValue elementValue, final ConstantPool constantPool)

Method Detail

dumpback to summary
protected void dump(final DataOutputStream dos) throws IOException
getNameIndexback to summary
public int getNameIndex()
getNameStringback to summary
public String getNameString()
getValueback to summary
public final ElementValue getValue()
toShortStringback to summary
public String toShortString()