Module java.base
Package java.lang.classfilePREVIEW

# 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.
Programs can only use `MethodElement` when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A `ClassFileElement`PREVIEW that can appear when traversing the elements of a `MethodModel`PREVIEW or be presented to a `MethodBuilder`PREVIEW.

Since:
  22