001: /*******************************************************************************
002: * Copyright (c) 2000, 2006 IBM Corporation and others.
003: * All rights reserved. This program and the accompanying materials
004: * are made available under the terms of the Eclipse Public License v1.0
005: * which accompanies this distribution, and is available at
006: * http://www.eclipse.org/legal/epl-v10.html
007: *
008: * Contributors:
009: * IBM Corporation - initial API and implementation
010: *******************************************************************************/package org.eclipse.jdt.core.util;
011:
012: /**
013: * Description of attribute names as described in the JVM specifications.
014: *
015: * This interface is not intended to be implemented by clients.
016: *
017: * @since 2.0
018: */
019: public interface IAttributeNamesConstants {
020: /**
021: * "Synthetic" attribute.
022: * <p>Note that prior to JDK 1.5, synthetic elements were always marked
023: * using an attribute; with 1.5, synthetic elements can also be marked
024: * using the {@link IModifierConstants#ACC_SYNTHETIC} flag.
025: * </p>
026: * @since 2.0
027: */
028: char[] SYNTHETIC = "Synthetic".toCharArray(); //$NON-NLS-1$
029:
030: /**
031: * "ConstantValue" attribute.
032: * @since 2.0
033: */
034: char[] CONSTANT_VALUE = "ConstantValue".toCharArray(); //$NON-NLS-1$
035:
036: /**
037: * "LineNumberTable" attribute.
038: * @since 2.0
039: */
040: char[] LINE_NUMBER = "LineNumberTable".toCharArray(); //$NON-NLS-1$
041:
042: /**
043: * "LocalVariableTable" attribute.
044: * @since 2.0
045: */
046: char[] LOCAL_VARIABLE = "LocalVariableTable".toCharArray(); //$NON-NLS-1$
047:
048: /**
049: * "InnerClasses" attribute.
050: * @since 2.0
051: */
052: char[] INNER_CLASSES = "InnerClasses".toCharArray(); //$NON-NLS-1$
053:
054: /**
055: * "Code" attribute.
056: * @since 2.0
057: */
058: char[] CODE = "Code".toCharArray(); //$NON-NLS-1$
059:
060: /**
061: * "Exceptions" attribute.
062: * @since 2.0
063: */
064: char[] EXCEPTIONS = "Exceptions".toCharArray(); //$NON-NLS-1$
065:
066: /**
067: * "SourceFile" attribute.
068: * @since 2.0
069: */
070: char[] SOURCE = "SourceFile".toCharArray(); //$NON-NLS-1$
071:
072: /**
073: * "Deprecated" attribute.
074: * @since 2.0
075: */
076: char[] DEPRECATED = "Deprecated".toCharArray(); //$NON-NLS-1$
077:
078: /**
079: * "Signature" attribute (added in J2SE 1.5).
080: * Class file readers which support J2SE 1.5 return
081: * attributes with this name represented by objects
082: * implementing {@link ISignatureAttribute}.
083: * @since 3.0
084: */
085: char[] SIGNATURE = "Signature".toCharArray(); //$NON-NLS-1$
086:
087: /**
088: * "EnclosingMethod" attribute (added in J2SE 1.5).
089: * Class file readers which support J2SE 1.5 return
090: * attributes with this name represented by objects
091: * implementing {@link IEnclosingMethodAttribute}.
092: * @since 3.0
093: */
094: char[] ENCLOSING_METHOD = "EnclosingMethod".toCharArray(); //$NON-NLS-1$
095:
096: /**
097: * "LocalVariableTypeTable" attribute (added in J2SE 1.5).
098: * @since 3.0
099: */
100: char[] LOCAL_VARIABLE_TYPE_TABLE = "LocalVariableTypeTable".toCharArray(); //$NON-NLS-1$
101:
102: /**
103: * "RuntimeVisibleAnnotations" attribute (added in J2SE 1.5).
104: * @since 3.0
105: */
106: char[] RUNTIME_VISIBLE_ANNOTATIONS = "RuntimeVisibleAnnotations".toCharArray(); //$NON-NLS-1$
107:
108: /**
109: * "RuntimeInvisibleAnnotations" attribute (added in J2SE 1.5).
110: * @since 3.0
111: */
112: char[] RUNTIME_INVISIBLE_ANNOTATIONS = "RuntimeInvisibleAnnotations".toCharArray(); //$NON-NLS-1$
113:
114: /**
115: * "RuntimeVisibleParameterAnnotations" attribute (added in J2SE 1.5).
116: * @since 3.0
117: */
118: char[] RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS = "RuntimeVisibleParameterAnnotations".toCharArray(); //$NON-NLS-1$
119:
120: /**
121: * "RuntimeInvisibleParameterAnnotations" attribute (added in J2SE 1.5).
122: * @since 3.0
123: */
124: char[] RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS = "RuntimeInvisibleParameterAnnotations".toCharArray(); //$NON-NLS-1$
125:
126: /**
127: * "AnnotationDefault" attribute (added in J2SE 1.5).
128: * @since 3.0
129: */
130: char[] ANNOTATION_DEFAULT = "AnnotationDefault".toCharArray(); //$NON-NLS-1$
131:
132: /**
133: * "StackMapTable" attribute (added in J2SE 1.6).
134: * @since 3.2
135: */
136: char[] STACK_MAP_TABLE = "StackMapTable".toCharArray(); //$NON-NLS-1$
137:
138: /**
139: * "StackMap" attribute (added in cldc1.0).
140: * @since 3.2
141: */
142: char[] STACK_MAP = "StackMap".toCharArray(); //$NON-NLS-1$
143: }
|