36 * do not permit multiple attribute instances in a given location.
37 * <p>
38 * The most stable {@link AttributeStability#STATELESS STATELESS} mappers are:
39 * <ul>
40 * <li>{@link #deprecated()}
41 * <li>{@link #moduleResolution()}
42 * <li>{@link #sourceDebugExtension()}
43 * <li>{@link #synthetic()}
44 * </ul>
45 *
46 * The mappers with {@link AttributeStability#CP_REFS CP_REFS} stability are:
47 * <ul>
48 * <li>{@link #annotationDefault()}
49 * <li>{@link #bootstrapMethods()}
50 * <li>{@link #code()}
51 * <li>{@link #compilationId()}
52 * <li>{@link #constantValue()}
53 * <li>{@link #enclosingMethod()}
54 * <li>{@link #exceptions()}
55 * <li>{@link #innerClasses()}
56 * <li>{@link #methodParameters()}
57 * <li>{@link #module()}
58 * <li>{@link #moduleHashes()}
59 * <li>{@link #moduleMainClass()}
60 * <li>{@link #modulePackages()}
61 * <li>{@link #moduleTarget()}
62 * <li>{@link #nestHost()}
63 * <li>{@link #nestMembers()}
64 * <li>{@link #permittedSubclasses()}
65 * <li>{@link #record()}
66 * <li>{@link #runtimeInvisibleAnnotations()}
67 * <li>{@link #runtimeInvisibleParameterAnnotations()}
68 * <li>{@link #runtimeVisibleAnnotations()}
69 * <li>{@link #runtimeVisibleParameterAnnotations()}
70 * <li>{@link #signature()}
71 * <li>{@link #sourceFile()}
72 * <li>{@link #sourceId()}
73 * </ul>
74 *
75 * The mappers with {@link AttributeStability#LABELS LABELS} stability are:
109 public static final String NAME_COMPILATION_ID = "CompilationID";
110
111 /** ConstantValue */
112 public static final String NAME_CONSTANT_VALUE = "ConstantValue";
113
114 /** Deprecated */
115 public static final String NAME_DEPRECATED = "Deprecated";
116
117 /** EnclosingMethod */
118 public static final String NAME_ENCLOSING_METHOD = "EnclosingMethod";
119
120 /** Exceptions */
121 public static final String NAME_EXCEPTIONS = "Exceptions";
122
123 /** InnerClasses */
124 public static final String NAME_INNER_CLASSES = "InnerClasses";
125
126 /** LineNumberTable */
127 public static final String NAME_LINE_NUMBER_TABLE = "LineNumberTable";
128
129 /** LocalVariableTable */
130 public static final String NAME_LOCAL_VARIABLE_TABLE = "LocalVariableTable";
131
132 /** LocalVariableTypeTable */
133 public static final String NAME_LOCAL_VARIABLE_TYPE_TABLE = "LocalVariableTypeTable";
134
135 /** MethodParameters */
136 public static final String NAME_METHOD_PARAMETERS = "MethodParameters";
137
138 /** Module */
139 public static final String NAME_MODULE = "Module";
140
141 /** ModuleHashes */
142 public static final String NAME_MODULE_HASHES = "ModuleHashes";
143
144 /** ModuleMainClass */
145 public static final String NAME_MODULE_MAIN_CLASS = "ModuleMainClass";
146
147 /** ModulePackages */
148 public static final String NAME_MODULE_PACKAGES = "ModulePackages";
278 return ExceptionsMapper.INSTANCE;
279 }
280
281 /**
282 * {@return Attribute mapper for the {@code InnerClasses} attribute}
283 * @since 23
284 */
285 public static AttributeMapper<InnerClassesAttribute> innerClasses() {
286 return InnerClassesMapper.INSTANCE;
287 }
288
289 /**
290 * {@return Attribute mapper for the {@code LineNumberTable} attribute}
291 * The mapper permits multiple instances in a given location.
292 * @since 23
293 */
294 public static AttributeMapper<LineNumberTableAttribute> lineNumberTable() {
295 return LineNumberTableMapper.INSTANCE;
296 }
297
298 /**
299 * {@return Attribute mapper for the {@code LocalVariableTable} attribute}
300 * The mapper permits multiple instances in a given location.
301 * @since 23
302 */
303 public static AttributeMapper<LocalVariableTableAttribute> localVariableTable() {
304 return LocalVariableTableMapper.INSTANCE;
305 }
306
307 /**
308 * {@return Attribute mapper for the {@code LocalVariableTypeTable} attribute}
309 * The mapper permits multiple instances in a given location.
310 * @since 23
311 */
312 public static AttributeMapper<LocalVariableTypeTableAttribute> localVariableTypeTable() {
313 return LocalVariableTypeTableMapper.INSTANCE;
314 }
315
316 /**
317 * {@return Attribute mapper for the {@code MethodParameters} attribute}
|
36 * do not permit multiple attribute instances in a given location.
37 * <p>
38 * The most stable {@link AttributeStability#STATELESS STATELESS} mappers are:
39 * <ul>
40 * <li>{@link #deprecated()}
41 * <li>{@link #moduleResolution()}
42 * <li>{@link #sourceDebugExtension()}
43 * <li>{@link #synthetic()}
44 * </ul>
45 *
46 * The mappers with {@link AttributeStability#CP_REFS CP_REFS} stability are:
47 * <ul>
48 * <li>{@link #annotationDefault()}
49 * <li>{@link #bootstrapMethods()}
50 * <li>{@link #code()}
51 * <li>{@link #compilationId()}
52 * <li>{@link #constantValue()}
53 * <li>{@link #enclosingMethod()}
54 * <li>{@link #exceptions()}
55 * <li>{@link #innerClasses()}
56 * <li>{@link #loadableDescriptors()}
57 * <li>{@link #methodParameters()}
58 * <li>{@link #module()}
59 * <li>{@link #moduleHashes()}
60 * <li>{@link #moduleMainClass()}
61 * <li>{@link #modulePackages()}
62 * <li>{@link #moduleTarget()}
63 * <li>{@link #nestHost()}
64 * <li>{@link #nestMembers()}
65 * <li>{@link #permittedSubclasses()}
66 * <li>{@link #record()}
67 * <li>{@link #runtimeInvisibleAnnotations()}
68 * <li>{@link #runtimeInvisibleParameterAnnotations()}
69 * <li>{@link #runtimeVisibleAnnotations()}
70 * <li>{@link #runtimeVisibleParameterAnnotations()}
71 * <li>{@link #signature()}
72 * <li>{@link #sourceFile()}
73 * <li>{@link #sourceId()}
74 * </ul>
75 *
76 * The mappers with {@link AttributeStability#LABELS LABELS} stability are:
110 public static final String NAME_COMPILATION_ID = "CompilationID";
111
112 /** ConstantValue */
113 public static final String NAME_CONSTANT_VALUE = "ConstantValue";
114
115 /** Deprecated */
116 public static final String NAME_DEPRECATED = "Deprecated";
117
118 /** EnclosingMethod */
119 public static final String NAME_ENCLOSING_METHOD = "EnclosingMethod";
120
121 /** Exceptions */
122 public static final String NAME_EXCEPTIONS = "Exceptions";
123
124 /** InnerClasses */
125 public static final String NAME_INNER_CLASSES = "InnerClasses";
126
127 /** LineNumberTable */
128 public static final String NAME_LINE_NUMBER_TABLE = "LineNumberTable";
129
130 /** LoadableDescriptors */
131 public static final String NAME_LOADABLE_DESCRIPTORS = "LoadableDescriptors";
132
133 /** LocalVariableTable */
134 public static final String NAME_LOCAL_VARIABLE_TABLE = "LocalVariableTable";
135
136 /** LocalVariableTypeTable */
137 public static final String NAME_LOCAL_VARIABLE_TYPE_TABLE = "LocalVariableTypeTable";
138
139 /** MethodParameters */
140 public static final String NAME_METHOD_PARAMETERS = "MethodParameters";
141
142 /** Module */
143 public static final String NAME_MODULE = "Module";
144
145 /** ModuleHashes */
146 public static final String NAME_MODULE_HASHES = "ModuleHashes";
147
148 /** ModuleMainClass */
149 public static final String NAME_MODULE_MAIN_CLASS = "ModuleMainClass";
150
151 /** ModulePackages */
152 public static final String NAME_MODULE_PACKAGES = "ModulePackages";
282 return ExceptionsMapper.INSTANCE;
283 }
284
285 /**
286 * {@return Attribute mapper for the {@code InnerClasses} attribute}
287 * @since 23
288 */
289 public static AttributeMapper<InnerClassesAttribute> innerClasses() {
290 return InnerClassesMapper.INSTANCE;
291 }
292
293 /**
294 * {@return Attribute mapper for the {@code LineNumberTable} attribute}
295 * The mapper permits multiple instances in a given location.
296 * @since 23
297 */
298 public static AttributeMapper<LineNumberTableAttribute> lineNumberTable() {
299 return LineNumberTableMapper.INSTANCE;
300 }
301
302 /**
303 * {@return Attribute mapper for the {@code LoadableDescriptors} attribute}
304 * @since 23
305 */
306 public static AttributeMapper<LoadableDescriptorsAttribute> loadableDescriptors() {
307 return LoadableDescriptorsMapper.INSTANCE;
308 }
309
310 /**
311 * {@return Attribute mapper for the {@code LocalVariableTable} attribute}
312 * The mapper permits multiple instances in a given location.
313 * @since 23
314 */
315 public static AttributeMapper<LocalVariableTableAttribute> localVariableTable() {
316 return LocalVariableTableMapper.INSTANCE;
317 }
318
319 /**
320 * {@return Attribute mapper for the {@code LocalVariableTypeTable} attribute}
321 * The mapper permits multiple instances in a given location.
322 * @since 23
323 */
324 public static AttributeMapper<LocalVariableTypeTableAttribute> localVariableTypeTable() {
325 return LocalVariableTypeTableMapper.INSTANCE;
326 }
327
328 /**
329 * {@return Attribute mapper for the {@code MethodParameters} attribute}
|