站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

PrimitiveElementValue (Classfile Reader) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.classfile/1 1.19

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.19

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.