Interface UnknownAttribute
- 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:
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]contents()Returns the uninterpreted contents of the attribute payload.Methods declared in interface AttributePREVIEW
attributeMapper, attributeNameModifier and TypeMethodDescriptionReturns theAttributeMapperassociated with this attribute.Returns the name of the attribute.
-
Method Details
-
contents
byte[] contents()Returns the uninterpreted contents of the attribute payload.- Returns:
- the uninterpreted contents of the attribute payload
-