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 theEnclosingMethodattribute. -
Uses of EnclosingMethodAttribute in java.lang.classfile.attribute
Subinterfaces with type arguments of type EnclosingMethodAttribute in java.lang.classfile.attributeModifier and TypeInterfaceDescriptioninterfaceModels theEnclosingMethodattribute (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 EnclosingMethodAttributeEnclosingMethodAttribute.of(ClassEntry className, Optional<NameAndTypeEntry> method) Returns anEnclosingMethodattribute.static EnclosingMethodAttributeEnclosingMethodAttribute.of(ClassDesc className, Optional<String> methodName, Optional<MethodTypeDesc> methodType) Returns anEnclosingMethodattribute.