org.apache.bcel.classfile
Class ElementValuePair

java.lang.Object
  extended by org.apache.bcel.classfile.ElementValuePair

public class ElementValuePair
extends java.lang.Object

an annotation's element value pair

Since:
5.3
Version:
$Id: ElementValuePair
Author:
D. Brosius

Constructor Summary
ElementValuePair(int elementNameIndex, ElementValue elementValue, ConstantPool constantPool)
           
 
Method Summary
protected  void dump(java.io.DataOutputStream dos)
           
 int getNameIndex()
           
 java.lang.String getNameString()
           
 ElementValue getValue()
           
 java.lang.String toShortString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementValuePair

public ElementValuePair(int elementNameIndex,
                        ElementValue elementValue,
                        ConstantPool constantPool)
Method Detail

getNameString

public java.lang.String getNameString()

getValue

public final ElementValue getValue()

getNameIndex

public int getNameIndex()

toShortString

public java.lang.String toShortString()

dump

protected void dump(java.io.DataOutputStream dos)
             throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.