Interface MethodElement
- All Superinterfaces:
ClassFileElementPREVIEW
- All Known Subinterfaces:
AccessFlagsPREVIEW
,AnnotationDefaultAttributePREVIEW
,CodeAttributePREVIEW
,CodeModelPREVIEW
,DeprecatedAttributePREVIEW
,ExceptionsAttributePREVIEW
,MethodParametersAttributePREVIEW
,RuntimeInvisibleAnnotationsAttributePREVIEW
,RuntimeInvisibleParameterAnnotationsAttributePREVIEW
,RuntimeInvisibleTypeAnnotationsAttributePREVIEW
,RuntimeVisibleAnnotationsAttributePREVIEW
,RuntimeVisibleParameterAnnotationsAttributePREVIEW
,RuntimeVisibleTypeAnnotationsAttributePREVIEW
,SignatureAttributePREVIEW
,SyntheticAttributePREVIEW
,UnknownAttributePREVIEW
- All Known Implementing Classes:
CustomAttributePREVIEW
public sealed interface MethodElement
extends ClassFileElementPREVIEW
permits AccessFlagsPREVIEW, CodeModelPREVIEW, CustomAttributePREVIEW<T>, AnnotationDefaultAttributePREVIEW, DeprecatedAttributePREVIEW, ExceptionsAttributePREVIEW, MethodParametersAttributePREVIEW, RuntimeInvisibleAnnotationsAttributePREVIEW, RuntimeInvisibleParameterAnnotationsAttributePREVIEW, RuntimeInvisibleTypeAnnotationsAttributePREVIEW, RuntimeVisibleAnnotationsAttributePREVIEW, RuntimeVisibleParameterAnnotationsAttributePREVIEW, RuntimeVisibleTypeAnnotationsAttributePREVIEW, SignatureAttributePREVIEW, SyntheticAttributePREVIEW, UnknownAttributePREVIEW
MethodElement
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.
A marker interface for elements that can appear when traversing
a
MethodModel
PREVIEW or be presented to a MethodBuilder
PREVIEW.- Since:
- 22
MethodElement
when preview features are enabled.