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

# Interface UnknownAttribute

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

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

public sealed interface UnknownAttribute extends AttributePREVIEW <UnknownAttribute>, ClassElementPREVIEW , MethodElement, FieldElement, CodeElement
Models an unknown attribute read from a `class` file. An attribute is unknown if it is not recognized by one of the mappers in `Attributes` and is not recognized by the `ClassFile.AttributesProcessingOption` .

An unknown attribute may appear anywhere where an attribute may appear, and has an unknown data dependency.

Since:
  24
See Also:
  - `CustomAttribute`

## Methods

- =
  public abstract byte[] contents()

## Summary

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