Uses of Interface
java.lang.classfile.MethodElement
Packages that use 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
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 non-standard attribute of a classfile.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) Create 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 TypeInterfaceDescriptioninterfaceinterfaceModels theCodeattribute (JVMS 4.7.3), appears on non-native, non-abstract methods and contains the bytecode of the method body.interfaceModels theDeprecatedattribute (JVMS 4.7.15), which can appear on classes, methods, and fields.interfaceModels theExceptionsattribute (JVMS 4.7.5), which can appear on methods, and records the exceptions declared to be thrown by this method.interfaceModels theMethodParametersattribute (JVMS 4.7.24), which can appear on methods, and records optional information about the method's parameters.interfaceModels theRuntimeInvisibleAnnotationsattribute (JVMS 4.7.17), which can appear on classes, methods, and fields.interfaceModels theRuntimeInvisibleParameterAnnotationsattribute (JVMS 4.7.19), which can appear on methods.interfaceModels theRuntimeInvisibleTypeAnnotationsattribute (JVMS 4.7.21), which can appear on classes, methods, fields, and code attributes.interfaceModels theRuntimeVisibleAnnotationsattribute (JVMS 4.7.16), which can appear on classes, methods, and fields.interfaceModels theRuntimeVisibleParameterAnnotationsattribute (JVMS 4.7.18), which can appear on methods.interfaceModels theRuntimeVisibleTypeAnnotationsattribute (JVMS 4.7.20), which can appear on classes, methods, fields, and code attributes.interfaceModels theSignatureattribute (JVMS 4.7.9), which can appear on classes, methods, or fields.interfaceModels theSyntheticattribute (JVMS 4.7.8), which can appear on classes, methods, and fields.interfaceModels an unknown attribute on a class, method, or field.