java.lang.Object
org.glavo.classfile.Attributes
Attribute mappers for standard classfile attributes.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeMapper<AnnotationDefaultAttribute>Attribute mapper for theAnnotationDefaultattributestatic final AttributeMapper<BootstrapMethodsAttribute>Attribute mapper for theBootstrapMethodsattributestatic final AttributeMapper<CharacterRangeTableAttribute>Attribute mapper for theCharacterRangeTableattributestatic final AttributeMapper<CodeAttribute>Attribute mapper for theCodeattributestatic final AttributeMapper<CompilationIDAttribute>Attribute mapper for theCompilationIDattributestatic final AttributeMapper<ConstantValueAttribute>Attribute mapper for theConstantValueattributestatic final AttributeMapper<DeprecatedAttribute>Attribute mapper for theDeprecatedattributestatic final AttributeMapper<EnclosingMethodAttribute>Attribute mapper for theEnclosingMethodattributestatic final AttributeMapper<ExceptionsAttribute>Attribute mapper for theExceptionsattributestatic final AttributeMapper<InnerClassesAttribute>Attribute mapper for theInnerClassesattributestatic final AttributeMapper<LineNumberTableAttribute>Attribute mapper for theLineNumberTableattributestatic final AttributeMapper<LocalVariableTableAttribute>Attribute mapper for theLocalVariableTableattributestatic final AttributeMapper<LocalVariableTypeTableAttribute>Attribute mapper for theLocalVariableTypeTableattributestatic final AttributeMapper<MethodParametersAttribute>Attribute mapper for theMethodParametersattributestatic final AttributeMapper<ModuleAttribute>Attribute mapper for theModuleattributestatic final AttributeMapper<ModuleHashesAttribute>Attribute mapper for theModuleHashesattributestatic final AttributeMapper<ModuleMainClassAttribute>Attribute mapper for theModuleMainClassattributestatic final AttributeMapper<ModulePackagesAttribute>Attribute mapper for theModulePackagesattributestatic final AttributeMapper<ModuleResolutionAttribute>Attribute mapper for theModuleResolutionattributestatic final AttributeMapper<ModuleTargetAttribute>Attribute mapper for theModuleTargetattributestatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final AttributeMapper<NestHostAttribute>Attribute mapper for theNestHostattributestatic final AttributeMapper<NestMembersAttribute>Attribute mapper for theNestMembersattributestatic final AttributeMapper<PermittedSubclassesAttribute>Attribute mapper for thePermittedSubclassesattributestatic final Set<AttributeMapper<?>>All standard attribute mappers.static final AttributeMapper<RecordAttribute>Attribute mapper for theRecordattributestatic final AttributeMapper<RuntimeInvisibleAnnotationsAttribute>Attribute mapper for theRuntimeInvisibleAnnotationsattributestatic final AttributeMapper<RuntimeInvisibleParameterAnnotationsAttribute>Attribute mapper for theRuntimeInvisibleParameterAnnotationsattributestatic final AttributeMapper<RuntimeInvisibleTypeAnnotationsAttribute>Attribute mapper for theRuntimeInvisibleTypeAnnotationsattributestatic final AttributeMapper<RuntimeVisibleAnnotationsAttribute>Attribute mapper for theRuntimeVisibleAnnotationsattributestatic final AttributeMapper<RuntimeVisibleParameterAnnotationsAttribute>Attribute mapper for theRuntimeVisibleParameterAnnotationsattributestatic final AttributeMapper<RuntimeVisibleTypeAnnotationsAttribute>Attribute mapper for theRuntimeVisibleTypeAnnotationsattributestatic final AttributeMapper<SignatureAttribute>Attribute mapper for theSignatureattributestatic final AttributeMapper<SourceDebugExtensionAttribute>Attribute mapper for theSourceDebugattributestatic final AttributeMapper<SourceFileAttribute>Attribute mapper for theSourceFileattributestatic final AttributeMapper<SourceIDAttribute>Attribute mapper for theSourceIDattributestatic final AttributeMapper<StackMapTableAttribute>Attribute mapper for theStackMapTableattributestatic final AttributeMapper<SyntheticAttribute>Attribute mapper for theSyntheticattribute -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeMapper<?>standardAttribute(Utf8Entry name) Returns the attribute mapper for a standard attribute.
-
Field Details
-
NAME_ANNOTATION_DEFAULT
- See Also:
-
NAME_BOOTSTRAP_METHODS
- See Also:
-
NAME_CHARACTER_RANGE_TABLE
- See Also:
-
NAME_CODE
- See Also:
-
NAME_COMPILATION_ID
- See Also:
-
NAME_CONSTANT_VALUE
- See Also:
-
NAME_DEPRECATED
- See Also:
-
NAME_ENCLOSING_METHOD
- See Also:
-
NAME_EXCEPTIONS
- See Also:
-
NAME_INNER_CLASSES
- See Also:
-
NAME_LINE_NUMBER_TABLE
- See Also:
-
NAME_LOCAL_VARIABLE_TABLE
- See Also:
-
NAME_LOCAL_VARIABLE_TYPE_TABLE
- See Also:
-
NAME_METHOD_PARAMETERS
- See Also:
-
NAME_MODULE
- See Also:
-
NAME_MODULE_HASHES
- See Also:
-
NAME_MODULE_MAIN_CLASS
- See Also:
-
NAME_MODULE_PACKAGES
- See Also:
-
NAME_MODULE_RESOLUTION
- See Also:
-
NAME_MODULE_TARGET
- See Also:
-
NAME_NEST_HOST
- See Also:
-
NAME_NEST_MEMBERS
- See Also:
-
NAME_PERMITTED_SUBCLASSES
- See Also:
-
NAME_RECORD
- See Also:
-
NAME_RUNTIME_INVISIBLE_ANNOTATIONS
- See Also:
-
NAME_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS
- See Also:
-
NAME_RUNTIME_INVISIBLE_TYPE_ANNOTATIONS
- See Also:
-
NAME_RUNTIME_VISIBLE_ANNOTATIONS
- See Also:
-
NAME_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS
- See Also:
-
NAME_RUNTIME_VISIBLE_TYPE_ANNOTATIONS
- See Also:
-
NAME_SIGNATURE
- See Also:
-
NAME_SOURCE_DEBUG_EXTENSION
- See Also:
-
NAME_SOURCE_FILE
- See Also:
-
NAME_SOURCE_ID
- See Also:
-
NAME_STACK_MAP_TABLE
- See Also:
-
NAME_SYNTHETIC
- See Also:
-
ANNOTATION_DEFAULT
Attribute mapper for theAnnotationDefaultattribute -
BOOTSTRAP_METHODS
Attribute mapper for theBootstrapMethodsattribute -
CHARACTER_RANGE_TABLE
Attribute mapper for theCharacterRangeTableattribute -
CODE
Attribute mapper for theCodeattribute -
COMPILATION_ID
Attribute mapper for theCompilationIDattribute -
CONSTANT_VALUE
Attribute mapper for theConstantValueattribute -
DEPRECATED
Attribute mapper for theDeprecatedattribute -
ENCLOSING_METHOD
Attribute mapper for theEnclosingMethodattribute -
EXCEPTIONS
Attribute mapper for theExceptionsattribute -
INNER_CLASSES
Attribute mapper for theInnerClassesattribute -
LINE_NUMBER_TABLE
Attribute mapper for theLineNumberTableattribute -
LOCAL_VARIABLE_TABLE
Attribute mapper for theLocalVariableTableattribute -
LOCAL_VARIABLE_TYPE_TABLE
Attribute mapper for theLocalVariableTypeTableattribute -
METHOD_PARAMETERS
Attribute mapper for theMethodParametersattribute -
MODULE
Attribute mapper for theModuleattribute -
MODULE_HASHES
Attribute mapper for theModuleHashesattribute -
MODULE_MAIN_CLASS
Attribute mapper for theModuleMainClassattribute -
MODULE_PACKAGES
Attribute mapper for theModulePackagesattribute -
MODULE_RESOLUTION
Attribute mapper for theModuleResolutionattribute -
MODULE_TARGET
Attribute mapper for theModuleTargetattribute -
NEST_HOST
Attribute mapper for theNestHostattribute -
NEST_MEMBERS
Attribute mapper for theNestMembersattribute -
PERMITTED_SUBCLASSES
Attribute mapper for thePermittedSubclassesattribute -
RECORD
Attribute mapper for theRecordattribute -
RUNTIME_INVISIBLE_ANNOTATIONS
public static final AttributeMapper<RuntimeInvisibleAnnotationsAttribute> RUNTIME_INVISIBLE_ANNOTATIONSAttribute mapper for theRuntimeInvisibleAnnotationsattribute -
RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS
public static final AttributeMapper<RuntimeInvisibleParameterAnnotationsAttribute> RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONSAttribute mapper for theRuntimeInvisibleParameterAnnotationsattribute -
RUNTIME_INVISIBLE_TYPE_ANNOTATIONS
public static final AttributeMapper<RuntimeInvisibleTypeAnnotationsAttribute> RUNTIME_INVISIBLE_TYPE_ANNOTATIONSAttribute mapper for theRuntimeInvisibleTypeAnnotationsattribute -
RUNTIME_VISIBLE_ANNOTATIONS
Attribute mapper for theRuntimeVisibleAnnotationsattribute -
RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS
public static final AttributeMapper<RuntimeVisibleParameterAnnotationsAttribute> RUNTIME_VISIBLE_PARAMETER_ANNOTATIONSAttribute mapper for theRuntimeVisibleParameterAnnotationsattribute -
RUNTIME_VISIBLE_TYPE_ANNOTATIONS
public static final AttributeMapper<RuntimeVisibleTypeAnnotationsAttribute> RUNTIME_VISIBLE_TYPE_ANNOTATIONSAttribute mapper for theRuntimeVisibleTypeAnnotationsattribute -
SIGNATURE
Attribute mapper for theSignatureattribute -
SOURCE_DEBUG_EXTENSION
Attribute mapper for theSourceDebugattribute -
SOURCE_FILE
Attribute mapper for theSourceFileattribute -
SOURCE_ID
Attribute mapper for theSourceIDattribute -
STACK_MAP_TABLE
Attribute mapper for theStackMapTableattribute -
SYNTHETIC
Attribute mapper for theSyntheticattribute -
PREDEFINED_ATTRIBUTES
All standard attribute mappers.
-
-
Method Details
-
standardAttribute
Returns the attribute mapper for a standard attribute.- Parameters:
name- the name of the attribute to find- Returns:
- the attribute mapper for a standard attribute
-