### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: dom/org/eclipse/jdt/core/dom/Expression.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Expression.java,v retrieving revision 1.16 diff -u -r1.16 Expression.java --- dom/org/eclipse/jdt/core/dom/Expression.java 16 Feb 2011 11:33:56 -0000 1.16 +++ dom/org/eclipse/jdt/core/dom/Expression.java 7 Mar 2011 19:01:30 -0000 @@ -17,30 +17,31 @@ *
*
* Expression: - * Name - * NumberLiteral - * CharacterLiteral - * NullLiteral - * BooleanLiteral - * StringLiteral - * TypeLiteral - * ThisExpression - * SuperFieldAccess - * FieldAccess - * Assignment - * ParenthesizedExpression - * ClassInstanceCreation - * ArrayCreation - * ArrayInitializer - * MethodInvocation - * SuperMethodInvocation - * ArrayAccess - * InfixExpression - * InstanceofExpression - * ConditionalExpression - * PostfixExpression - * PrefixExpression - * CastExpression + * Annotation, + * ArrayAccess, + * ArrayCreation, + * ArrayInitializer, + * Assignment, + * BooleanLiteral, + * CastExpression, + * CharacterLiteral, + * ClassInstanceCreation, + * ConditionalExpression, + * FieldAccess, + * InfixExpression, + * InstanceofExpression, + * MethodInvocation, + * Name, + * NullLiteral, + * NumberLiteral, + * ParenthesizedExpression, + * PostfixExpression, + * PrefixExpression, + * StringLiteral, + * SuperFieldAccess, + * SuperMethodInvocation, + * ThisExpression, + * TypeLiteral, * VariableDeclarationExpression ** Index: dom/org/eclipse/jdt/core/dom/Statement.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Statement.java,v retrieving revision 1.31 diff -u -r1.31 Statement.java --- dom/org/eclipse/jdt/core/dom/Statement.java 7 Mar 2009 01:08:09 -0000 1.31 +++ dom/org/eclipse/jdt/core/dom/Statement.java 7 Mar 2011 19:01:30 -0000 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -23,51 +23,53 @@ * For JLS2: *
* Statement: - * Block - * IfStatement - * ForStatement - * WhileStatement - * DoStatement - * TryStatement - * SwitchStatement - * SynchronizedStatement - * ReturnStatement - * ThrowStatement - * BreakStatement - * ContinueStatement - * EmptyStatement - * ExpressionStatement - * LabeledStatement - * AssertStatement - * VariableDeclarationStatement - * TypeDeclarationStatement - * ConstructorInvocation - * SuperConstructorInvocation + * AssertStatement, + * Block, + * BreakStatement, + * ConstructorInvocation, + * ContinueStatement, + * DoStatement, + * EmptyStatement, + * ExpressionStatement, + * ForStatement, + * IfStatement, + * LabeledStatement, + * ReturnStatement, + * SuperConstructorInvocation, + * SwitchCase, + * SwitchStatement, + * SynchronizedStatement, + * ThrowStatement, + * TryStatement, + * TypeDeclarationStatement, + * VariableDeclarationStatement, + * WhileStatement ** For JLS3, an enhanced for node type was added: *
* Statement: - * Block - * IfStatement - * ForStatement - * EnhancedForStatement + * AssertStatement, + * Block, + * BreakStatement, + * ConstructorInvocation, + * ContinueStatement, + * DoStatement, + * EmptyStatement, + * EnhancedForStatement, + * ExpressionStatement, + * ForStatement, + * IfStatement, + * LabeledStatement, + * ReturnStatement, + * SuperConstructorInvocation, + * SwitchCase, + * SwitchStatement, + * SynchronizedStatement, + * ThrowStatement, + * TryStatement, + * TypeDeclarationStatement, + * VariableDeclarationStatement, * WhileStatement - * DoStatement - * TryStatement - * SwitchStatement - * SynchronizedStatement - * ReturnStatement - * ThrowStatement - * BreakStatement - * ContinueStatement - * EmptyStatement - * ExpressionStatement - * LabeledStatement - * AssertStatement - * VariableDeclarationStatement - * TypeDeclarationStatement - * ConstructorInvocation - * SuperConstructorInvocation ** *