KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > core > util > IAttributeNamesConstants


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.core.util;
12
13 /**
14  * Description of attribute names as described in the JVM specifications.
15  *
16  * This interface is not intended to be implemented by clients.
17  *
18  * @since 2.0
19  */

20 public interface IAttributeNamesConstants {
21     /**
22      * "Synthetic" attribute.
23      * <p>Note that prior to JDK 1.5, synthetic elements were always marked
24      * using an attribute; with 1.5, synthetic elements can also be marked
25      * using the {@link IModifierConstants#ACC_SYNTHETIC} flag.
26      * </p>
27      * @since 2.0
28      */

29     char[] SYNTHETIC = "Synthetic".toCharArray(); //$NON-NLS-1$
30

31     /**
32      * "ConstantValue" attribute.
33      * @since 2.0
34      */

35     char[] CONSTANT_VALUE = "ConstantValue".toCharArray(); //$NON-NLS-1$
36

37     /**
38      * "LineNumberTable" attribute.
39      * @since 2.0
40      */

41     char[] LINE_NUMBER = "LineNumberTable".toCharArray(); //$NON-NLS-1$
42

43     /**
44      * "LocalVariableTable" attribute.
45      * @since 2.0
46      */

47     char[] LOCAL_VARIABLE = "LocalVariableTable".toCharArray(); //$NON-NLS-1$
48

49     /**
50      * "InnerClasses" attribute.
51      * @since 2.0
52      */

53     char[] INNER_CLASSES = "InnerClasses".toCharArray(); //$NON-NLS-1$
54

55     /**
56      * "Code" attribute.
57      * @since 2.0
58      */

59     char[] CODE = "Code".toCharArray(); //$NON-NLS-1$
60

61     /**
62      * "Exceptions" attribute.
63      * @since 2.0
64      */

65     char[] EXCEPTIONS = "Exceptions".toCharArray(); //$NON-NLS-1$
66

67     /**
68      * "SourceFile" attribute.
69      * @since 2.0
70      */

71     char[] SOURCE = "SourceFile".toCharArray(); //$NON-NLS-1$
72

73     /**
74      * "Deprecated" attribute.
75      * @since 2.0
76      */

77     char[] DEPRECATED = "Deprecated".toCharArray(); //$NON-NLS-1$
78

79     /**
80      * "Signature" attribute (added in J2SE 1.5).
81      * Class file readers which support J2SE 1.5 return
82      * attributes with this name represented by objects
83      * implementing {@link ISignatureAttribute}.
84      * @since 3.0
85      */

86     char[] SIGNATURE = "Signature".toCharArray(); //$NON-NLS-1$
87

88     /**
89      * "EnclosingMethod" attribute (added in J2SE 1.5).
90      * Class file readers which support J2SE 1.5 return
91      * attributes with this name represented by objects
92      * implementing {@link IEnclosingMethodAttribute}.
93      * @since 3.0
94      */

95     char[] ENCLOSING_METHOD = "EnclosingMethod".toCharArray(); //$NON-NLS-1$
96

97     /**
98      * "LocalVariableTypeTable" attribute (added in J2SE 1.5).
99      * @since 3.0
100      */

101     char[] LOCAL_VARIABLE_TYPE_TABLE = "LocalVariableTypeTable".toCharArray(); //$NON-NLS-1$
102

103     /**
104      * "RuntimeVisibleAnnotations" attribute (added in J2SE 1.5).
105      * @since 3.0
106      */

107     char[] RUNTIME_VISIBLE_ANNOTATIONS = "RuntimeVisibleAnnotations".toCharArray(); //$NON-NLS-1$
108

109     /**
110      * "RuntimeInvisibleAnnotations" attribute (added in J2SE 1.5).
111      * @since 3.0
112      */

113     char[] RUNTIME_INVISIBLE_ANNOTATIONS = "RuntimeInvisibleAnnotations".toCharArray(); //$NON-NLS-1$
114

115     /**
116      * "RuntimeVisibleParameterAnnotations" attribute (added in J2SE 1.5).
117      * @since 3.0
118      */

119     char[] RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS = "RuntimeVisibleParameterAnnotations".toCharArray(); //$NON-NLS-1$
120

121     /**
122      * "RuntimeInvisibleParameterAnnotations" attribute (added in J2SE 1.5).
123      * @since 3.0
124      */

125     char[] RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS = "RuntimeInvisibleParameterAnnotations".toCharArray(); //$NON-NLS-1$
126

127     /**
128      * "AnnotationDefault" attribute (added in J2SE 1.5).
129      * @since 3.0
130      */

131     char[] ANNOTATION_DEFAULT = "AnnotationDefault".toCharArray(); //$NON-NLS-1$
132

133     /**
134      * "StackMapTable" attribute (added in J2SE 1.6).
135      * @since 3.2
136      */

137     char[] STACK_MAP_TABLE = "StackMapTable".toCharArray(); //$NON-NLS-1$
138

139     /**
140      * "StackMap" attribute (added in cldc1.0).
141      * @since 3.2
142      */

143     char[] STACK_MAP = "StackMap".toCharArray(); //$NON-NLS-1$
144
}
145
Popular Tags