Uses of Interface
java.lang.classfile.attribute.EnclosingMethodAttribute
Packages that use EnclosingMethodAttributePREVIEW
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
Methods in java.lang.classfilePREVIEW that return types with arguments of type EnclosingMethodAttributePREVIEWModifier and TypeMethodDescriptionAttributes.enclosingMethod()
Returns Attribute mapper for theEnclosingMethod
attribute. -
Uses of EnclosingMethodAttributePREVIEW in java.lang.classfile.attributePREVIEW
Subinterfaces with type arguments of type EnclosingMethodAttributePREVIEW in java.lang.classfile.attributePREVIEWModifier 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.Methods in java.lang.classfile.attributePREVIEW that return EnclosingMethodAttributePREVIEWModifier and TypeMethodDescriptionEnclosingMethodAttribute.of
(ClassEntryPREVIEW className, Optional<NameAndTypeEntryPREVIEW> method) Returns anEnclosingMethod
attribute.EnclosingMethodAttribute.of
(ClassDesc className, Optional<String> methodName, Optional<MethodTypeDesc> methodType) Returns anEnclosingMethod
attribute.