- All Superinterfaces:
ClassfileElement,LoadableConstantEntry,PoolEntry,WritableElement<PoolEntry>
- All Known Implementing Classes:
AbstractPoolEntry.MethodTypeEntryImpl
public sealed interface MethodTypeEntry
extends LoadableConstantEntry
permits AbstractPoolEntry.MethodTypeEntryImpl
Models a
CONSTANT_MethodType_info constant in the constant pool of a
classfile.-
Method Summary
Modifier and TypeMethodDescriptiondefault MethodTypeDescasSymbol()Returns a symbolic descriptor for the method type.default ConstantDescReturns the constant described by this entry.Returns the constant pool entry describing the method type.Methods inherited from interface org.glavo.classfile.constantpool.LoadableConstantEntry
typeKindMethods inherited from interface org.glavo.classfile.constantpool.PoolEntry
constantPool, index, tag, widthMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
constantValue
Description copied from interface:LoadableConstantEntryReturns the constant described by this entry.- Specified by:
constantValuein interfaceLoadableConstantEntry- Returns:
- the constant described by this entry
-
descriptor
Utf8Entry descriptor()Returns the constant pool entry describing the method type.- Returns:
- the constant pool entry describing the method type
-
asSymbol
Returns a symbolic descriptor for the method type.- Returns:
- a symbolic descriptor for the method type
-