- All Superinterfaces:
ClassFileElement,PoolEntry,WritableElement<PoolEntry>
- All Known Implementing Classes:
AbstractPoolEntry.ModuleEntryImpl
Models a
CONSTANT_Module_info constant in the constant pool of a
classfile.- Since:
- 22
- Jvms:
- 4.4.11 The CONSTANT_Module_info Structure
-
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
-
name
Utf8Entry name()Returns the name of the module.- Returns:
- the name of the module
-
asSymbol
ModuleDesc asSymbol()Returns a symbolic descriptor for the module.- Returns:
- a symbolic descriptor for the module
-