Interface UnknownAttribute
- All Superinterfaces:
Attribute<UnknownAttribute>
,ClassElement
,ClassFileElement
,FieldElement
,MethodElement
public sealed interface UnknownAttribute
extends Attribute<UnknownAttribute>, ClassElement, MethodElement, FieldElement
Models an unknown attribute on a class, method, or field.
- Since:
- 24
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
contents()
Returns the uninterpreted contents of the attribute payload.Methods declared in interface java.lang.classfile.Attribute
attributeMapper, attributeName
-
Method Details
-
contents
byte[] contents()Returns the uninterpreted contents of the attribute payload.- Returns:
- the uninterpreted contents of the attribute payload
-