Module org.glavo.classfile
Package org.glavo.classfile.constantpool
Interface DynamicConstantPoolEntry
- All Superinterfaces:
ClassfileElement,PoolEntry,WritableElement<PoolEntry>
- All Known Subinterfaces:
ConstantDynamicEntry,InvokeDynamicEntry
- All Known Implementing Classes:
AbstractPoolEntry.ConstantDynamicEntryImpl,AbstractPoolEntry.InvokeDynamicEntryImpl
public sealed interface DynamicConstantPoolEntry
extends PoolEntry
permits ConstantDynamicEntry, InvokeDynamicEntry
Models a dynamic constant pool entry, which is either
ConstantDynamicEntry
or InvokeDynamicEntry.-
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
-
bootstrap
BootstrapMethodEntry bootstrap()Returns the entry in the bootstrap method table for this constant.- Returns:
- the entry in the bootstrap method table for this constant
-
nameAndType
NameAndTypeEntry nameAndType()Returns the invocation name and type.- Returns:
- the invocation name and type
-
name
Returns the invocation name.- Returns:
- the invocation name
-
type
Returns the invocation type.- Returns:
- the invocation type
-