KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > soot > coffi > attribute_info


1 /* Soot - a J*va Optimization Framework
2  * Copyright (C) 1997 Clark Verbrugge
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */

19
20 /*
21  * Modified by the Sable Research Group and others 1997-1999.
22  * See the 'credits' file distributed with Soot for the complete list of
23  * contributors. (Soot is distributed at http://www.sable.mcgill.ca/soot)
24  */

25
26
27
28
29
30
31
32 package soot.coffi;
33
34 import java.io.*;
35
36 /** Generic superclass for all attributes.
37  * @author Clark Verbrugge
38  */

39 class attribute_info {
40    /** String by which a SourceFile attribute is recognized.
41     * @see SourceFile_attribute
42     */

43    public static final String JavaDoc SourceFile = "SourceFile";
44    /** String by which a ConstantValue attribute is recognized.
45     * @see ConstantValue_attribute
46     */

47    public static final String JavaDoc ConstantValue = "ConstantValue";
48    /** String by which a Code attribute is recognized.
49     * @see Code_attribute
50     */

51    public static final String JavaDoc Code = "Code";
52    /** String by which an Exceptions attribute is recognized.
53     * @see Exception_attribute
54     */

55    public static final String JavaDoc Exceptions = "Exceptions";
56    /** String by which a LineNumberTable attribute is recognized.
57     * @see LineNumberTable_attribute
58     */

59    public static final String JavaDoc LineNumberTable = "LineNumberTable";
60    /** String by which a LocalVariableTable attribute is recognized.
61     * @see LocalVariableTable_attribute
62     */

63    public static final String JavaDoc LocalVariableTable = "LocalVariableTable";
64    /** String by which a InnerClasses attribute is recognized.
65     * @see InnerClasses_attribute
66     */

67    public static final String JavaDoc InnerClasses = "InnerClasses";
68    /** String by which a Synthetic attribute is recognized.
69     * @see Synthetic_attribute
70     */

71    public static final String JavaDoc Synthetic = "Synthetic";
72    
73    /**
74     * the following tags are added for java1.5
75     */

76    
77    /** String by which a Synthetic attribute is recognized.
78     * @see Signature_attribute
79     */

80    public static final String JavaDoc Signature = "Signature";
81
82    /** String by which a Deprecated attribute is recognized.
83     * @see Deprecated_attribute
84     */

85    public static final String JavaDoc Deprecated = "Deprecated";
86
87    /** String by which a EnclosingMethod attribute is recognized.
88     * @see EnclosingMethod_attribute
89     */

90    public static final String JavaDoc EnclosingMethod = "EnclosingMethod";
91    
92    /** String by which a LocalVariableTypeTable attribute is recognized.
93     * @see LocalVariableTypeTable_attribute
94     */

95    public static final String JavaDoc LocalVariableTypeTable = "LocalVariableTypeTable";
96    
97    /** String by which a runtime visible annotation attribute is recognized.
98     * @see RuntimeVisibleAnnotations_attribute
99     */

100    public static final String JavaDoc RuntimeVisibleAnnotations = "RuntimeVisibleAnnotations";
101
102    /** String by which a runtime invisible annotation attribute is recognized.
103     * @see RuntimeInvisibleAnnotations_attribute
104     */

105    public static final String JavaDoc RuntimeInvisibleAnnotations = "RuntimeInvisibleAnnotations";
106
107    /** String by which a runtime visible parameter annotation attribute
108     * is recognized.
109     * @see RuntimeVisibleParameterAnnotations_attribute
110     */

111    public static final String JavaDoc RuntimeVisibleParameterAnnotations = "RuntimeVisibleParameterAnnotations";
112
113    /** String by which a runtime invisible parameter annotation attribute
114     * is recognized.
115     * @see RuntimeInvisibleParameterAnnotations_attribute
116     */

117    public static final String JavaDoc RuntimeInvisibleParameterAnnotations = "RuntimeInvisibleParameterAnnotations";
118
119    /** String by which an annotation default attribute
120     * is recognized.
121     * @see AnnotationDefault_attribute
122     */

123    public static final String JavaDoc AnnotationDefault = "AnnotationDefault";
124
125    /** Constant pool index of the name of this attribute; should be a utf8 String
126     * matching one of the constant Strings define here.
127     * @see attribute_info#SourceFile
128     * @see attribute_info#ConstantValue
129     * @see attribute_info#Code
130     * @see attribute_info#Exceptions
131     * @see attribute_info#LineNumberTable
132     * @see attribute_info#LocalVariableTable
133     * @see attribute_info#InnerClasses
134     * @see CONSTANT_Utf8_info
135     */

136    public int attribute_name;
137    /** Length of attribute in bytes. */
138    public long attribute_length;
139 }
140
Popular Tags