Интерфейс MethodElement
- Все суперинтерфейсы:
ClassFileElement
- Все известные подинтерфейсы:
-
AccessFlags,AnnotationDefaultAttribute,CodeAttribute,CodeModel,DeprecatedAttribute,ExceptionsAttribute,MethodParametersAttribute,RuntimeInvisibleAnnotationsAttribute,RuntimeInvisibleParameterAnnotationsAttribute,RuntimeInvisibleTypeAnnotationsAttribute,RuntimeVisibleAnnotationsAttribute,RuntimeVisibleParameterAnnotationsAttribute,RuntimeVisibleTypeAnnotationsAttribute,SignatureAttribute,SyntheticAttribute,UnknownAttribute
- Все известные реализующие классы:
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
Маркерный интерфейс для элемента члена
MethodModel. Такой элемент может появиться при обходе MethodModel, если не указано иное, предоставляться MethodBuilder и обрабатываться MethodTransform. AccessFlags — единственный элемент члена метода, который появляется ровно один раз во время обхода MethodModel.
© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://download.java.net/java/early_access/jdk24/docs/api/java.base/java/lang/classfile/MethodElement.html