Package Summary Overview Summary

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 marker interface for elements that can appear when traversing a `MethodModel`PREVIEW or be presented to a `MethodBuilder`PREVIEW.

Sealed Class Hierarchy Graph:
Since:
  22