Interface InterfaceMethodRefEntry
- All Superinterfaces:
ClassFileElementPREVIEW,MemberRefEntryPREVIEW,PoolEntryPREVIEW,WritableElementPREVIEW<PoolEntryPREVIEW>
InterfaceMethodRefEntry is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models a
CONSTANT_InterfaceMethodRef_info constant in the constant pool of a
classfile.- See Java Virtual Machine Specification:
-
4.4.2 The CONSTANT_Fieldref_info, CONSTANT_Methodref_info, and CONSTANT_InterfaceMethodref_info Structures
- Since:
- 22
-
Method Summary
Modifier and TypeMethodDescriptiondefault MethodTypeDescReturns a symbolic descriptor for the interface method's type.Methods declared in interface java.lang.classfile.constantpool.MemberRefEntryPREVIEW
name, nameAndType, owner, typeMethods declared in interface java.lang.classfile.constantpool.PoolEntryPREVIEW
constantPool, index, tag, widthMethods declared in interface java.lang.classfile.WritableElementPREVIEW
writeTo
-
Method Details
-
typeSymbol
Returns a symbolic descriptor for the interface method's type.- Returns:
- a symbolic descriptor for the interface method's type
-
InterfaceMethodRefEntrywhen preview features are enabled.