- All Superinterfaces:
Attribute<DeprecatedAttribute>,ClassElement,ClassfileElement,FieldElement,MethodElement,WritableElement<DeprecatedAttribute>
- All Known Implementing Classes:
BoundAttribute.BoundDeprecatedAttribute,UnboundAttribute.UnboundDeprecatedAttribute
public sealed interface DeprecatedAttribute
extends Attribute<DeprecatedAttribute>, ClassElement, MethodElement, FieldElement
permits BoundAttribute.BoundDeprecatedAttribute, UnboundAttribute.UnboundDeprecatedAttribute
Models the
Deprecated attribute , which can appear on
classes, methods, and fields. Delivered as a ClassElement,
MethodElement, or FieldElement when traversing the elements
of a corresponding model.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic DeprecatedAttributeof()Returns aDeprecatedattribute.Methods inherited from interface org.glavo.classfile.Attribute
attributeMapper, attributeNameMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
of
Returns aDeprecatedattribute.- Returns:
- a
Deprecatedattribute
-