- All Superinterfaces:
AnnotationConstantValueEntry,ClassFileElement,ConstantValueEntry,LoadableConstantEntry,PoolEntry,WritableElement<PoolEntry>
- All Known Implementing Classes:
AbstractPoolEntry.IntegerEntryImpl
public sealed interface IntegerEntry
extends AnnotationConstantValueEntry, ConstantValueEntry
permits AbstractPoolEntry.IntegerEntryImpl
Models a
CONSTANT_Integer_info constant in the constant pool of a
classfile.- Since:
- 22
- Jvms:
- 4.4.4 The CONSTANT_Integer_info and CONSTANT_Float_info Structures
-
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
-
intValue
int intValue()Returns the integer value.- Returns:
- the integer value
-
typeKind
Returns the type of the constant.- Specified by:
typeKindin interfaceLoadableConstantEntry- Returns:
- the type of the constant
-