Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 403810 | Differences between
and this patch

Collapse All | Expand All

(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java (-3 / +3 lines)
Lines 188-192 Link Here
188
	 * </p>
188
	 * </p>
189
	 *
189
	 *
190
	 * @since 3.9
190
	 * @since 3.9 BETA_JAVA8
191
	 */
191
	 */
192
	public static final int JLS8 = 8;
192
	public static final int JLS8 = 8;
Lines 1450-1454 Link Here
1450
	 * @exception UnsupportedOperationException if this operation is used
1450
	 * @exception UnsupportedOperationException if this operation is used
1451
	 *            in a JLS2, JLS3 or JLS4 AST
1451
	 *            in a JLS2, JLS3 or JLS4 AST
1452
	 * @since 3.9
1452
	 * @since 3.9 BETA_JAVA8
1453
	 */
1453
	 */
1454
	public ExtraDimension newExtraDimension() {
1454
	public ExtraDimension newExtraDimension() {
Lines 1601-1605 Link Here
1601
	 * @return a new unparented lambda expression node
1601
	 * @return a new unparented lambda expression node
1602
	 * @exception UnsupportedOperationException if this operation is used in a JLS2, JLS3 or JLS4 AST
1602
	 * @exception UnsupportedOperationException if this operation is used in a JLS2, JLS3 or JLS4 AST
1603
	 * @since 3.9
1603
	 * @since 3.9 BETA_JAVA8
1604
	 */
1604
	 */
1605
	public LambdaExpression newLambdaExpression() {
1605
	public LambdaExpression newLambdaExpression() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTMatcher.java (-2 / +2 lines)
Lines 855-859 Link Here
855
	 *   <code>false</code> if they do not match or the other object has a
855
	 *   <code>false</code> if they do not match or the other object has a
856
	 *   different node type or is <code>null</code>
856
	 *   different node type or is <code>null</code>
857
	 * @since 3.9
857
	 * @since 3.9 BETA_JAVA8
858
	 */
858
	 */
859
	public boolean match(ExtraDimension node, Object other) {
859
	public boolean match(ExtraDimension node, Object other) {
Lines 1210-1214 Link Here
1210
	 *   <code>false</code> if they do not match or the other object has a
1210
	 *   <code>false</code> if they do not match or the other object has a
1211
	 *   different node type or is <code>null</code>
1211
	 *   different node type or is <code>null</code>
1212
	 * @since 3.9
1212
	 * @since 3.9 BETA_JAVA8
1213
	 */
1213
	 */
1214
	public boolean match(LambdaExpression node, Object other) {
1214
	public boolean match(LambdaExpression node, Object other) {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java (-4 / +4 lines)
Lines 839-843 Link Here
839
	 *
839
	 *
840
	 * @see ExtraDimension
840
	 * @see ExtraDimension
841
	 * @since 3.9
841
	 * @since 3.9 BETA_JAVA8
842
	 */
842
	 */
843
	public static final int EXTRA_DIMENSION = 85;
843
	public static final int EXTRA_DIMENSION = 85;
Lines 847-851 Link Here
847
	 * <code>LambdaExpression</code>.
847
	 * <code>LambdaExpression</code>.
848
	 * @see LambdaExpression
848
	 * @see LambdaExpression
849
	 * @since 3.9
849
	 * @since 3.9 BETA_JAVA8
850
	 */
850
	 */
851
	public static final int LAMBDA_EXPRESSION = 86;
851
	public static final int LAMBDA_EXPRESSION = 86;
Lines 1921-1925 Link Here
1921
     * 
1921
     * 
1922
	 * @exception UnsupportedOperationException if this operation is used below JLS8
1922
	 * @exception UnsupportedOperationException if this operation is used below JLS8
1923
	 * @since 3.9
1923
	 * @since 3.9 BETA_JAVA8
1924
	 */
1924
	 */
1925
	final void unsupportedIn2_3_4() {
1925
	final void unsupportedIn2_3_4() {
Lines 1954-1958 Link Here
1954
     * 
1954
     * 
1955
	 * @exception UnsupportedOperationException if this operation is used in an AST later than JLS4
1955
	 * @exception UnsupportedOperationException if this operation is used in an AST later than JLS4
1956
     * @since 3.9
1956
     * @since 3.9 BETA_JAVA8
1957
     */
1957
     */
1958
	// In API Javadocs, add: * @deprecated In the JLS8 API, this method is replaced by {@link #replacement()}.
1958
	// In API Javadocs, add: * @deprecated In the JLS8 API, this method is replaced by {@link #replacement()}.
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTVisitor.java (-4 / +4 lines)
Lines 642-646 Link Here
642
	 * visited, and <code>false</code> if the children of this node should
642
	 * visited, and <code>false</code> if the children of this node should
643
	 * be skipped
643
	 * be skipped
644
	 * @since 3.9
644
	 * @since 3.9 BETA_JAVA8
645
	 */
645
	 */
646
	public boolean visit(ExtraDimension node) {
646
	public boolean visit(ExtraDimension node) {
Lines 843-847 Link Here
843
	 * visited, and <code>false</code> if the children of this node should
843
	 * visited, and <code>false</code> if the children of this node should
844
	 * be skipped
844
	 * be skipped
845
	 * @since 3.9
845
	 * @since 3.9 BETA_JAVA8
846
	 */
846
	 */
847
	public boolean visit(LambdaExpression node) {
847
	public boolean visit(LambdaExpression node) {
Lines 1994-1998 Link Here
1994
	 *
1994
	 *
1995
	 * @param node the node to visit
1995
	 * @param node the node to visit
1996
	 * @since 3.9
1996
	 * @since 3.9 BETA_JAVA8
1997
	 */
1997
	 */
1998
	public void endVisit(ExtraDimension node) {
1998
	public void endVisit(ExtraDimension node) {
Lines 2127-2131 Link Here
2127
	 *
2127
	 *
2128
	 * @param node the node to visit
2128
	 * @param node the node to visit
2129
	 * @since 3.9
2129
	 * @since 3.9 BETA_JAVA8
2130
	 */
2130
	 */
2131
	public void endVisit(LambdaExpression node) {
2131
	public void endVisit(LambdaExpression node) {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotatableType.java (-1 / +1 lines)
Lines 23-27 Link Here
23
 * AnnotatableType. For the list of types extending AnnotatableType, see {@link Type}.</p>
23
 * AnnotatableType. For the list of types extending AnnotatableType, see {@link Type}.</p>
24
 *
24
 *
25
 * @since 3.9
25
 * @since 3.9 BETA_JAVA8
26
 */
26
 */
27
public abstract class AnnotatableType extends Type {
27
public abstract class AnnotatableType extends Type {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ArrayType.java (-3 / +3 lines)
Lines 43-47 Link Here
43
	/**
43
	/**
44
	 * The "annotations" structural property of this node type (element type: {@link Annotation}).
44
	 * The "annotations" structural property of this node type (element type: {@link Annotation}).
45
	 * @since 3.9
45
	 * @since 3.9 BETA_JAVA8
46
	 */
46
	 */
47
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
47
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
Lines 58-62 Link Here
58
	 * {@link StructuralPropertyDescriptor}),
58
	 * {@link StructuralPropertyDescriptor}),
59
	 * or null if uninitialized.
59
	 * or null if uninitialized.
60
	 * @since 3.9
60
	 * @since 3.9 BETA_JAVA8
61
	 */
61
	 */
62
	private static final List PROPERTY_DESCRIPTORS_8_0;
62
	private static final List PROPERTY_DESCRIPTORS_8_0;
Lines 118-122 Link Here
118
	/* (omit javadoc for this method)
118
	/* (omit javadoc for this method)
119
	 * Method declared on AnnotatableType.
119
	 * Method declared on AnnotatableType.
120
	 * @since 3.9
120
	 * @since 3.9 BETA_JAVA8
121
	 */
121
	 */
122
	final ChildListPropertyDescriptor internalAnnotationsProperty() {
122
	final ChildListPropertyDescriptor internalAnnotationsProperty() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ExtraDimension.java (-1 / +1 lines)
Lines 32-36 Link Here
32
 * </pre>
32
 * </pre>
33
 *
33
 *
34
 * @since 3.9
34
 * @since 3.9 BETA_JAVA8
35
 * @noinstantiate This class is not intended to be instantiated by clients.
35
 * @noinstantiate This class is not intended to be instantiated by clients.
36
 */
36
 */
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/LambdaExpression.java (-1 / +1 lines)
Lines 32-36 Link Here
32
 *<p>The Body can be either a {@link Block} or an {@link Expression}.</p>
32
 *<p>The Body can be either a {@link Block} or an {@link Expression}.</p>
33
 *
33
 *
34
 * @since 3.9 
34
 * @since 3.9 BETA_JAVA8 
35
 * @noinstantiate This class is not intended to be instantiated by clients 
35
 * @noinstantiate This class is not intended to be instantiated by clients 
36
 */
36
 */
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java (-16 / +16 lines)
Lines 122-126 Link Here
122
	/**
122
	/**
123
	 * The "extraDimensions2" structural property of this node type (element type: {@link ExtraDimension}) (added in JLS8 API).
123
	 * The "extraDimensions2" structural property of this node type (element type: {@link ExtraDimension}) (added in JLS8 API).
124
	 * @since 3.9
124
	 * @since 3.9 BETA_JAVA8
125
	 */
125
	 */
126
	public static final ChildListPropertyDescriptor EXTRA_DIMENSIONS2_PROPERTY =
126
	public static final ChildListPropertyDescriptor EXTRA_DIMENSIONS2_PROPERTY =
Lines 143-147 Link Here
143
	/**
143
	/**
144
	 * The "receiverType" structural property of this node type (child type: {@link AnnotatableType}) (added in JLS8 API).
144
	 * The "receiverType" structural property of this node type (child type: {@link AnnotatableType}) (added in JLS8 API).
145
	 * @since 3.9
145
	 * @since 3.9 BETA_JAVA8
146
	 */
146
	 */
147
	public static final ChildPropertyDescriptor RECEIVER_TYPE_PROPERTY =
147
	public static final ChildPropertyDescriptor RECEIVER_TYPE_PROPERTY =
Lines 150-154 Link Here
150
	/**
150
	/**
151
	 * The "receiverQualifier" structural property of this node type (child type: {@link SimpleName}) (added in JLS8 API).
151
	 * The "receiverQualifier" structural property of this node type (child type: {@link SimpleName}) (added in JLS8 API).
152
	 * @since 3.9
152
	 * @since 3.9 BETA_JAVA8
153
	 */
153
	 */
154
	public static final ChildPropertyDescriptor RECEIVER_QUALIFIER_PROPERTY =
154
	public static final ChildPropertyDescriptor RECEIVER_QUALIFIER_PROPERTY =
Lines 165-169 Link Here
165
	/**
165
	/**
166
	 * The "thrownExceptionTypes" structural property of this node type (element type: {@link Type}) (added in JLS8 API).
166
	 * The "thrownExceptionTypes" structural property of this node type (element type: {@link Type}) (added in JLS8 API).
167
	 * @since 3.9
167
	 * @since 3.9 BETA_JAVA8
168
	 */
168
	 */
169
	public static final ChildListPropertyDescriptor THROWN_EXCEPTION_TYPES_PROPERTY =
169
	public static final ChildListPropertyDescriptor THROWN_EXCEPTION_TYPES_PROPERTY =
Lines 197-201 Link Here
197
	 * {@link StructuralPropertyDescriptor}),
197
	 * {@link StructuralPropertyDescriptor}),
198
	 * or null if uninitialized.
198
	 * or null if uninitialized.
199
	 * @since 3.9
199
	 * @since 3.9 BETA_JAVA8
200
	 */
200
	 */
201
	private static final List PROPERTY_DESCRIPTORS_8_0;
201
	private static final List PROPERTY_DESCRIPTORS_8_0;
Lines 280-284 Link Here
280
	 * The explicit receiver type, or <code>null</code> if none.
280
	 * The explicit receiver type, or <code>null</code> if none.
281
	 * Defaults to none.
281
	 * Defaults to none.
282
	 * @since 3.9
282
	 * @since 3.9 BETA_JAVA8
283
	 */
283
	 */
284
	private AnnotatableType optionalReceiverType = null;
284
	private AnnotatableType optionalReceiverType = null;
Lines 287-291 Link Here
287
	 * Qualifying name of the explicit </code>this</code> parameter, or <code>null</code> if none.
287
	 * Qualifying name of the explicit </code>this</code> parameter, or <code>null</code> if none.
288
	 * Defaults to none.
288
	 * Defaults to none.
289
	 * @since 3.9
289
	 * @since 3.9 BETA_JAVA8
290
	 */
290
	 */
291
	private SimpleName optionalReceiverQualifier = null;
291
	private SimpleName optionalReceiverQualifier = null;
Lines 336-340 Link Here
336
	 * (see constructor).
336
	 * (see constructor).
337
	 * 
337
	 * 
338
	 * @since 3.9
338
	 * @since 3.9 BETA_JAVA8
339
	 */
339
	 */
340
	private ASTNode.NodeList extraDimensions = null;
340
	private ASTNode.NodeList extraDimensions = null;
Lines 353-357 Link Here
353
	 * (see constructor).
353
	 * (see constructor).
354
	 * 
354
	 * 
355
	 * @since 3.9
355
	 * @since 3.9 BETA_JAVA8
356
	 */
356
	 */
357
	private ASTNode.NodeList thrownExceptionTypes = null;
357
	private ASTNode.NodeList thrownExceptionTypes = null;
Lines 733-737 Link Here
733
	 * @return the receiver type or <code>null</code> if receiver is not declared explicitly
733
	 * @return the receiver type or <code>null</code> if receiver is not declared explicitly
734
	 * @exception UnsupportedOperationException if this operation is used below JLS8
734
	 * @exception UnsupportedOperationException if this operation is used below JLS8
735
	 * @since 3.9
735
	 * @since 3.9 BETA_JAVA8
736
	 */
736
	 */
737
	public AnnotatableType getReceiverType() {
737
	public AnnotatableType getReceiverType() {
Lines 748-752 Link Here
748
	 * @param receiverType type of the explicit receiver parameter, or <code>null</code> if there is none
748
	 * @param receiverType type of the explicit receiver parameter, or <code>null</code> if there is none
749
	 * @exception UnsupportedOperationException if this operation is used below JLS8
749
	 * @exception UnsupportedOperationException if this operation is used below JLS8
750
	 * @since 3.9
750
	 * @since 3.9 BETA_JAVA8
751
	 */
751
	 */
752
	public void setReceiverType(AnnotatableType receiverType) {
752
	public void setReceiverType(AnnotatableType receiverType) {
Lines 766-770 Link Here
766
	 * @returns the qualifying name or <code>null</code> if a qualifier was not specified
766
	 * @returns the qualifying name or <code>null</code> if a qualifier was not specified
767
	 * @exception UnsupportedOperationException if this operation is used below JLS8
767
	 * @exception UnsupportedOperationException if this operation is used below JLS8
768
	 * @since 3.9
768
	 * @since 3.9 BETA_JAVA8
769
	 */
769
	 */
770
	public SimpleName getReceiverQualifier() {
770
	public SimpleName getReceiverQualifier() {
Lines 778-782 Link Here
778
	 * @param receiverQualifier explicit receiver parameter to be added to the method declaration
778
	 * @param receiverQualifier explicit receiver parameter to be added to the method declaration
779
	 * @exception UnsupportedOperationException if this operation is used below JLS8
779
	 * @exception UnsupportedOperationException if this operation is used below JLS8
780
	 * @since 3.9
780
	 * @since 3.9 BETA_JAVA8
781
	 */
781
	 */
782
	public void setReceiverQualifier(SimpleName receiverQualifier) {
782
	public void setReceiverQualifier(SimpleName receiverQualifier) {
Lines 843-847 Link Here
843
	 * @exception UnsupportedOperationException if this operation is used in
843
	 * @exception UnsupportedOperationException if this operation is used in
844
	 *    a JLS8 or later AST
844
	 *    a JLS8 or later AST
845
	 * @since 3.9
845
	 * @since 3.9 BETA_JAVA8
846
	 */
846
	 */
847
	/*package*/	List internalThrownExceptions() {
847
	/*package*/	List internalThrownExceptions() {
Lines 861-865 Link Here
861
	 * @exception UnsupportedOperationException if this operation is used
861
	 * @exception UnsupportedOperationException if this operation is used
862
	 *            in a JLS2, JLS3 or JLS4 AST    
862
	 *            in a JLS2, JLS3 or JLS4 AST    
863
	 * @since 3.9    	
863
	 * @since 3.9 BETA_JAVA8    	
864
	 */
864
	 */
865
	public List thrownExceptionTypes()  {
865
	public List thrownExceptionTypes()  {
Lines 1086-1090 Link Here
1086
	 * @return the live list of extra dimensions with optional annotations (element type: {@link ExtraDimension})
1086
	 * @return the live list of extra dimensions with optional annotations (element type: {@link ExtraDimension})
1087
	 * @exception UnsupportedOperationException if this operation is used below JLS8
1087
	 * @exception UnsupportedOperationException if this operation is used below JLS8
1088
	 * @since 3.9
1088
	 * @since 3.9 BETA_JAVA8
1089
	 */
1089
	 */
1090
	public List extraDimensions() {
1090
	public List extraDimensions() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Modifier.java (-4 / +4 lines)
Lines 102-106 Link Here
102
		 * internal and is not specified in the Java Virtual Machine Specification.
102
		 * internal and is not specified in the Java Virtual Machine Specification.
103
		 * </p>
103
		 * </p>
104
		 * @since 3.9
104
		 * @since 3.9 BETA_JAVA8
105
		 */
105
		 */
106
		public static final ModifierKeyword DEFAULT_KEYWORD = new ModifierKeyword("default", DEFAULT);//$NON-NLS-1$
106
		public static final ModifierKeyword DEFAULT_KEYWORD = new ModifierKeyword("default", DEFAULT);//$NON-NLS-1$
Lines 318-322 Link Here
318
	 * specified in the Java Virtual Machine Specification.
318
	 * specified in the Java Virtual Machine Specification.
319
	 * </p>
319
	 * </p>
320
	 * @since 3.9
320
	 * @since 3.9 BETA_JAVA8
321
	 */
321
	 */
322
	public static final int DEFAULT = 0x10000;
322
	public static final int DEFAULT = 0x10000;
Lines 479-483 Link Here
479
	 * @return <code>true</code> if the <code>DEFAULT</code> bit is set
479
	 * @return <code>true</code> if the <code>DEFAULT</code> bit is set
480
	 * and <code>false</code> otherwise
480
	 * and <code>false</code> otherwise
481
	 * @since 3.9
481
	 * @since 3.9 BETA_JAVA8
482
	 */
482
	 */
483
	public static boolean isDefault(int flags) {
483
	public static boolean isDefault(int flags) {
Lines 709-713 Link Here
709
	 * Answer true if the receiver is the default modifier, false otherwise.
709
	 * Answer true if the receiver is the default modifier, false otherwise.
710
	 * @return true if the receiver is the default modifier, false otherwise
710
	 * @return true if the receiver is the default modifier, false otherwise
711
	 * @since 3.9
711
	 * @since 3.9 BETA_JAVA8
712
	 */
712
	 */
713
	public boolean isDefault() {
713
	public boolean isDefault() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/PrimitiveType.java (-3 / +3 lines)
Lines 161-165 Link Here
161
	/**
161
	/**
162
	 * The "annotations" structural property of this node type (element type: {@link Annotation}).
162
	 * The "annotations" structural property of this node type (element type: {@link Annotation}).
163
	 * @since 3.9
163
	 * @since 3.9 BETA_JAVA8
164
	 */
164
	 */
165
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
165
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
Lines 183-187 Link Here
183
	 * {@link StructuralPropertyDescriptor}),
183
	 * {@link StructuralPropertyDescriptor}),
184
	 * or null if uninitialized.
184
	 * or null if uninitialized.
185
	 * @since 3.9
185
	 * @since 3.9 BETA_JAVA8
186
	 */
186
	 */
187
	private static final List PROPERTY_DESCRIPTORS_8_0;
187
	private static final List PROPERTY_DESCRIPTORS_8_0;
Lines 236-240 Link Here
236
	/* (omit javadoc for this method)
236
	/* (omit javadoc for this method)
237
	 * Method declared on AnnotatableType.
237
	 * Method declared on AnnotatableType.
238
	 * @since 3.9
238
	 * @since 3.9 BETA_JAVA8
239
	 */
239
	 */
240
	final ChildListPropertyDescriptor internalAnnotationsProperty() {
240
	final ChildListPropertyDescriptor internalAnnotationsProperty() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/QualifiedType.java (-3 / +3 lines)
Lines 79-83 Link Here
79
	/**
79
	/**
80
	 * The "annotations" structural property of this node type (element type: {@link Annotation}).
80
	 * The "annotations" structural property of this node type (element type: {@link Annotation}).
81
	 * @since 3.9
81
	 * @since 3.9 BETA_JAVA8
82
	 */
82
	 */
83
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
83
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
Lines 100-104 Link Here
100
	 * {@link StructuralPropertyDescriptor}),
100
	 * {@link StructuralPropertyDescriptor}),
101
	 * or null if uninitialized.
101
	 * or null if uninitialized.
102
	 * @since 3.9
102
	 * @since 3.9 BETA_JAVA8
103
	 */
103
	 */
104
	private static final List PROPERTY_DESCRIPTORS_8_0;
104
	private static final List PROPERTY_DESCRIPTORS_8_0;
Lines 167-171 Link Here
167
	/* (omit javadoc for this method)
167
	/* (omit javadoc for this method)
168
	 * Method declared on AnnotatableType.
168
	 * Method declared on AnnotatableType.
169
	 * @since 3.9
169
	 * @since 3.9 BETA_JAVA8
170
	 */
170
	 */
171
	final ChildListPropertyDescriptor internalAnnotationsProperty() {
171
	final ChildListPropertyDescriptor internalAnnotationsProperty() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SimpleType.java (-3 / +3 lines)
Lines 44-48 Link Here
44
	/**
44
	/**
45
	 * The "annotations" structural property of this node type (element type: {@link Annotation}).
45
	 * The "annotations" structural property of this node type (element type: {@link Annotation}).
46
	 * @since 3.9
46
	 * @since 3.9 BETA_JAVA8
47
	 */
47
	 */
48
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
48
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
Lines 66-70 Link Here
66
	 * {@link StructuralPropertyDescriptor}),
66
	 * {@link StructuralPropertyDescriptor}),
67
	 * or null if uninitialized.
67
	 * or null if uninitialized.
68
	 * @since 3.9
68
	 * @since 3.9 BETA_JAVA8
69
	 */
69
	 */
70
	private static final List PROPERTY_DESCRIPTORS_8_0;
70
	private static final List PROPERTY_DESCRIPTORS_8_0;
Lines 125-129 Link Here
125
	/* (omit javadoc for this method)
125
	/* (omit javadoc for this method)
126
	 * Method declared on AnnotatableType.
126
	 * Method declared on AnnotatableType.
127
	 * @since 3.9
127
	 * @since 3.9 BETA_JAVA8
128
	 */
128
	 */
129
	final ChildListPropertyDescriptor internalAnnotationsProperty() {
129
	final ChildListPropertyDescriptor internalAnnotationsProperty() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java (-6 / +6 lines)
Lines 63-67 Link Here
63
	 * The "varargsAnnotations" structural property of variable arguments of this node type (element type: {@link Annotation})
63
	 * The "varargsAnnotations" structural property of variable arguments of this node type (element type: {@link Annotation})
64
	 * (added in JLS8 API).
64
	 * (added in JLS8 API).
65
	 * @since 3.9
65
	 * @since 3.9 BETA_JAVA8
66
	 */
66
	 */
67
	public static final ChildListPropertyDescriptor VARARGS_ANNOTATIONS_PROPERTY =
67
	public static final ChildListPropertyDescriptor VARARGS_ANNOTATIONS_PROPERTY =
Lines 94-98 Link Here
94
	/**
94
	/**
95
	 * The "extraDimensions2" structural property of this node type (element type: {@link ExtraDimension}) (added in JLS8 API).
95
	 * The "extraDimensions2" structural property of this node type (element type: {@link ExtraDimension}) (added in JLS8 API).
96
	 * @since 3.9
96
	 * @since 3.9 BETA_JAVA8
97
	 */
97
	 */
98
	public static final ChildListPropertyDescriptor EXTRA_DIMENSIONS2_PROPERTY =
98
	public static final ChildListPropertyDescriptor EXTRA_DIMENSIONS2_PROPERTY =
Lines 126-130 Link Here
126
	 * {@link StructuralPropertyDescriptor}),
126
	 * {@link StructuralPropertyDescriptor}),
127
	 * or null if uninitialized.
127
	 * or null if uninitialized.
128
	 * @since 3.9
128
	 * @since 3.9 BETA_JAVA8
129
	 */
129
	 */
130
	private static final List PROPERTY_DESCRIPTORS_8_0;
130
	private static final List PROPERTY_DESCRIPTORS_8_0;
Lines 208-212 Link Here
208
	 * (see constructor).
208
	 * (see constructor).
209
	 * 
209
	 * 
210
	 * @since 3.9
210
	 * @since 3.9 BETA_JAVA8
211
	 */
211
	 */
212
	private ASTNode.NodeList varargsAnnotations = null;
212
	private ASTNode.NodeList varargsAnnotations = null;
Lines 259-263 Link Here
259
	/* (omit javadoc for this method)
259
	/* (omit javadoc for this method)
260
	 * Method declared on VariableDeclaration.
260
	 * Method declared on VariableDeclaration.
261
	 * @since 3.9
261
	 * @since 3.9 BETA_JAVA8
262
	 */
262
	 */
263
	final ChildListPropertyDescriptor internalExtraDimensions2Property() {
263
	final ChildListPropertyDescriptor internalExtraDimensions2Property() {
Lines 611-615 Link Here
611
	 * @exception UnsupportedOperationException if this operation is used
611
	 * @exception UnsupportedOperationException if this operation is used
612
	 *            in a JLS2, JLS3 or JLS4 AST
612
	 *            in a JLS2, JLS3 or JLS4 AST
613
	 * @since 3.9
613
	 * @since 3.9 BETA_JAVA8
614
	 */
614
	 */
615
	public List varargsAnnotations() {
615
	public List varargsAnnotations() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Type.java (-1 / +1 lines)
Lines 217-221 Link Here
217
	 * <code>false</code> otherwise
217
	 * <code>false</code> otherwise
218
	 * 			
218
	 * 			
219
	 * @since 3.9
219
	 * @since 3.9 BETA_JAVA8
220
	 */
220
	 */
221
	public boolean isAnnotatable() {
221
	public boolean isAnnotatable() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeParameter.java (-3 / +3 lines)
Lines 34-38 Link Here
34
	/**
34
	/**
35
	 * The "annotations" structural property of this node type (element type: {@link Annotation}) (added in JLS8 API).
35
	 * The "annotations" structural property of this node type (element type: {@link Annotation}) (added in JLS8 API).
36
	 * @since 3.9
36
	 * @since 3.9 BETA_JAVA8
37
	 */
37
	 */
38
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
38
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
Lines 61-65 Link Here
61
	 * {@link StructuralPropertyDescriptor}),
61
	 * {@link StructuralPropertyDescriptor}),
62
	 * or null if uninitialized.
62
	 * or null if uninitialized.
63
	 * @since 3.9
63
	 * @since 3.9 BETA_JAVA8
64
	 */
64
	 */
65
	private static final List PROPERTY_DESCRIPTORS_8_0;
65
	private static final List PROPERTY_DESCRIPTORS_8_0;
Lines 297-301 Link Here
297
	 * @exception UnsupportedOperationException if this operation is used
297
	 * @exception UnsupportedOperationException if this operation is used
298
	 *            in a JLS2, JLS3 or JLS4 AST
298
	 *            in a JLS2, JLS3 or JLS4 AST
299
	 * @since 3.9
299
	 * @since 3.9 BETA_JAVA8
300
	 */
300
	 */
301
	public List annotations() {
301
	public List annotations() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclaration.java (-5 / +5 lines)
Lines 52-56 Link Here
52
	 * (see constructor).
52
	 * (see constructor).
53
	 * 
53
	 * 
54
	 * @since 3.9
54
	 * @since 3.9 BETA_JAVA8
55
	 */
55
	 */
56
	ASTNode.NodeList extraDimensions = null;
56
	ASTNode.NodeList extraDimensions = null;
Lines 151-155 Link Here
151
	 *
151
	 *
152
	 * @return the property descriptor
152
	 * @return the property descriptor
153
	 * @since 3.9
153
	 * @since 3.9 BETA_JAVA8
154
	 */
154
	 */
155
	abstract ChildListPropertyDescriptor internalExtraDimensions2Property();
155
	abstract ChildListPropertyDescriptor internalExtraDimensions2Property();
Lines 160-164 Link Here
160
	 *
160
	 *
161
	 * @return the property descriptor
161
	 * @return the property descriptor
162
	 * @since 3.9
162
	 * @since 3.9 BETA_JAVA8
163
	 */
163
	 */
164
	public final ChildListPropertyDescriptor getExtraDimensions2Property() {
164
	public final ChildListPropertyDescriptor getExtraDimensions2Property() {
Lines 299-303 Link Here
299
	 * Internal synonym for deprecated method. Used to avoid
299
	 * Internal synonym for deprecated method. Used to avoid
300
	 * deprecation warnings.
300
	 * deprecation warnings.
301
	 * @since 3.9
301
	 * @since 3.9 BETA_JAVA8
302
	 */
302
	 */
303
	final void internalSetExtraDimensions(int dimensions) {
303
	final void internalSetExtraDimensions(int dimensions) {
Lines 320-324 Link Here
320
	 * @return the live list of extra dimensions with optional annotations (element type: {@link ExtraDimension})
320
	 * @return the live list of extra dimensions with optional annotations (element type: {@link ExtraDimension})
321
	 * @exception UnsupportedOperationException if this operation is used below JLS8
321
	 * @exception UnsupportedOperationException if this operation is used below JLS8
322
	 * @since 3.9
322
	 * @since 3.9 BETA_JAVA8
323
	 */
323
	 */
324
	public List extraDimensions() {
324
	public List extraDimensions() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationFragment.java (-3 / +3 lines)
Lines 49-53 Link Here
49
	/**
49
	/**
50
	 * The "extraDimensions2" structural property of this node type (element type: {@link ExtraDimension}) (added in JLS8 API).
50
	 * The "extraDimensions2" structural property of this node type (element type: {@link ExtraDimension}) (added in JLS8 API).
51
	 * @since 3.9
51
	 * @since 3.9 BETA_JAVA8
52
	 */
52
	 */
53
	public static final ChildListPropertyDescriptor EXTRA_DIMENSIONS2_PROPERTY =
53
	public static final ChildListPropertyDescriptor EXTRA_DIMENSIONS2_PROPERTY =
Lines 73-77 Link Here
73
	 * {@link StructuralPropertyDescriptor}),
73
	 * {@link StructuralPropertyDescriptor}),
74
	 * or null if uninitialized.
74
	 * or null if uninitialized.
75
	 * @since 3.9
75
	 * @since 3.9 BETA_JAVA8
76
	 */
76
	 */
77
	private static final List PROPERTY_DESCRIPTORS_8_0;
77
	private static final List PROPERTY_DESCRIPTORS_8_0;
Lines 143-147 Link Here
143
	/* (omit javadoc for this method)
143
	/* (omit javadoc for this method)
144
	 * Method declared on VariableDeclaration.
144
	 * Method declared on VariableDeclaration.
145
	 * @since 3.9
145
	 * @since 3.9 BETA_JAVA8
146
	 */
146
	 */
147
	final ChildListPropertyDescriptor internalExtraDimensions2Property() {
147
	final ChildListPropertyDescriptor internalExtraDimensions2Property() {
(-)a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WildcardType.java (-3 / +3 lines)
Lines 38-42 Link Here
38
	/**
38
	/**
39
	 * The "annotations" structural property of this node type (element type: {@link Annotation}).
39
	 * The "annotations" structural property of this node type (element type: {@link Annotation}).
40
	 * @since 3.9
40
	 * @since 3.9 BETA_JAVA8
41
	 */
41
	 */
42
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
42
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
Lines 65-69 Link Here
65
	 * {@link StructuralPropertyDescriptor}),
65
	 * {@link StructuralPropertyDescriptor}),
66
	 * or null if uninitialized.
66
	 * or null if uninitialized.
67
	 * @since 3.9
67
	 * @since 3.9 BETA_JAVA8
68
	 */
68
	 */
69
	private static final List PROPERTY_DESCRIPTORS_8_0;
69
	private static final List PROPERTY_DESCRIPTORS_8_0;
Lines 134-138 Link Here
134
	/* (omit javadoc for this method)
134
	/* (omit javadoc for this method)
135
	 * Method declared on AnnotatableType.
135
	 * Method declared on AnnotatableType.
136
	 * @since 3.9
136
	 * @since 3.9 BETA_JAVA8
137
	 */
137
	 */
138
	final ChildListPropertyDescriptor internalAnnotationsProperty() {
138
	final ChildListPropertyDescriptor internalAnnotationsProperty() {
(-)a/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java (-3 / +3 lines)
Lines 625-629 Link Here
625
	 * @see #NEXT_LINE_SHIFTED
625
	 * @see #NEXT_LINE_SHIFTED
626
	 * @see #NEXT_LINE_ON_WRAP
626
	 * @see #NEXT_LINE_ON_WRAP
627
	 * @since 3.9
627
	 * @since 3.9 BETA_JAVA8
628
	 */
628
	 */
629
	public static final String FORMATTER_BRACE_POSITION_FOR_LAMBDA_BODY = JavaCore.PLUGIN_ID + ".formatter.brace_position_for_lambda_body";	//$NON-NLS-1$
629
	public static final String FORMATTER_BRACE_POSITION_FOR_LAMBDA_BODY = JavaCore.PLUGIN_ID + ".formatter.brace_position_for_lambda_body";	//$NON-NLS-1$
Lines 2031-2035 Link Here
2031
	 * @see JavaCore#INSERT
2031
	 * @see JavaCore#INSERT
2032
	 * @see JavaCore#DO_NOT_INSERT
2032
	 * @see JavaCore#DO_NOT_INSERT
2033
	 * @since 3.9
2033
	 * @since 3.9 BETA_JAVA8
2034
	 */
2034
	 */
2035
	public static final String FORMATTER_INSERT_SPACE_AFTER_LAMBDA_ARROW  = JavaCore.PLUGIN_ID + ".formatter.insert_space_after_lambda_arrow";	//$NON-NLS-1$
2035
	public static final String FORMATTER_INSERT_SPACE_AFTER_LAMBDA_ARROW  = JavaCore.PLUGIN_ID + ".formatter.insert_space_after_lambda_arrow";	//$NON-NLS-1$
Lines 2968-2972 Link Here
2968
	 * @see JavaCore#INSERT
2968
	 * @see JavaCore#INSERT
2969
	 * @see JavaCore#DO_NOT_INSERT
2969
	 * @see JavaCore#DO_NOT_INSERT
2970
	 * @since 3.9
2970
	 * @since 3.9 BETA_JAVA8
2971
	 */
2971
	 */
2972
	public static final String FORMATTER_INSERT_SPACE_BEFORE_LAMBDA_ARROW = JavaCore.PLUGIN_ID + ".formatter.insert_space_before_lambda_arrow";	//$NON-NLS-1$
2972
	public static final String FORMATTER_INSERT_SPACE_BEFORE_LAMBDA_ARROW = JavaCore.PLUGIN_ID + ".formatter.insert_space_before_lambda_arrow";	//$NON-NLS-1$
(-)a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionContext.java (-2 / +2 lines)
Lines 1-4 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005, 2012 IBM Corporation and others.
2
 * Copyright (c) 2005, 2013 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
Lines 68-72 Link Here
68
	 * @see #getTokenLocation()
68
	 * @see #getTokenLocation()
69
	 *
69
	 *
70
	 * @since 3.9
70
	 * @since 3.9 BETA_JAVA8
71
	 */
71
	 */
72
	public static final int TL_CONSTRUCTOR_START = 4;
72
	public static final int TL_CONSTRUCTOR_START = 4;
(-)a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Flags.java (-4 / +4 lines)
Lines 162-166 Link Here
162
	 * Virtual Machine specification.
162
	 * Virtual Machine specification.
163
	 * </p>
163
	 * </p>
164
	 * @since 3.9
164
	 * @since 3.9 BETA_JAVA8
165
	 */
165
	 */
166
	public static final int AccDefaultMethod = ExtraCompilerModifiers.AccDefaultMethod;
166
	public static final int AccDefaultMethod = ExtraCompilerModifiers.AccDefaultMethod;
Lines 173-177 Link Here
173
	 * Virtual Machine specification.
173
	 * Virtual Machine specification.
174
	 * </p>
174
	 * </p>
175
	 * @since 3.9
175
	 * @since 3.9 BETA_JAVA8
176
	 */
176
	 */
177
	public static final int AccAnnotationDefault = ClassFileConstants.AccAnnotationDefault;
177
	public static final int AccAnnotationDefault = ClassFileConstants.AccAnnotationDefault;
Lines 393-397 Link Here
393
	 * @return <code>true</code> if the <code>AccDefaultMethod</code> flag is included
393
	 * @return <code>true</code> if the <code>AccDefaultMethod</code> flag is included
394
	 * @see #AccDefaultMethod
394
	 * @see #AccDefaultMethod
395
	 * @since 3.9
395
	 * @since 3.9 BETA_JAVA8
396
	 */
396
	 */
397
	public static boolean isDefaultMethod(int flags) {
397
	public static boolean isDefaultMethod(int flags) {
Lines 405-409 Link Here
405
	 * @return <code>true</code> if the <code>AccAnnotationDefault</code> flag is included
405
	 * @return <code>true</code> if the <code>AccAnnotationDefault</code> flag is included
406
	 * @see #AccAnnotationDefault
406
	 * @see #AccAnnotationDefault
407
	 * @since 3.9
407
	 * @since 3.9 BETA_JAVA8
408
	 */
408
	 */
409
	public static boolean isAnnnotationDefault(int flags) {
409
	public static boolean isAnnnotationDefault(int flags) {
(-)a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java (-1 / +1 lines)
Lines 2647-2651 Link Here
2647
	/**
2647
	/**
2648
	 * Configurable option value: {@value}.
2648
	 * Configurable option value: {@value}.
2649
	 * @since 3.9
2649
	 * @since 3.9 BETA_JAVA8
2650
	 * @category OptionValue
2650
	 * @category OptionValue
2651
	 */
2651
	 */
(-)a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/compiler/ITerminalSymbols.java (-3 / +3 lines)
Lines 1-4 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2012 IBM Corporation and others.
2
 * Copyright (c) 2000, 2013 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
Lines 170-178 Link Here
170
170
171
	/**
171
	/**
172
	 * @since 3.9
172
	 * @since 3.9 BETA_JAVA8
173
	 */
173
	 */
174
	int TokenNameARROW = 405;
174
	int TokenNameARROW = 405;
175
	/**
175
	/**
176
	 * @since 3.9
176
	 * @since 3.9 BETA_JAVA8
177
	 */
177
	 */
178
	int TokenNameCOLON_COLON = 406;
178
	int TokenNameCOLON_COLON = 406;

Return to bug 403810