Interface UnknownAttribute

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.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Returns the uninterpreted contents of the attribute payload.

    Methods inherited from interface org.glavo.classfile.Attribute

    attributeMapper, attributeName

    Methods 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