Uses of Interface
java.lang.classfile.attribute.EnclosingMethodAttribute
Packages that use EnclosingMethodAttribute
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class file 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 the 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 indicates that this class is a local or anonymous class, and indicates the enclosing method or constructor of this class if this class is enclosed in exactly one method or constructor.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.