- All Superinterfaces:
Attribute<UnknownAttribute>,ClassElement,ClassFileElement,FieldElement,MethodElement,WritableElement<UnknownAttribute>
- All Known Implementing Classes:
BoundAttribute.BoundUnknownAttribute
public sealed interface UnknownAttribute
extends Attribute<UnknownAttribute>, ClassElement, MethodElement, FieldElement
permits BoundAttribute.BoundUnknownAttribute
Models an unknown attribute on a class, method, or field.
- Since:
- 22
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]contents()Returns the uninterpreted contents of the attribute payload.Methods inherited from interface org.glavo.classfile.Attribute
attributeMapper, attributeNameMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
contents
byte[] contents()Returns the uninterpreted contents of the attribute payload.- Returns:
- the uninterpreted contents of the attribute payload
-