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