java.lang.Object
java.lang.classfile.Attributes
public class Attributes extends Object
Attributes
は、JavaプラットフォームのプレビューAPIです。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
標準クラス・ファイル属性の属性マッパー。
- 導入されたバージョン:
- 22
- 関連項目:
-
フィールドのサマリー
修飾子と型フィールド説明static final AttributeMapperPREVIEW
<AnnotationDefaultAttributePREVIEW> AnnotationDefault
属性の属性マッパーstatic final AttributeMapperPREVIEW
<BootstrapMethodsAttributePREVIEW> BootstrapMethods
属性の属性マッパーstatic final AttributeMapperPREVIEW
<CharacterRangeTableAttributePREVIEW> CharacterRangeTable
属性の属性マッパーstatic final AttributeMapperPREVIEW
<CodeAttributePREVIEW> Code
属性の属性マッパーstatic final AttributeMapperPREVIEW
<CompilationIDAttributePREVIEW> CompilationID
属性の属性マッパーstatic final AttributeMapperPREVIEW
<ConstantValueAttributePREVIEW> ConstantValue
属性の属性マッパーstatic final AttributeMapperPREVIEW
<DeprecatedAttributePREVIEW> Deprecated
属性の属性マッパーstatic final AttributeMapperPREVIEW
<EnclosingMethodAttributePREVIEW> EnclosingMethod
属性の属性マッパーstatic final AttributeMapperPREVIEW
<ExceptionsAttributePREVIEW> Exceptions
属性の属性マッパーstatic final AttributeMapperPREVIEW
<InnerClassesAttributePREVIEW> InnerClasses
属性の属性マッパーstatic final AttributeMapperPREVIEW
<LineNumberTableAttributePREVIEW> LineNumberTable
属性の属性マッパーstatic final AttributeMapperPREVIEW
<LocalVariableTableAttributePREVIEW> LocalVariableTable
属性の属性マッパーstatic final AttributeMapperPREVIEW
<LocalVariableTypeTableAttributePREVIEW> LocalVariableTypeTable
属性の属性マッパーstatic final AttributeMapperPREVIEW
<MethodParametersAttributePREVIEW> MethodParameters
属性の属性マッパーstatic final AttributeMapperPREVIEW
<ModuleAttributePREVIEW> Module
属性の属性マッパーstatic final AttributeMapperPREVIEW
<ModuleHashesAttributePREVIEW> ModuleHashes
属性の属性マッパーstatic final AttributeMapperPREVIEW
<ModuleMainClassAttributePREVIEW> ModuleMainClass
属性の属性マッパーstatic final AttributeMapperPREVIEW
<ModulePackagesAttributePREVIEW> ModulePackages
属性の属性マッパーstatic final AttributeMapperPREVIEW
<ModuleResolutionAttributePREVIEW> ModuleResolution
属性の属性マッパーstatic final AttributeMapperPREVIEW
<ModuleTargetAttributePREVIEW> ModuleTarget
属性の属性マッパーstatic final String
AnnotationDefaultstatic final String
BootstrapMethodsstatic final String
CharacterRangeTablestatic final String
コードstatic final String
CompilationIDstatic final String
ConstantValuestatic final String
非推奨static final String
EnclosingMethodstatic final String
例外static final String
InnerClassesstatic final String
LineNumberTablestatic final String
LocalVariableTablestatic final String
LocalVariableTypeTablestatic final String
MethodParametersstatic final String
モジュールstatic final String
ModuleHashesstatic final String
ModuleMainClassstatic final String
ModulePackagesstatic final String
ModuleResolutionstatic final String
ModuleTargetstatic final String
NestHoststatic final String
NestMembersstatic final String
PermittedSubclassesstatic final String
レコードstatic final String
RuntimeInvisibleAnnotationsstatic final String
RuntimeInvisibleParameterAnnotationsstatic final String
RuntimeInvisibleTypeAnnotationsstatic final String
RuntimeVisibleAnnotationsstatic final String
RuntimeVisibleParameterAnnotationsstatic final String
RuntimeVisibleTypeAnnotationsstatic final String
シグネチャstatic final String
SourceDebugExtensionstatic final String
SourceFilestatic final String
SourceIDstatic final String
StackMapTablestatic final String
複合static final AttributeMapperPREVIEW
<NestHostAttributePREVIEW> NestHost
属性の属性マッパーstatic final AttributeMapperPREVIEW
<NestMembersAttributePREVIEW> NestMembers
属性の属性マッパーstatic final AttributeMapperPREVIEW
<PermittedSubclassesAttributePREVIEW> PermittedSubclasses
属性の属性マッパーstatic final Set
<AttributeMapperPREVIEW<?>> すべての標準属性マッパー。static final AttributeMapperPREVIEW
<RecordAttributePREVIEW> Record
属性の属性マッパーRuntimeInvisibleAnnotations
属性の属性マッパーRuntimeInvisibleParameterAnnotations
属性の属性マッパーRuntimeInvisibleTypeAnnotations
属性の属性マッパーRuntimeVisibleAnnotations
属性の属性マッパーRuntimeVisibleParameterAnnotations
属性の属性マッパーRuntimeVisibleTypeAnnotations
属性の属性マッパーstatic final AttributeMapperPREVIEW
<SignatureAttributePREVIEW> Signature
属性の属性マッパーstatic final AttributeMapperPREVIEW
<SourceDebugExtensionAttributePREVIEW> SourceDebugExtension
属性の属性マッパーstatic final AttributeMapperPREVIEW
<SourceFileAttributePREVIEW> SourceFile
属性の属性マッパーstatic final AttributeMapperPREVIEW
<SourceIDAttributePREVIEW> SourceID
属性の属性マッパーstatic final AttributeMapperPREVIEW
<StackMapTableAttributePREVIEW> StackMapTable
属性の属性マッパーstatic final AttributeMapperPREVIEW
<SyntheticAttributePREVIEW> Synthetic
属性の属性マッパー -
メソッドのサマリー
-
フィールド詳細
-
NAME_ANNOTATION_DEFAULT
-
NAME_BOOTSTRAP_METHODS
-
NAME_CHARACTER_RANGE_TABLE
-
NAME_CODE
-
NAME_COMPILATION_ID
-
NAME_CONSTANT_VALUE
-
NAME_DEPRECATED
-
NAME_ENCLOSING_METHOD
-
NAME_EXCEPTIONS
-
NAME_INNER_CLASSES
-
NAME_LINE_NUMBER_TABLE
-
NAME_LOCAL_VARIABLE_TABLE
-
NAME_LOCAL_VARIABLE_TYPE_TABLE
-
NAME_METHOD_PARAMETERS
-
NAME_MODULE
-
NAME_MODULE_HASHES
-
NAME_MODULE_MAIN_CLASS
-
NAME_MODULE_PACKAGES
-
NAME_MODULE_RESOLUTION
-
NAME_MODULE_TARGET
-
NAME_NEST_HOST
-
NAME_NEST_MEMBERS
-
NAME_PERMITTED_SUBCLASSES
-
NAME_RECORD
-
NAME_RUNTIME_INVISIBLE_ANNOTATIONS
-
NAME_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS
public static final String NAME_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONSRuntimeInvisibleParameterAnnotations- 関連項目:
-
NAME_RUNTIME_INVISIBLE_TYPE_ANNOTATIONS
public static final String NAME_RUNTIME_INVISIBLE_TYPE_ANNOTATIONSRuntimeInvisibleTypeAnnotations- 関連項目:
-
NAME_RUNTIME_VISIBLE_ANNOTATIONS
-
NAME_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS
public static final String NAME_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONSRuntimeVisibleParameterAnnotations- 関連項目:
-
NAME_RUNTIME_VISIBLE_TYPE_ANNOTATIONS
public static final String NAME_RUNTIME_VISIBLE_TYPE_ANNOTATIONSRuntimeVisibleTypeAnnotations- 関連項目:
-
NAME_SIGNATURE
-
NAME_SOURCE_DEBUG_EXTENSION
-
NAME_SOURCE_FILE
-
NAME_SOURCE_ID
-
NAME_STACK_MAP_TABLE
-
NAME_SYNTHETIC
-
ANNOTATION_DEFAULT
public static final AttributeMapperPREVIEW<AnnotationDefaultAttributePREVIEW> ANNOTATION_DEFAULTAnnotationDefault
属性の属性マッパー -
BOOTSTRAP_METHODS
public static final AttributeMapperPREVIEW<BootstrapMethodsAttributePREVIEW> BOOTSTRAP_METHODSBootstrapMethods
属性の属性マッパー -
CHARACTER_RANGE_TABLE
public static final AttributeMapperPREVIEW<CharacterRangeTableAttributePREVIEW> CHARACTER_RANGE_TABLECharacterRangeTable
属性の属性マッパー -
CODE
public static final AttributeMapperPREVIEW<CodeAttributePREVIEW> CODECode
属性の属性マッパー -
COMPILATION_ID
public static final AttributeMapperPREVIEW<CompilationIDAttributePREVIEW> COMPILATION_IDCompilationID
属性の属性マッパー -
CONSTANT_VALUE
public static final AttributeMapperPREVIEW<ConstantValueAttributePREVIEW> CONSTANT_VALUEConstantValue
属性の属性マッパー -
DEPRECATED
public static final AttributeMapperPREVIEW<DeprecatedAttributePREVIEW> DEPRECATEDDeprecated
属性の属性マッパー -
ENCLOSING_METHOD
public static final AttributeMapperPREVIEW<EnclosingMethodAttributePREVIEW> ENCLOSING_METHODEnclosingMethod
属性の属性マッパー -
EXCEPTIONS
public static final AttributeMapperPREVIEW<ExceptionsAttributePREVIEW> EXCEPTIONSExceptions
属性の属性マッパー -
INNER_CLASSES
public static final AttributeMapperPREVIEW<InnerClassesAttributePREVIEW> INNER_CLASSESInnerClasses
属性の属性マッパー -
LINE_NUMBER_TABLE
public static final AttributeMapperPREVIEW<LineNumberTableAttributePREVIEW> LINE_NUMBER_TABLELineNumberTable
属性の属性マッパー -
LOCAL_VARIABLE_TABLE
public static final AttributeMapperPREVIEW<LocalVariableTableAttributePREVIEW> LOCAL_VARIABLE_TABLELocalVariableTable
属性の属性マッパー -
LOCAL_VARIABLE_TYPE_TABLE
public static final AttributeMapperPREVIEW<LocalVariableTypeTableAttributePREVIEW> LOCAL_VARIABLE_TYPE_TABLELocalVariableTypeTable
属性の属性マッパー -
METHOD_PARAMETERS
public static final AttributeMapperPREVIEW<MethodParametersAttributePREVIEW> METHOD_PARAMETERSMethodParameters
属性の属性マッパー -
MODULE
public static final AttributeMapperPREVIEW<ModuleAttributePREVIEW> MODULEModule
属性の属性マッパー -
MODULE_HASHES
public static final AttributeMapperPREVIEW<ModuleHashesAttributePREVIEW> MODULE_HASHESModuleHashes
属性の属性マッパー -
MODULE_MAIN_CLASS
public static final AttributeMapperPREVIEW<ModuleMainClassAttributePREVIEW> MODULE_MAIN_CLASSModuleMainClass
属性の属性マッパー -
MODULE_PACKAGES
public static final AttributeMapperPREVIEW<ModulePackagesAttributePREVIEW> MODULE_PACKAGESModulePackages
属性の属性マッパー -
MODULE_RESOLUTION
public static final AttributeMapperPREVIEW<ModuleResolutionAttributePREVIEW> MODULE_RESOLUTIONModuleResolution
属性の属性マッパー -
MODULE_TARGET
public static final AttributeMapperPREVIEW<ModuleTargetAttributePREVIEW> MODULE_TARGETModuleTarget
属性の属性マッパー -
NEST_HOST
public static final AttributeMapperPREVIEW<NestHostAttributePREVIEW> NEST_HOSTNestHost
属性の属性マッパー -
NEST_MEMBERS
public static final AttributeMapperPREVIEW<NestMembersAttributePREVIEW> NEST_MEMBERSNestMembers
属性の属性マッパー -
PERMITTED_SUBCLASSES
public static final AttributeMapperPREVIEW<PermittedSubclassesAttributePREVIEW> PERMITTED_SUBCLASSESPermittedSubclasses
属性の属性マッパー -
RECORD
public static final AttributeMapperPREVIEW<RecordAttributePREVIEW> RECORDRecord
属性の属性マッパー -
RUNTIME_INVISIBLE_ANNOTATIONS
public static final AttributeMapperPREVIEW<RuntimeInvisibleAnnotationsAttributePREVIEW> RUNTIME_INVISIBLE_ANNOTATIONSRuntimeInvisibleAnnotations
属性の属性マッパー -
RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS
public static final AttributeMapperPREVIEW<RuntimeInvisibleParameterAnnotationsAttributePREVIEW> RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONSRuntimeInvisibleParameterAnnotations
属性の属性マッパー -
RUNTIME_INVISIBLE_TYPE_ANNOTATIONS
public static final AttributeMapperPREVIEW<RuntimeInvisibleTypeAnnotationsAttributePREVIEW> RUNTIME_INVISIBLE_TYPE_ANNOTATIONSRuntimeInvisibleTypeAnnotations
属性の属性マッパー -
RUNTIME_VISIBLE_ANNOTATIONS
public static final AttributeMapperPREVIEW<RuntimeVisibleAnnotationsAttributePREVIEW> RUNTIME_VISIBLE_ANNOTATIONSRuntimeVisibleAnnotations
属性の属性マッパー -
RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS
public static final AttributeMapperPREVIEW<RuntimeVisibleParameterAnnotationsAttributePREVIEW> RUNTIME_VISIBLE_PARAMETER_ANNOTATIONSRuntimeVisibleParameterAnnotations
属性の属性マッパー -
RUNTIME_VISIBLE_TYPE_ANNOTATIONS
public static final AttributeMapperPREVIEW<RuntimeVisibleTypeAnnotationsAttributePREVIEW> RUNTIME_VISIBLE_TYPE_ANNOTATIONSRuntimeVisibleTypeAnnotations
属性の属性マッパー -
SIGNATURE
public static final AttributeMapperPREVIEW<SignatureAttributePREVIEW> SIGNATURESignature
属性の属性マッパー -
SOURCE_DEBUG_EXTENSION
public static final AttributeMapperPREVIEW<SourceDebugExtensionAttributePREVIEW> SOURCE_DEBUG_EXTENSIONSourceDebugExtension
属性の属性マッパー -
SOURCE_FILE
public static final AttributeMapperPREVIEW<SourceFileAttributePREVIEW> SOURCE_FILESourceFile
属性の属性マッパー -
SOURCE_ID
public static final AttributeMapperPREVIEW<SourceIDAttributePREVIEW> SOURCE_IDSourceID
属性の属性マッパー -
STACK_MAP_TABLE
public static final AttributeMapperPREVIEW<StackMapTableAttributePREVIEW> STACK_MAP_TABLEStackMapTable
属性の属性マッパー -
SYNTHETIC
public static final AttributeMapperPREVIEW<SyntheticAttributePREVIEW> SYNTHETICSynthetic
属性の属性マッパー -
PREDEFINED_ATTRIBUTES
public static final Set<AttributeMapperPREVIEW<?>> PREDEFINED_ATTRIBUTESすべての標準属性マッパー。
-
-
メソッドの詳細
-
standardAttribute
public static AttributeMapperPREVIEW<?> standardAttribute(Utf8EntryPREVIEW name) 標準属性の属性マッパーを返します。- パラメータ:
name
- 検索する属性の名前- 戻り値:
- 標準属性の属性マッパー
-
Attributes
を使用できます。