Module org.glavo.classfile
Package org.glavo.classfile
Class CustomAttribute<T extends CustomAttribute<T>>
java.lang.Object
org.glavo.classfile.impl.AbstractElement
org.glavo.classfile.impl.UnboundAttribute<T>
org.glavo.classfile.impl.UnboundAttribute.CustomAttribute<T>
org.glavo.classfile.CustomAttribute<T>
- All Implemented Interfaces:
Attribute<T>,ClassElement,ClassfileElement,CodeElement,FieldElement,MethodElement,WritableElement<T>
public abstract non-sealed class CustomAttribute<T extends CustomAttribute<T>>
extends UnboundAttribute.CustomAttribute<T>
implements CodeElement, ClassElement, MethodElement, FieldElement
Models a non-standard attribute of a classfile. Clients should extend
this class to provide an implementation class for non-standard attributes,
and provide an
AttributeMapper to mediate between the classfile
format and the UnboundAttribute.CustomAttribute representation.-
Nested Class Summary
Nested classes/interfaces inherited from class org.glavo.classfile.impl.UnboundAttribute
UnboundAttribute.AdHocAttribute<T extends Attribute<T>>, UnboundAttribute.CustomAttribute<T extends UnboundAttribute.CustomAttribute<T>>, UnboundAttribute.EmptyBootstrapAttribute, UnboundAttribute.TypePathComponentImpl, UnboundAttribute.UnboundAnnotationDefaultAttribute, UnboundAttribute.UnboundCharacterRangeInfo, UnboundAttribute.UnboundCharacterRangeTableAttribute, UnboundAttribute.UnboundCompilationIDAttribute, UnboundAttribute.UnboundConstantValueAttribute, UnboundAttribute.UnboundDeprecatedAttribute, UnboundAttribute.UnboundEnclosingMethodAttribute, UnboundAttribute.UnboundExceptionsAttribute, UnboundAttribute.UnboundInnerClassesAttribute, UnboundAttribute.UnboundInnerClassInfo, UnboundAttribute.UnboundLineNumberInfo, UnboundAttribute.UnboundLineNumberTableAttribute, UnboundAttribute.UnboundLocalVariableInfo, UnboundAttribute.UnboundLocalVariableTableAttribute, UnboundAttribute.UnboundLocalVariableTypeInfo, UnboundAttribute.UnboundLocalVariableTypeTableAttribute, UnboundAttribute.UnboundMethodParameterInfo, UnboundAttribute.UnboundMethodParametersAttribute, UnboundAttribute.UnboundModuleAttribute, UnboundAttribute.UnboundModuleExportInfo, UnboundAttribute.UnboundModuleHashesAttribute, UnboundAttribute.UnboundModuleHashInfo, UnboundAttribute.UnboundModuleMainClassAttribute, UnboundAttribute.UnboundModuleOpenInfo, UnboundAttribute.UnboundModulePackagesAttribute, UnboundAttribute.UnboundModuleProvideInfo, UnboundAttribute.UnboundModuleRequiresInfo, UnboundAttribute.UnboundModuleResolutionAttribute, UnboundAttribute.UnboundModuleTargetAttribute, UnboundAttribute.UnboundNestHostAttribute, UnboundAttribute.UnboundNestMembersAttribute, UnboundAttribute.UnboundPermittedSubclassesAttribute, UnboundAttribute.UnboundRecordAttribute, UnboundAttribute.UnboundRecordComponentInfo, UnboundAttribute.UnboundRuntimeInvisibleAnnotationsAttribute, UnboundAttribute.UnboundRuntimeInvisibleParameterAnnotationsAttribute, UnboundAttribute.UnboundRuntimeInvisibleTypeAnnotationsAttribute, UnboundAttribute.UnboundRuntimeVisibleAnnotationsAttribute, UnboundAttribute.UnboundRuntimeVisibleParameterAnnotationsAttribute, UnboundAttribute.UnboundRuntimeVisibleTypeAnnotationsAttribute, UnboundAttribute.UnboundSignatureAttribute, UnboundAttribute.UnboundSourceDebugExtensionAttribute, UnboundAttribute.UnboundSourceFileAttribute, UnboundAttribute.UnboundSourceIDAttribute, UnboundAttribute.UnboundStackMapTableAttribute, UnboundAttribute.UnboundSyntheticAttribute, UnboundAttribute.UnboundTypeAnnotation -
Field Summary
Fields inherited from class org.glavo.classfile.impl.UnboundAttribute
mapper -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCustomAttribute(AttributeMapper<T> mapper) Construct a UnboundAttribute.CustomAttribute. -
Method Summary
Methods inherited from class org.glavo.classfile.impl.UnboundAttribute
attributeMapper, attributeName, toString, writeTo, writeTo, writeTo, writeTo, writeTo
-
Constructor Details
-
CustomAttribute
Construct a UnboundAttribute.CustomAttribute.- Parameters:
mapper- the attribute mapper
-