Module org.glavo.classfile
Package org.glavo.classfile.constantpool
Interface AnnotationConstantValueEntry
- All Superinterfaces:
ClassfileElement,PoolEntry,WritableElement<PoolEntry>
- All Known Subinterfaces:
DoubleEntry,FloatEntry,IntegerEntry,LongEntry,Utf8Entry
- All Known Implementing Classes:
AbstractPoolEntry.DoubleEntryImpl,AbstractPoolEntry.FloatEntryImpl,AbstractPoolEntry.IntegerEntryImpl,AbstractPoolEntry.LongEntryImpl,AbstractPoolEntry.Utf8EntryImpl
public sealed interface AnnotationConstantValueEntry
extends PoolEntry
permits DoubleEntry, FloatEntry, IntegerEntry, LongEntry, Utf8Entry
A constant pool entry that may be used as an annotation constant,
which includes the four kinds of primitive constants, and UTF8 constants.
-
Method Summary
Methods inherited from interface org.glavo.classfile.constantpool.PoolEntry
constantPool, index, tag, widthMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
constantValue
ConstantDesc constantValue()- Returns:
- the constant value
-