Uses of Interface
java.lang.classfile.MethodElement
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.-
Uses of MethodElementPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models the access flags for a class, method, or field.interface
Preview.Models the body of a method (theCode
attribute).Modifier and TypeClassDescriptionclass
CustomAttributePREVIEW<T extends CustomAttributePREVIEW<T>>
Preview.Models a non-standard attribute of a classfile.Modifier and TypeInterfaceDescriptioninterface
Preview.A builder for methods.interface
Preview.Models a method.interface
Preview.A transformation on streams ofMethodElement
PREVIEW.Modifier and TypeMethodDescriptionstatic MethodTransformPREVIEW
MethodTransform.dropping
(Predicate<MethodElementPREVIEW> filter) Create a method transform that passes each element through to the builder, except for those that the suppliedPredicate
is true for. -
Uses of MethodElementPREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.interface
Preview.Models theCode
attribute (JVMS 4.7.3), appears on non-native, non-abstract methods and contains the bytecode of the method body.interface
Preview.Models theDeprecated
attribute (JVMS 4.7.15), which can appear on classes, methods, and fields.interface
Preview.Models theExceptions
attribute (JVMS 4.7.5), which can appear on methods, and records the exceptions declared to be thrown by this method.interface
Preview.Models theMethodParameters
attribute (JVMS 4.7.24), which can appear on methods, and records optional information about the method's parameters.interface
Preview.Models theRuntimeInvisibleAnnotations
attribute (JVMS 4.7.17), which can appear on classes, methods, and fields.interface
Preview.Models theRuntimeInvisibleParameterAnnotations
attribute (JVMS 4.7.19), which can appear on methods.interface
Preview.Models theRuntimeInvisibleTypeAnnotations
attribute (JVMS 4.7.21), which can appear on classes, methods, fields, and code attributes.interface
Preview.Models theRuntimeVisibleAnnotations
attribute (JVMS 4.7.16), which can appear on classes, methods, and fields.interface
Preview.Models theRuntimeVisibleParameterAnnotations
attribute (JVMS 4.7.18), which can appear on methods.interface
Preview.Models theRuntimeVisibleTypeAnnotations
attribute (JVMS 4.7.20), which can appear on classes, methods, fields, and code attributes.interface
Preview.Models theSignature
attribute (JVMS 4.7.9), which can appear on classes, methods, or fields.interface
Preview.Models theSynthetic
attribute (JVMS 4.7.8), which can appear on classes, methods, and fields.interface
Preview.Models an unknown attribute on a class, method, or field.