View | Details | Raw Unified | Return to bug 339128
Collapse All | Expand All

(-)dom/org/eclipse/jdt/core/dom/Expression.java (-24 / +25 lines)
Lines 17-46 Link Here
17
 * <p>
17
 * <p>
18
 * <pre>
18
 * <pre>
19
 * Expression:
19
 * Expression:
20
 *    Name
20
 *    Annotation,
21
 *    NumberLiteral
21
 *    ArrayAccess,
22
 *    CharacterLiteral
22
 *    ArrayCreation,
23
 *    NullLiteral
23
 *    ArrayInitializer,
24
 *    BooleanLiteral
24
 *    Assignment,
25
 *    StringLiteral
25
 *    BooleanLiteral,
26
 *    TypeLiteral
26
 *    CastExpression,
27
 *    ThisExpression
27
 *    CharacterLiteral,
28
 *    SuperFieldAccess
28
 *    ClassInstanceCreation,
29
 *    FieldAccess
29
 *    ConditionalExpression,
30
 *    Assignment
30
 *    FieldAccess,
31
 *    ParenthesizedExpression
31
 *    InfixExpression,
32
 *    ClassInstanceCreation
32
 *    InstanceofExpression,
33
 *    ArrayCreation
33
 *    MethodInvocation,
34
 *    ArrayInitializer
34
 *    Name,
35
 *    MethodInvocation
35
 *    NullLiteral,
36
 *    SuperMethodInvocation
36
 *    NumberLiteral,
37
 *    ArrayAccess
37
 *    ParenthesizedExpression,
38
 *    InfixExpression
38
 *    PostfixExpression,
39
 *    InstanceofExpression
39
 *    PrefixExpression,
40
 *    ConditionalExpression
40
 *    StringLiteral,
41
 *    PostfixExpression
41
 *    SuperFieldAccess,
42
 *    PrefixExpression
42
 *    SuperMethodInvocation,
43
 *    CastExpression
43
 *    ThisExpression,
44
 *    TypeLiteral,
44
 *    VariableDeclarationExpression
45
 *    VariableDeclarationExpression
45
 * </pre>
46
 * </pre>
46
 * </p>
47
 * </p>
(-)dom/org/eclipse/jdt/core/dom/Statement.java (-41 / +43 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
2
 * Copyright (c) 2000, 2011 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
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 23-73 Link Here
23
 * For JLS2:
23
 * For JLS2:
24
 * <pre>
24
 * <pre>
25
 * Statement:
25
 * Statement:
26
 *    Block
26
 *    AssertStatement,
27
 *    IfStatement
27
 *    Block,
28
 *    ForStatement
28
 *    BreakStatement,
29
 *    WhileStatement
29
 *    ConstructorInvocation,
30
 *    DoStatement
30
 *    ContinueStatement,
31
 *    TryStatement
31
 *    DoStatement,
32
 *    SwitchStatement
32
 *    EmptyStatement,
33
 *    SynchronizedStatement
33
 *    ExpressionStatement,
34
 *    ReturnStatement
34
 *    ForStatement,
35
 *    ThrowStatement
35
 *    IfStatement,
36
 *    BreakStatement
36
 *    LabeledStatement,
37
 *    ContinueStatement
37
 *    ReturnStatement,
38
 *    EmptyStatement
38
 *    SuperConstructorInvocation,
39
 *    ExpressionStatement
39
 *    SwitchCase,
40
 *    LabeledStatement
40
 *    SwitchStatement,
41
 *    AssertStatement
41
 *    SynchronizedStatement,
42
 *    VariableDeclarationStatement
42
 *    ThrowStatement,
43
 *    TypeDeclarationStatement
43
 *    TryStatement,
44
 *    ConstructorInvocation
44
 *    TypeDeclarationStatement,
45
 *    SuperConstructorInvocation
45
 *    VariableDeclarationStatement,
46
 *    WhileStatement 
46
 * </pre>
47
 * </pre>
47
 * For JLS3, an enhanced for node type was added:
48
 * For JLS3, an enhanced for node type was added:
48
 * <pre>
49
 * <pre>
49
 * Statement:
50
 * Statement:
50
 *    Block
51
 *    AssertStatement,
51
 *    IfStatement
52
 *    Block,
52
 *    ForStatement
53
 *    BreakStatement,
53
 *    EnhancedForStatement
54
 *    ConstructorInvocation,
55
 *    ContinueStatement,
56
 *    DoStatement,
57
 *    EmptyStatement,
58
 *    EnhancedForStatement,
59
 *    ExpressionStatement,
60
 *    ForStatement,
61
 *    IfStatement,
62
 *    LabeledStatement,
63
 *    ReturnStatement,
64
 *    SuperConstructorInvocation,
65
 *    SwitchCase,
66
 *    SwitchStatement,
67
 *    SynchronizedStatement,
68
 *    ThrowStatement,
69
 *    TryStatement,
70
 *    TypeDeclarationStatement,
71
 *    VariableDeclarationStatement,
54
 *    WhileStatement
72
 *    WhileStatement
55
 *    DoStatement
56
 *    TryStatement
57
 *    SwitchStatement
58
 *    SynchronizedStatement
59
 *    ReturnStatement
60
 *    ThrowStatement
61
 *    BreakStatement
62
 *    ContinueStatement
63
 *    EmptyStatement
64
 *    ExpressionStatement
65
 *    LabeledStatement
66
 *    AssertStatement
67
 *    VariableDeclarationStatement
68
 *    TypeDeclarationStatement
69
 *    ConstructorInvocation
70
 *    SuperConstructorInvocation
71
 * </pre>
73
 * </pre>
72
 * </p>
74
 * </p>
73
 *
75
 *

Return to bug 339128