org.netbeans.modules.classfile/1 1.35

org.netbeans.modules.classfile
Class PrimitiveElementValue

java.lang.Object
  extended by org.netbeans.modules.classfile.ElementValue
      extended by org.netbeans.modules.classfile.PrimitiveElementValue

public final class PrimitiveElementValue
extends ElementValue

A PrimitiveElementValue is the value portion of an annotation component that has a primitive type or String constant. Its value is a constant pool entry of the same type as the primitive; for example, an int constant would have a value of type CPIntegerInfo.


Method Summary
 CPEntry getValue()
          Returns the value of this component, as a constant pool entry.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getValue

public final CPEntry getValue()
Returns the value of this component, as a constant pool entry.


toString

public String toString()
Overrides:
toString in class Object

org.netbeans.modules.classfile/1 1.35

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.