当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
PrimitiveElementValue (Classfile Reader) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.classfile
Class PrimitiveElementValue
java.lang.Object
org.netbeans.modules.classfile.ElementValue
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.
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