< prev index next >

src/java.base/share/classes/java/lang/classfile/Attributes.java

Print this page

 64     public static final String NAME_COMPILATION_ID = "CompilationID";
 65 
 66     /** ConstantValue */
 67     public static final String NAME_CONSTANT_VALUE = "ConstantValue";
 68 
 69     /** Deprecated */
 70     public static final String NAME_DEPRECATED = "Deprecated";
 71 
 72     /** EnclosingMethod */
 73     public static final String NAME_ENCLOSING_METHOD = "EnclosingMethod";
 74 
 75     /** Exceptions */
 76     public static final String NAME_EXCEPTIONS = "Exceptions";
 77 
 78     /** InnerClasses */
 79     public static final String NAME_INNER_CLASSES = "InnerClasses";
 80 
 81     /** LineNumberTable */
 82     public static final String NAME_LINE_NUMBER_TABLE = "LineNumberTable";
 83 



 84     /** LocalVariableTable */
 85     public static final String NAME_LOCAL_VARIABLE_TABLE = "LocalVariableTable";
 86 
 87     /** LocalVariableTypeTable */
 88     public static final String NAME_LOCAL_VARIABLE_TYPE_TABLE = "LocalVariableTypeTable";
 89 
 90     /** MethodParameters */
 91     public static final String NAME_METHOD_PARAMETERS = "MethodParameters";
 92 
 93     /** Module */
 94     public static final String NAME_MODULE = "Module";
 95 
 96     /** ModuleHashes */
 97     public static final String NAME_MODULE_HASHES = "ModuleHashes";
 98 
 99     /** ModuleMainClass */
100     public static final String NAME_MODULE_MAIN_CLASS = "ModuleMainClass";
101 
102     /** ModulePackages */
103     public static final String NAME_MODULE_PACKAGES = "ModulePackages";

228     public static AttributeMapper<ExceptionsAttribute> exceptions() {
229         return ExceptionsMapper.INSTANCE;
230     }
231 
232     /**
233      * {@return the mapper for the {@code InnerClasses} attribute}
234      */
235     public static AttributeMapper<InnerClassesAttribute> innerClasses() {
236         return InnerClassesMapper.INSTANCE;
237     }
238 
239     /**
240      * {@return the mapper for the {@code LineNumberTable} attribute}
241      * The mapper permits multiple instances in a {@code Code} attribute.
242      * This has a data dependency on {@linkplain AttributeStability#LABELS labels}.
243      */
244     public static AttributeMapper<LineNumberTableAttribute> lineNumberTable() {
245         return LineNumberTableMapper.INSTANCE;
246     }
247 








248     /**
249      * {@return the mapper for the {@code LocalVariableTable} attribute}
250      * The mapper permits multiple instances in a {@code Code} attribute.
251      * This has a data dependency on {@linkplain AttributeStability#LABELS labels}.
252      */
253     public static AttributeMapper<LocalVariableTableAttribute> localVariableTable() {
254         return LocalVariableTableMapper.INSTANCE;
255     }
256 
257     /**
258      * {@return the mapper for the {@code LocalVariableTypeTable} attribute}
259      * The mapper permits multiple instances in a given location.
260      * This has a data dependency on {@linkplain AttributeStability#LABELS labels}.
261      */
262     public static AttributeMapper<LocalVariableTypeTableAttribute> localVariableTypeTable() {
263         return LocalVariableTypeTableMapper.INSTANCE;
264     }
265 
266     /**
267      * {@return the mapper for the {@code MethodParameters} attribute}

 64     public static final String NAME_COMPILATION_ID = "CompilationID";
 65 
 66     /** ConstantValue */
 67     public static final String NAME_CONSTANT_VALUE = "ConstantValue";
 68 
 69     /** Deprecated */
 70     public static final String NAME_DEPRECATED = "Deprecated";
 71 
 72     /** EnclosingMethod */
 73     public static final String NAME_ENCLOSING_METHOD = "EnclosingMethod";
 74 
 75     /** Exceptions */
 76     public static final String NAME_EXCEPTIONS = "Exceptions";
 77 
 78     /** InnerClasses */
 79     public static final String NAME_INNER_CLASSES = "InnerClasses";
 80 
 81     /** LineNumberTable */
 82     public static final String NAME_LINE_NUMBER_TABLE = "LineNumberTable";
 83 
 84     /** LoadableDescriptors */
 85     public static final String NAME_LOADABLE_DESCRIPTORS = "LoadableDescriptors";
 86 
 87     /** LocalVariableTable */
 88     public static final String NAME_LOCAL_VARIABLE_TABLE = "LocalVariableTable";
 89 
 90     /** LocalVariableTypeTable */
 91     public static final String NAME_LOCAL_VARIABLE_TYPE_TABLE = "LocalVariableTypeTable";
 92 
 93     /** MethodParameters */
 94     public static final String NAME_METHOD_PARAMETERS = "MethodParameters";
 95 
 96     /** Module */
 97     public static final String NAME_MODULE = "Module";
 98 
 99     /** ModuleHashes */
100     public static final String NAME_MODULE_HASHES = "ModuleHashes";
101 
102     /** ModuleMainClass */
103     public static final String NAME_MODULE_MAIN_CLASS = "ModuleMainClass";
104 
105     /** ModulePackages */
106     public static final String NAME_MODULE_PACKAGES = "ModulePackages";

231     public static AttributeMapper<ExceptionsAttribute> exceptions() {
232         return ExceptionsMapper.INSTANCE;
233     }
234 
235     /**
236      * {@return the mapper for the {@code InnerClasses} attribute}
237      */
238     public static AttributeMapper<InnerClassesAttribute> innerClasses() {
239         return InnerClassesMapper.INSTANCE;
240     }
241 
242     /**
243      * {@return the mapper for the {@code LineNumberTable} attribute}
244      * The mapper permits multiple instances in a {@code Code} attribute.
245      * This has a data dependency on {@linkplain AttributeStability#LABELS labels}.
246      */
247     public static AttributeMapper<LineNumberTableAttribute> lineNumberTable() {
248         return LineNumberTableMapper.INSTANCE;
249     }
250 
251     /**
252      * {@return Attribute mapper for the {@code LoadableDescriptors} attribute}
253      * @since 23
254      */
255     public static AttributeMapper<LoadableDescriptorsAttribute> loadableDescriptors() {
256         return LoadableDescriptorsMapper.INSTANCE;
257     }
258 
259     /**
260      * {@return the mapper for the {@code LocalVariableTable} attribute}
261      * The mapper permits multiple instances in a {@code Code} attribute.
262      * This has a data dependency on {@linkplain AttributeStability#LABELS labels}.
263      */
264     public static AttributeMapper<LocalVariableTableAttribute> localVariableTable() {
265         return LocalVariableTableMapper.INSTANCE;
266     }
267 
268     /**
269      * {@return the mapper for the {@code LocalVariableTypeTable} attribute}
270      * The mapper permits multiple instances in a given location.
271      * This has a data dependency on {@linkplain AttributeStability#LABELS labels}.
272      */
273     public static AttributeMapper<LocalVariableTypeTableAttribute> localVariableTypeTable() {
274         return LocalVariableTypeTableMapper.INSTANCE;
275     }
276 
277     /**
278      * {@return the mapper for the {@code MethodParameters} attribute}
< prev index next >