Uses of Interface
java.lang.classfile.attribute.EnclosingMethodAttribute
Packages that use EnclosingMethodAttribute
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
library.-
Uses of EnclosingMethodAttribute in java.lang.classfile
Methods in java.lang.classfile that return types with arguments of type EnclosingMethodAttributeModifier and TypeMethodDescriptionAttributes.enclosingMethod()
Returns Attribute mapper for theEnclosingMethod
attribute. -
Uses of EnclosingMethodAttribute in java.lang.classfile.attribute
Subinterfaces with type arguments of type EnclosingMethodAttribute in java.lang.classfile.attributeModifier and TypeInterfaceDescriptioninterface
Models theEnclosingMethod
attribute (JVMS 4.7.7), which can appear on classes, and indicates that the class is a local or anonymous class.Methods in java.lang.classfile.attribute that return EnclosingMethodAttributeModifier and TypeMethodDescriptionstatic EnclosingMethodAttribute
EnclosingMethodAttribute.of
(ClassEntry className, Optional<NameAndTypeEntry> method) Returns anEnclosingMethod
attribute.static EnclosingMethodAttribute
EnclosingMethodAttribute.of
(ClassDesc className, Optional<String> methodName, Optional<MethodTypeDesc> methodType) Returns anEnclosingMethod
attribute.