- All Superinterfaces:
AnnotationConstantValueEntry,ClassfileElement,ConstantValueEntry,LoadableConstantEntry,PoolEntry,WritableElement<PoolEntry>
- All Known Implementing Classes:
AbstractPoolEntry.LongEntryImpl
public sealed interface LongEntry
extends AnnotationConstantValueEntry, ConstantValueEntry
permits AbstractPoolEntry.LongEntryImpl
Models a
CONSTANT_Long_info constant in the constant pool of a
classfile.-
Method Summary
Methods inherited from interface org.glavo.classfile.constantpool.AnnotationConstantValueEntry
constantValueMethods inherited from interface org.glavo.classfile.constantpool.ConstantValueEntry
constantValueMethods inherited from interface org.glavo.classfile.constantpool.PoolEntry
constantPool, index, tag, widthMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
longValue
long longValue()Returns the long value.- Returns:
- the long value
-
typeKind
Returns the type of the constant.- Specified by:
typeKindin interfaceLoadableConstantEntry- Returns:
- the type of the constant
-