Uses of Interface
java.lang.classfile.MethodElement
Packages that use MethodElement
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class file attributes for the java.lang.classfile library.-
Uses of MethodElement in java.lang.classfile
Subinterfaces of MethodElement in java.lang.classfileModifier and TypeInterfaceDescriptioninterfaceModels the access flags for a class, method, or field.interfaceModels the body of a method (theCodeattribute).Classes in java.lang.classfile that implement MethodElementModifier and TypeClassDescriptionclassCustomAttribute<T extends CustomAttribute<T>>Models a user-defined attribute in aclassfile.Subinterfaces with type arguments of type MethodElement in java.lang.classfileModifier and TypeInterfaceDescriptioninterfaceA builder for methods.interfaceModels a method.interfaceA transformation on streams ofMethodElement.Method parameters in java.lang.classfile with type arguments of type MethodElementModifier and TypeMethodDescriptionstatic MethodTransformMethodTransform.dropping(Predicate<MethodElement> filter) Creates a method transform that passes each element through to the builder, except for those that the suppliedPredicateis true for. -
Uses of MethodElement in java.lang.classfile.attribute
Subinterfaces of MethodElement in java.lang.classfile.attributeModifier and TypeInterfaceDescriptioninterfaceModels theAnnotationDefaultattribute (JVMS 4.7.22), which records the default value (JLS 9.6.2) for the annotation interface element defined by this method.interfaceinterfaceModels theDeprecatedattribute (JVMS 4.7.15), which indicates this structure has been superseded.interfaceModels theExceptionsattribute (JVMS 4.7.5), which records the exceptions declared to be thrown by this method.interfaceModels theMethodParametersattribute (JVMS 4.7.24), which records reflective information about this method's parameters such as access modifiers.interfaceModels theRuntimeInvisibleAnnotationsattribute (JVMS 4.7.17), which stores declaration annotations on this structure that are visible toclassfile consumers but are not visible to core reflection.interfaceModels theRuntimeInvisibleParameterAnnotationsattribute (JVMS 4.7.19), which stores declaration annotations on the method parameters of this method that are visible toclassfile consumers but are not visible to core reflection.interfaceModels theRuntimeInvisibleTypeAnnotationsattribute (JVMS 4.7.21), which stores type-use annotations for the annotated uses of types in this structure that are visible toclassfile consumers but are not visible to core reflection.interfaceModels theRuntimeVisibleAnnotationsattribute (JVMS 4.7.16), which stores declaration annotations on this structure that are visible to bothclassfile consumers and core reflection.interfaceModels theRuntimeVisibleParameterAnnotationsattribute (JVMS 4.7.18), which stores declaration annotations on the method parameters of this method that are visible to bothclassfile consumers and core reflection.interfaceModels theRuntimeVisibleTypeAnnotationsattribute (JVMS 4.7.20), which stores type-use annotations for the annotated uses of types in this structure that are visible to bothclassfile consumers and core reflection.interfaceinterfaceinterfaceModels an unknown attribute read from aclassfile.