Uses of Interface
java.lang.classfile.attribute.EnclosingMethodAttribute
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.-
Uses of EnclosingMethodAttributePREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionAttributes.enclosingMethod()
Returns Attribute mapper for theEnclosingMethod
attribute. -
Uses of EnclosingMethodAttributePREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models theEnclosingMethod
attribute (JVMS 4.7.7), which can appear on classes, and indicates that the class is a local or anonymous class.Modifier and TypeMethodDescriptionEnclosingMethodAttribute.of
(ClassEntryPREVIEW className, Optional<NameAndTypeEntryPREVIEW> method) Returns anEnclosingMethod
attribute.EnclosingMethodAttribute.of
(ClassDesc className, Optional<String> methodName, Optional<MethodTypeDesc> methodType) Returns anEnclosingMethod
attribute.