Module java.base
Package java.lang.classfile

# Interface MethodElement

≠
public abstract sealed interface MethodElement
extends java.lang.classfile.ClassFileElement
permits java.lang.classfile.AccessFlags, java.lang.classfile.CodeModel, java.lang.classfile.CustomAttribute<T>, java.lang.classfile.attribute.AnnotationDefaultAttribute, java.lang.classfile.attribute.DeprecatedAttribute, java.lang.classfile.attribute.ExceptionsAttribute, java.lang.classfile.attribute.MethodParametersAttribute, java.lang.classfile.attribute.RuntimeInvisibleAnnotationsAttribute, java.lang.classfile.attribute.RuntimeInvisibleParameterAnnotationsAttribute, java.lang.classfile.attribute.RuntimeInvisibleTypeAnnotationsAttribute, java.lang.classfile.attribute.RuntimeVisibleAnnotationsAttribute, java.lang.classfile.attribute.RuntimeVisibleParameterAnnotationsAttribute, java.lang.classfile.attribute.RuntimeVisibleTypeAnnotationsAttribute, java.lang.classfile.attribute.SignatureAttribute, java.lang.classfile.attribute.SyntheticAttribute, java.lang.classfile.attribute.UnknownAttribute
Comparing master and cf

All Superinterfaces:
  `ClassFileElement`

All Known Subinterfaces:
  `AccessFlags, AnnotationDefaultAttribute, CodeAttribute, CodeModel, DeprecatedAttribute, ExceptionsAttribute, MethodParametersAttribute, RuntimeInvisibleAnnotationsAttribute, RuntimeInvisibleParameterAnnotationsAttribute, RuntimeInvisibleTypeAnnotationsAttribute, RuntimeVisibleAnnotationsAttribute, RuntimeVisibleParameterAnnotationsAttribute, RuntimeVisibleTypeAnnotationsAttribute, SignatureAttribute, SyntheticAttribute, UnknownAttribute`

All Known Implementing Classes:
  `CustomAttribute`

public sealed interface MethodElement extends ClassFileElement permits AccessFlags, CodeModel, CustomAttribute<T>, AnnotationDefaultAttribute, DeprecatedAttribute, ExceptionsAttribute, MethodParametersAttribute, RuntimeInvisibleAnnotationsAttribute, RuntimeInvisibleParameterAnnotationsAttribute, RuntimeInvisibleTypeAnnotationsAttribute, RuntimeVisibleAnnotationsAttribute, RuntimeVisibleParameterAnnotationsAttribute, RuntimeVisibleTypeAnnotationsAttribute, SignatureAttribute, SyntheticAttribute, UnknownAttribute
A marker Marker interface for elements that a member element of a `MethodModel` . Such an element can appear when traversing a `MethodModel` or be presented unless otherwise specified, be supplied to a `MethodBuilder` , and be processed by a `MethodTransform` .

Moved to a paragraph. `AccessFlags` is the only member element of a method that appear exactly once during the traversal of a `MethodModel` .

Sealed Class Hierarchy Graph:
Since:
  24
See Also:
  Moved to a definition list with class notes.Moved to a definition.Moved to an unordered list with class tag-list.
  - Membership Elements
  - `ClassElement`
  - `FieldElement`
  - `CodeElement`

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
MethodElement |  |  |  |  |  |  | 9 | 4 |  | 13
Total |  |  |  |  |  |  | 9 | 4 |  | 13