Module java.base
Package java.lang.classfile.attribute

# Interface EnclosingMethodAttribute

=
public abstract sealed interface EnclosingMethodAttribute
extends java.lang.classfile.Attribute<java.lang.classfile.attribute.EnclosingMethodAttribute>, java.lang.classfile.ClassElement
permits jdk.internal.classfile.impl.BoundAttribute.BoundEnclosingMethodAttribute, jdk.internal.classfile.impl.UnboundAttribute.UnboundEnclosingMethodAttribute

## Methods

- =
  public abstract java.lang.classfile.constantpool.ClassEntry enclosingClass()
- =
  public abstract java.util.Optional<java.lang.classfile.constantpool.NameAndTypeEntry> enclosingMethod()
- =
  public default java.util.Optional<java.lang.classfile.constantpool.Utf8Entry> enclosingMethodName()
- =
  public default java.util.Optional<java.lang.classfile.constantpool.Utf8Entry> enclosingMethodType()
- =
  public default java.util.Optional<java.lang.constant.MethodTypeDesc> enclosingMethodTypeSymbol()
- =
  public static java.lang.classfile.attribute.EnclosingMethodAttribute of(java.lang.classfile.constantpool.ClassEntry arg0, java.util.Optional<java.lang.classfile.constantpool.NameAndTypeEntry> arg1)
- =
  public static java.lang.classfile.attribute.EnclosingMethodAttribute of(java.lang.constant.ClassDesc arg0, java.util.Optional<java.lang.String> arg1, java.util.Optional<java.lang.constant.MethodTypeDesc> arg2)

## Summary

No differences.