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

# Interface SignatureAttribute

≠
public abstract sealed interface SignatureAttribute
extends java.lang.classfile.Attribute<java.lang.classfile.attribute.SignatureAttribute>, java.lang.classfile.ClassElement, java.lang.classfile.FieldElement, java.lang.classfile.MethodElement
permits jdk.internal.classfile.impl.BoundAttribute.BoundSignatureAttribute, jdk.internal.classfile.impl.UnboundAttribute.UnboundSignatureAttribute
Comparing jdk-master and valhalla-csr-open

All Superinterfaces:
  `AttributePREVIEW <SignatureAttribute>, ClassElementPREVIEW , ClassFileElement, FieldElement, MethodElement`

public sealed interface SignatureAttribute extends AttributePREVIEW <SignatureAttribute>, ClassElementPREVIEW , MethodElement, FieldElement
Models the `Signature` attribute (JVMS §4.7.9), which indicates the generic signature of this structure.

This attribute appears on classes, fields, methods, and record components, and does not permit multiple instances in one structure. It has a data dependency on the constant pool.

The attribute was introduced in the Java SE Platform version 5.0, major version 49.

See Java Virtual Machine Specification:
  4.7.9 The `Signature` Attribute
Since:
  24
See Also:
  - `Signature`
  - `ClassSignature`
  - `MethodSignature`

## Methods

- =
  public default java.lang.classfile.ClassSignature asClassSignature()
- =
  public default java.lang.classfile.MethodSignature asMethodSignature()
- =
  public default java.lang.classfile.Signature asTypeSignature()
- =
  public static java.lang.classfile.attribute.SignatureAttribute of(java.lang.classfile.ClassSignature arg0)
- =
  public static java.lang.classfile.attribute.SignatureAttribute of(java.lang.classfile.MethodSignature arg0)
- =
  public static java.lang.classfile.attribute.SignatureAttribute of(java.lang.classfile.Signature arg0)
- =
  public static java.lang.classfile.attribute.SignatureAttribute of(java.lang.classfile.constantpool.Utf8Entry arg0)
- =
  public abstract java.lang.classfile.constantpool.Utf8Entry signature()

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
SignatureAttribute |  |  |  |  |  |  | 4 |  |  | 4
Total |  |  |  |  |  |  | 4 |  |  | 4