|
Lines 11-17
Link Here
|
| 11 |
*******************************************************************************/ |
11 |
*******************************************************************************/ |
| 12 |
package org.eclipse.jdt.internal.compiler.parser; |
12 |
package org.eclipse.jdt.internal.compiler.parser; |
| 13 |
|
13 |
|
| 14 |
import java.io.*; |
14 |
import java.io.BufferedInputStream; |
|
|
15 |
import java.io.BufferedWriter; |
| 16 |
import java.io.File; |
| 17 |
import java.io.FileWriter; |
| 18 |
import java.io.IOException; |
| 19 |
import java.io.InputStream; |
| 15 |
import java.util.ArrayList; |
20 |
import java.util.ArrayList; |
| 16 |
import java.util.Collections; |
21 |
import java.util.Collections; |
| 17 |
import java.util.Iterator; |
22 |
import java.util.Iterator; |
|
Lines 24-37
Link Here
|
| 24 |
import org.eclipse.jdt.core.compiler.InvalidInputException; |
29 |
import org.eclipse.jdt.core.compiler.InvalidInputException; |
| 25 |
import org.eclipse.jdt.internal.compiler.ASTVisitor; |
30 |
import org.eclipse.jdt.internal.compiler.ASTVisitor; |
| 26 |
import org.eclipse.jdt.internal.compiler.CompilationResult; |
31 |
import org.eclipse.jdt.internal.compiler.CompilationResult; |
| 27 |
import org.eclipse.jdt.internal.compiler.ast.*; |
32 |
import org.eclipse.jdt.internal.compiler.ast.AND_AND_Expression; |
|
|
33 |
import org.eclipse.jdt.internal.compiler.ast.ASTNode; |
| 34 |
import org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration; |
| 35 |
import org.eclipse.jdt.internal.compiler.ast.AbstractVariableDeclaration; |
| 36 |
import org.eclipse.jdt.internal.compiler.ast.AllocationExpression; |
| 37 |
import org.eclipse.jdt.internal.compiler.ast.Annotation; |
| 38 |
import org.eclipse.jdt.internal.compiler.ast.AnnotationMethodDeclaration; |
| 39 |
import org.eclipse.jdt.internal.compiler.ast.Argument; |
| 40 |
import org.eclipse.jdt.internal.compiler.ast.ArrayAllocationExpression; |
| 41 |
import org.eclipse.jdt.internal.compiler.ast.ArrayInitializer; |
| 42 |
import org.eclipse.jdt.internal.compiler.ast.ArrayQualifiedTypeReference; |
| 43 |
import org.eclipse.jdt.internal.compiler.ast.ArrayReference; |
| 44 |
import org.eclipse.jdt.internal.compiler.ast.ArrayTypeReference; |
| 45 |
import org.eclipse.jdt.internal.compiler.ast.AssertStatement; |
| 46 |
import org.eclipse.jdt.internal.compiler.ast.Assignment; |
| 47 |
import org.eclipse.jdt.internal.compiler.ast.BinaryExpression; |
| 48 |
import org.eclipse.jdt.internal.compiler.ast.Block; |
| 49 |
import org.eclipse.jdt.internal.compiler.ast.BreakStatement; |
| 50 |
import org.eclipse.jdt.internal.compiler.ast.CaseStatement; |
| 51 |
import org.eclipse.jdt.internal.compiler.ast.CastExpression; |
| 52 |
import org.eclipse.jdt.internal.compiler.ast.CharLiteral; |
| 53 |
import org.eclipse.jdt.internal.compiler.ast.ClassLiteralAccess; |
| 54 |
import org.eclipse.jdt.internal.compiler.ast.CombinedBinaryExpression; |
| 55 |
import org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration; |
| 56 |
import org.eclipse.jdt.internal.compiler.ast.CompoundAssignment; |
| 57 |
import org.eclipse.jdt.internal.compiler.ast.ConditionalExpression; |
| 58 |
import org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration; |
| 59 |
import org.eclipse.jdt.internal.compiler.ast.ContinueStatement; |
| 60 |
import org.eclipse.jdt.internal.compiler.ast.DoStatement; |
| 61 |
import org.eclipse.jdt.internal.compiler.ast.DoubleLiteral; |
| 62 |
import org.eclipse.jdt.internal.compiler.ast.EmptyStatement; |
| 63 |
import org.eclipse.jdt.internal.compiler.ast.EqualExpression; |
| 64 |
import org.eclipse.jdt.internal.compiler.ast.ExplicitConstructorCall; |
| 65 |
import org.eclipse.jdt.internal.compiler.ast.Expression; |
| 66 |
import org.eclipse.jdt.internal.compiler.ast.FalseLiteral; |
| 67 |
import org.eclipse.jdt.internal.compiler.ast.FieldDeclaration; |
| 68 |
import org.eclipse.jdt.internal.compiler.ast.FieldReference; |
| 69 |
import org.eclipse.jdt.internal.compiler.ast.FloatLiteral; |
| 70 |
import org.eclipse.jdt.internal.compiler.ast.ForStatement; |
| 71 |
import org.eclipse.jdt.internal.compiler.ast.ForeachStatement; |
| 72 |
import org.eclipse.jdt.internal.compiler.ast.IfStatement; |
| 73 |
import org.eclipse.jdt.internal.compiler.ast.ImportReference; |
| 74 |
import org.eclipse.jdt.internal.compiler.ast.Initializer; |
| 75 |
import org.eclipse.jdt.internal.compiler.ast.InstanceOfExpression; |
| 76 |
import org.eclipse.jdt.internal.compiler.ast.IntLiteral; |
| 77 |
import org.eclipse.jdt.internal.compiler.ast.IntLiteralMinValue; |
| 78 |
import org.eclipse.jdt.internal.compiler.ast.Javadoc; |
| 79 |
import org.eclipse.jdt.internal.compiler.ast.LabeledStatement; |
| 80 |
import org.eclipse.jdt.internal.compiler.ast.LocalDeclaration; |
| 81 |
import org.eclipse.jdt.internal.compiler.ast.LongLiteral; |
| 82 |
import org.eclipse.jdt.internal.compiler.ast.LongLiteralMinValue; |
| 83 |
import org.eclipse.jdt.internal.compiler.ast.MarkerAnnotation; |
| 84 |
import org.eclipse.jdt.internal.compiler.ast.MemberValuePair; |
| 85 |
import org.eclipse.jdt.internal.compiler.ast.MessageSend; |
| 86 |
import org.eclipse.jdt.internal.compiler.ast.MethodDeclaration; |
| 87 |
import org.eclipse.jdt.internal.compiler.ast.NameReference; |
| 88 |
import org.eclipse.jdt.internal.compiler.ast.NormalAnnotation; |
| 89 |
import org.eclipse.jdt.internal.compiler.ast.NullLiteral; |
| 90 |
import org.eclipse.jdt.internal.compiler.ast.OR_OR_Expression; |
| 91 |
import org.eclipse.jdt.internal.compiler.ast.OperatorIds; |
| 92 |
import org.eclipse.jdt.internal.compiler.ast.ParameterizedQualifiedTypeReference; |
| 93 |
import org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference; |
| 94 |
import org.eclipse.jdt.internal.compiler.ast.PostfixExpression; |
| 95 |
import org.eclipse.jdt.internal.compiler.ast.PrefixExpression; |
| 96 |
import org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression; |
| 97 |
import org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference; |
| 98 |
import org.eclipse.jdt.internal.compiler.ast.QualifiedSuperReference; |
| 99 |
import org.eclipse.jdt.internal.compiler.ast.QualifiedThisReference; |
| 100 |
import org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference; |
| 101 |
import org.eclipse.jdt.internal.compiler.ast.Reference; |
| 102 |
import org.eclipse.jdt.internal.compiler.ast.ReturnStatement; |
| 103 |
import org.eclipse.jdt.internal.compiler.ast.SingleMemberAnnotation; |
| 104 |
import org.eclipse.jdt.internal.compiler.ast.SingleNameReference; |
| 105 |
import org.eclipse.jdt.internal.compiler.ast.SingleTypeReference; |
| 106 |
import org.eclipse.jdt.internal.compiler.ast.Statement; |
| 107 |
import org.eclipse.jdt.internal.compiler.ast.StringLiteral; |
| 108 |
import org.eclipse.jdt.internal.compiler.ast.SuperReference; |
| 109 |
import org.eclipse.jdt.internal.compiler.ast.SwitchStatement; |
| 110 |
import org.eclipse.jdt.internal.compiler.ast.SynchronizedStatement; |
| 111 |
import org.eclipse.jdt.internal.compiler.ast.ThisReference; |
| 112 |
import org.eclipse.jdt.internal.compiler.ast.ThrowStatement; |
| 113 |
import org.eclipse.jdt.internal.compiler.ast.TrueLiteral; |
| 114 |
import org.eclipse.jdt.internal.compiler.ast.TryStatement; |
| 115 |
import org.eclipse.jdt.internal.compiler.ast.TypeDeclaration; |
| 116 |
import org.eclipse.jdt.internal.compiler.ast.TypeParameter; |
| 117 |
import org.eclipse.jdt.internal.compiler.ast.TypeReference; |
| 118 |
import org.eclipse.jdt.internal.compiler.ast.UnaryExpression; |
| 119 |
import org.eclipse.jdt.internal.compiler.ast.WhileStatement; |
| 120 |
import org.eclipse.jdt.internal.compiler.ast.Wildcard; |
| 28 |
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants; |
121 |
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants; |
| 29 |
import org.eclipse.jdt.internal.compiler.env.ICompilationUnit; |
122 |
import org.eclipse.jdt.internal.compiler.env.ICompilationUnit; |
| 30 |
import org.eclipse.jdt.internal.compiler.impl.CompilerOptions; |
123 |
import org.eclipse.jdt.internal.compiler.impl.CompilerOptions; |
| 31 |
import org.eclipse.jdt.internal.compiler.impl.ReferenceContext; |
124 |
import org.eclipse.jdt.internal.compiler.impl.ReferenceContext; |
|
|
125 |
import org.eclipse.jdt.internal.compiler.lookup.Binding; |
| 32 |
import org.eclipse.jdt.internal.compiler.lookup.BlockScope; |
126 |
import org.eclipse.jdt.internal.compiler.lookup.BlockScope; |
| 33 |
import org.eclipse.jdt.internal.compiler.lookup.ClassScope; |
127 |
import org.eclipse.jdt.internal.compiler.lookup.ClassScope; |
| 34 |
import org.eclipse.jdt.internal.compiler.lookup.Binding; |
|
|
| 35 |
import org.eclipse.jdt.internal.compiler.lookup.ExtraCompilerModifiers; |
128 |
import org.eclipse.jdt.internal.compiler.lookup.ExtraCompilerModifiers; |
| 36 |
import org.eclipse.jdt.internal.compiler.lookup.MethodScope; |
129 |
import org.eclipse.jdt.internal.compiler.lookup.MethodScope; |
| 37 |
import org.eclipse.jdt.internal.compiler.lookup.TypeIds; |
130 |
import org.eclipse.jdt.internal.compiler.lookup.TypeIds; |
|
Lines 64-74
Link Here
|
| 64 |
private static final String ERROR_TOKEN = "$error" ; //$NON-NLS-1$ |
157 |
private static final String ERROR_TOKEN = "$error" ; //$NON-NLS-1$ |
| 65 |
//expression stack |
158 |
//expression stack |
| 66 |
protected final static int ExpressionStackIncrement = 100; |
159 |
protected final static int ExpressionStackIncrement = 100; |
| 67 |
|
160 |
|
|
|
161 |
// annotation stack |
| 162 |
protected final static int TypeAnnotationStackIncrement = 100; |
| 163 |
|
| 68 |
protected final static int GenericsStackIncrement = 10; |
164 |
protected final static int GenericsStackIncrement = 10; |
| 69 |
|
165 |
|
| 70 |
private final static String FILEPREFIX = "parser"; //$NON-NLS-1$ |
166 |
private final static String FILEPREFIX = "parser"; //$NON-NLS-1$ |
| 71 |
public static char in_symb[] = null; |
167 |
public static char in_symb[] = null; |
| 72 |
private static final String INVALID_CHARACTER = "Invalid Character" ; //$NON-NLS-1$ |
168 |
private static final String INVALID_CHARACTER = "Invalid Character" ; //$NON-NLS-1$ |
| 73 |
public static char lhs[] = null; |
169 |
public static char lhs[] = null; |
| 74 |
|
170 |
|
|
Lines 786-792
Link Here
|
| 786 |
protected int[] expressionLengthStack; |
882 |
protected int[] expressionLengthStack; |
| 787 |
protected int expressionPtr; |
883 |
protected int expressionPtr; |
| 788 |
protected Expression[] expressionStack = new Expression[ExpressionStackIncrement]; |
884 |
protected Expression[] expressionStack = new Expression[ExpressionStackIncrement]; |
|
|
885 |
protected int unattachedAnnotationPtr; // used for figuring out whether some set of annotations are annotating a dimension or not. |
| 789 |
public int firstToken ; // handle for multiple parsing goals |
886 |
public int firstToken ; // handle for multiple parsing goals |
|
|
887 |
|
| 888 |
/* jsr308 -- Type annotation management, we now maintain type annotations in a separate stack |
| 889 |
as otherwise they get interspersed with other expressions and some of the code is not prepared |
| 890 |
to handle such interleaving and will look ugly if changed. |
| 891 |
|
| 892 |
See consumeArrayCreationExpressionWithoutInitializer for example. |
| 893 |
|
| 894 |
See that annotations gets pushed into expression stack the moment an annotation is discovered and |
| 895 |
get moved to the new type annotations stack only later when the annotation is recognized to be a |
| 896 |
type annotation. Where ambiguities exist (i.e 1.7 annotation occurs in a place sanctioned for an |
| 897 |
1.5 type annotation, the annotation continues to stay in the expression stack, but in these case |
| 898 |
interleaving is not an issue. |
| 899 |
*/ |
| 900 |
protected int typeAnnotationPtr; |
| 901 |
protected int typeAnnotationLengthPtr; |
| 902 |
protected Annotation [] typeAnnotationStack = new Annotation[TypeAnnotationStackIncrement]; |
| 903 |
protected int [] typeAnnotationLengthStack; |
| 790 |
// generics management |
904 |
// generics management |
| 791 |
protected int genericsIdentifiersLengthPtr; |
905 |
protected int genericsIdentifiersLengthPtr; |
| 792 |
protected int[] genericsIdentifiersLengthStack = new int[GenericsStackIncrement]; |
906 |
protected int[] genericsIdentifiersLengthStack = new int[GenericsStackIncrement]; |
|
Lines 877-882
Link Here
|
| 877 |
initializeScanner(); |
991 |
initializeScanner(); |
| 878 |
this.astLengthStack = new int[50]; |
992 |
this.astLengthStack = new int[50]; |
| 879 |
this.expressionLengthStack = new int[30]; |
993 |
this.expressionLengthStack = new int[30]; |
|
|
994 |
this.typeAnnotationLengthStack = new int[30]; |
| 880 |
this.intStack = new int[50]; |
995 |
this.intStack = new int[50]; |
| 881 |
this.identifierStack = new char[30][]; |
996 |
this.identifierStack = new char[30][]; |
| 882 |
this.identifierLengthStack = new int[30]; |
997 |
this.identifierLengthStack = new int[30]; |
|
Lines 1194-1199
Link Here
|
| 1194 |
} |
1309 |
} |
| 1195 |
} |
1310 |
} |
| 1196 |
protected ParameterizedQualifiedTypeReference computeQualifiedGenericsFromRightSide(TypeReference rightSide, int dim) { |
1311 |
protected ParameterizedQualifiedTypeReference computeQualifiedGenericsFromRightSide(TypeReference rightSide, int dim) { |
|
|
1312 |
Annotation [][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim); |
| 1197 |
int nameSize = this.identifierLengthStack[this.identifierLengthPtr]; |
1313 |
int nameSize = this.identifierLengthStack[this.identifierLengthPtr]; |
| 1198 |
int tokensSize = nameSize; |
1314 |
int tokensSize = nameSize; |
| 1199 |
if (rightSide instanceof ParameterizedSingleTypeReference) { |
1315 |
if (rightSide instanceof ParameterizedSingleTypeReference) { |
|
Lines 1249-1255
Link Here
|
| 1249 |
typeArguments[nameSize - 1] = currentTypeArguments; |
1365 |
typeArguments[nameSize - 1] = currentTypeArguments; |
| 1250 |
} |
1366 |
} |
| 1251 |
this.identifierLengthPtr--; |
1367 |
this.identifierLengthPtr--; |
| 1252 |
return new ParameterizedQualifiedTypeReference(tokens, typeArguments, dim, positions); |
1368 |
ParameterizedQualifiedTypeReference typeRef = new ParameterizedQualifiedTypeReference(tokens, typeArguments, dim, annotationsOnDimensions, positions); |
|
|
1369 |
int length; |
| 1370 |
if (this.typeAnnotationLengthPtr >= 0 && (length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 1371 |
System.arraycopy( |
| 1372 |
this.typeAnnotationStack, |
| 1373 |
(this.typeAnnotationPtr -= length) + 1, |
| 1374 |
typeRef.annotations = new Annotation[length], |
| 1375 |
0, |
| 1376 |
length); |
| 1377 |
typeRef.sourceStart = typeRef.annotations[0].sourceStart; |
| 1378 |
typeRef.bits |= ASTNode.HasTypeAnnotations; |
| 1379 |
} |
| 1380 |
return typeRef; |
| 1253 |
} |
1381 |
} |
| 1254 |
protected void concatExpressionLists() { |
1382 |
protected void concatExpressionLists() { |
| 1255 |
this.expressionLengthStack[--this.expressionLengthPtr]++; |
1383 |
this.expressionLengthStack[--this.expressionLengthPtr]++; |
|
Lines 1592-1599
Link Here
|
| 1592 |
this.expressionLengthPtr -- ; |
1720 |
this.expressionLengthPtr -- ; |
| 1593 |
arrayAllocation.initializer = (ArrayInitializer) this.expressionStack[this.expressionPtr--]; |
1721 |
arrayAllocation.initializer = (ArrayInitializer) this.expressionStack[this.expressionPtr--]; |
| 1594 |
|
1722 |
|
| 1595 |
arrayAllocation.type = getTypeReference(0); |
|
|
| 1596 |
arrayAllocation.type.bits |= ASTNode.IgnoreRawTypeCheck; // no need to worry about raw type usage |
| 1597 |
length = (this.expressionLengthStack[this.expressionLengthPtr--]); |
1723 |
length = (this.expressionLengthStack[this.expressionLengthPtr--]); |
| 1598 |
this.expressionPtr -= length ; |
1724 |
this.expressionPtr -= length ; |
| 1599 |
System.arraycopy( |
1725 |
System.arraycopy( |
|
Lines 1602-1607
Link Here
|
| 1602 |
arrayAllocation.dimensions = new Expression[length], |
1728 |
arrayAllocation.dimensions = new Expression[length], |
| 1603 |
0, |
1729 |
0, |
| 1604 |
length); |
1730 |
length); |
|
|
1731 |
Annotation[][] annotationsOnDimensions = getAnnotationsOnDimensions(length); |
| 1732 |
arrayAllocation.annotationsOnDimensions = annotationsOnDimensions; |
| 1733 |
if (annotationsOnDimensions != null) { |
| 1734 |
arrayAllocation.bits |= ASTNode.HasTypeAnnotations; |
| 1735 |
} |
| 1736 |
arrayAllocation.type = getTypeReference(0); |
| 1737 |
arrayAllocation.type.bits |= ASTNode.IgnoreRawTypeCheck; // no need to worry about raw type usage |
| 1738 |
|
| 1605 |
arrayAllocation.sourceStart = this.intStack[this.intPtr--]; |
1739 |
arrayAllocation.sourceStart = this.intStack[this.intPtr--]; |
| 1606 |
if (arrayAllocation.initializer == null) { |
1740 |
if (arrayAllocation.initializer == null) { |
| 1607 |
arrayAllocation.sourceEnd = this.endStatementPosition; |
1741 |
arrayAllocation.sourceEnd = this.endStatementPosition; |
|
Lines 1616-1623
Link Here
|
| 1616 |
|
1750 |
|
| 1617 |
int length; |
1751 |
int length; |
| 1618 |
ArrayAllocationExpression arrayAllocation = new ArrayAllocationExpression(); |
1752 |
ArrayAllocationExpression arrayAllocation = new ArrayAllocationExpression(); |
| 1619 |
arrayAllocation.type = getTypeReference(0); |
|
|
| 1620 |
arrayAllocation.type.bits |= ASTNode.IgnoreRawTypeCheck; // no need to worry about raw type usage |
| 1621 |
length = (this.expressionLengthStack[this.expressionLengthPtr--]); |
1753 |
length = (this.expressionLengthStack[this.expressionLengthPtr--]); |
| 1622 |
this.expressionPtr -= length ; |
1754 |
this.expressionPtr -= length ; |
| 1623 |
System.arraycopy( |
1755 |
System.arraycopy( |
|
Lines 1626-1631
Link Here
|
| 1626 |
arrayAllocation.dimensions = new Expression[length], |
1758 |
arrayAllocation.dimensions = new Expression[length], |
| 1627 |
0, |
1759 |
0, |
| 1628 |
length); |
1760 |
length); |
|
|
1761 |
Annotation[][] annotationsOnDimensions = getAnnotationsOnDimensions(length); |
| 1762 |
arrayAllocation.annotationsOnDimensions = annotationsOnDimensions; |
| 1763 |
if (annotationsOnDimensions != null) { |
| 1764 |
arrayAllocation.bits |= ASTNode.HasTypeAnnotations; |
| 1765 |
} |
| 1766 |
arrayAllocation.type = getTypeReference(0); |
| 1767 |
arrayAllocation.type.bits |= ASTNode.IgnoreRawTypeCheck; // no need to worry about raw type usage |
| 1629 |
arrayAllocation.sourceStart = this.intStack[this.intPtr--]; |
1768 |
arrayAllocation.sourceStart = this.intStack[this.intPtr--]; |
| 1630 |
if (arrayAllocation.initializer == null) { |
1769 |
if (arrayAllocation.initializer == null) { |
| 1631 |
arrayAllocation.sourceEnd = this.endStatementPosition; |
1770 |
arrayAllocation.sourceEnd = this.endStatementPosition; |
|
Lines 2021-2027
Link Here
|
| 2021 |
pushOnAstStack(caseStatement); |
2160 |
pushOnAstStack(caseStatement); |
| 2022 |
} |
2161 |
} |
| 2023 |
protected void consumeCastExpressionLL1() { |
2162 |
protected void consumeCastExpressionLL1() { |
| 2024 |
//CastExpression ::= '(' Expression ')' InsideCastExpressionLL1 UnaryExpressionNotPlusMinus |
2163 |
//CastExpression ::= '(' Name ')' InsideCastExpressionLL1 UnaryExpressionNotPlusMinus |
| 2025 |
// Expression is used in order to make the grammar LL1 |
2164 |
// Expression is used in order to make the grammar LL1 |
| 2026 |
|
2165 |
|
| 2027 |
//optimize push/pop |
2166 |
//optimize push/pop |
|
Lines 2031-2071
Link Here
|
| 2031 |
this.expressionStack[this.expressionPtr] = |
2170 |
this.expressionStack[this.expressionPtr] = |
| 2032 |
cast = new CastExpression( |
2171 |
cast = new CastExpression( |
| 2033 |
exp=this.expressionStack[this.expressionPtr+1] , |
2172 |
exp=this.expressionStack[this.expressionPtr+1] , |
| 2034 |
this.expressionStack[this.expressionPtr]); |
2173 |
(TypeReference) this.expressionStack[this.expressionPtr]); |
| 2035 |
this.expressionLengthPtr -- ; |
2174 |
this.expressionLengthPtr -- ; |
| 2036 |
updateSourcePosition(cast); |
2175 |
updateSourcePosition(cast); |
| 2037 |
cast.sourceEnd=exp.sourceEnd; |
2176 |
cast.sourceEnd=exp.sourceEnd; |
| 2038 |
} |
2177 |
} |
|
|
2178 |
protected void consumeCastExpressionLL1WithTypeAnnotations() { |
| 2179 |
// CastExpression ::= '(' Modifiers Name ')' InsideCastExpressionLL1 UnaryExpressionNotPlusMinus |
| 2180 |
// Expression is used in order to make the grammar LL1 |
| 2181 |
|
| 2182 |
//optimize push/pop |
| 2183 |
|
| 2184 |
// pop the expression |
| 2185 |
Expression expression = this.expressionStack[this.expressionPtr--]; |
| 2186 |
this.expressionLengthPtr--; |
| 2187 |
// pop the type reference |
| 2188 |
TypeReference typeReference = (TypeReference) this.expressionStack[this.expressionPtr--]; |
| 2189 |
this.expressionLengthPtr--; |
| 2190 |
|
| 2191 |
int length; |
| 2192 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 2193 |
System.arraycopy( |
| 2194 |
this.expressionStack, |
| 2195 |
(this.expressionPtr -= length) + 1, |
| 2196 |
typeReference.annotations = new Annotation[length], |
| 2197 |
0, |
| 2198 |
length); |
| 2199 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 2200 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 2201 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 2202 |
} |
| 2203 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 2204 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 2205 |
} |
| 2206 |
Expression cast; |
| 2207 |
pushOnExpressionStack(cast = new CastExpression(expression, typeReference)); |
| 2208 |
// pop the two positions for left and right parenthesis |
| 2209 |
updateSourcePosition(cast); |
| 2210 |
cast.sourceEnd = expression.sourceEnd; |
| 2211 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 2212 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 2213 |
} |
| 2214 |
resetModifiers(); |
| 2215 |
} |
| 2039 |
protected void consumeCastExpressionWithGenericsArray() { |
2216 |
protected void consumeCastExpressionWithGenericsArray() { |
| 2040 |
// CastExpression ::= PushLPAREN Name TypeArguments Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
2217 |
// CastExpression ::= PushLPAREN Name TypeArguments Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
| 2041 |
|
2218 |
|
| 2042 |
Expression exp, cast, castType; |
2219 |
Expression exp, cast; |
|
|
2220 |
TypeReference castType; |
| 2043 |
int end = this.intStack[this.intPtr--]; |
2221 |
int end = this.intStack[this.intPtr--]; |
| 2044 |
|
2222 |
|
| 2045 |
int dim = this.intStack[this.intPtr--]; |
2223 |
int dim = this.intStack[this.intPtr--]; |
| 2046 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
2224 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 2047 |
|
2225 |
|
| 2048 |
this.expressionStack[this.expressionPtr] = cast = new CastExpression(exp = this.expressionStack[this.expressionPtr], castType = getTypeReference(dim)); |
2226 |
this.expressionStack[this.expressionPtr] = cast = |
|
|
2227 |
new CastExpression( |
| 2228 |
exp = this.expressionStack[this.expressionPtr], |
| 2229 |
castType = getTypeReference(dim)); |
| 2049 |
this.intPtr--; |
2230 |
this.intPtr--; |
| 2050 |
castType.sourceEnd = end - 1; |
2231 |
castType.sourceEnd = end - 1; |
| 2051 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
2232 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2052 |
cast.sourceEnd = exp.sourceEnd; |
2233 |
cast.sourceEnd = exp.sourceEnd; |
| 2053 |
} |
2234 |
} |
|
|
2235 |
protected void consumeCastExpressionWithGenericsArrayWithTypeAnnotations() { |
| 2236 |
// CastExpression ::= PushLPAREN Modifiers Name OnlyTypeArgumentsForCastExpression Dimsopt PushRPARENForAnnotatedTypeCast InsideCastExpression UnaryExpressionNotPlusMinus |
| 2237 |
int end = this.intStack[this.intPtr--]; |
| 2238 |
int dim = this.intStack[this.intPtr--]; |
| 2239 |
|
| 2240 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 2241 |
TypeReference typeReference = getTypeReference(dim); |
| 2242 |
|
| 2243 |
// pop expression |
| 2244 |
Expression expression = this.expressionStack[this.expressionPtr--]; |
| 2245 |
this.expressionLengthPtr--; |
| 2246 |
|
| 2247 |
int length; |
| 2248 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 2249 |
System.arraycopy( |
| 2250 |
this.expressionStack, |
| 2251 |
(this.expressionPtr -= length) + 1, |
| 2252 |
typeReference.annotations = new Annotation[length], |
| 2253 |
0, |
| 2254 |
length); |
| 2255 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 2256 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 2257 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 2258 |
} |
| 2259 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 2260 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 2261 |
} |
| 2262 |
Expression cast; |
| 2263 |
pushOnExpressionStack(cast = new CastExpression(expression, typeReference)); |
| 2264 |
this.intPtr--; |
| 2265 |
typeReference.sourceEnd = end - 1; |
| 2266 |
typeReference.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2267 |
cast.sourceEnd = expression.sourceEnd; |
| 2268 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 2269 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 2270 |
} |
| 2271 |
resetModifiers(); |
| 2272 |
} |
| 2054 |
protected void consumeCastExpressionWithNameArray() { |
2273 |
protected void consumeCastExpressionWithNameArray() { |
| 2055 |
// CastExpression ::= PushLPAREN Name Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
2274 |
// CastExpression ::= PushLPAREN Name Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
| 2056 |
|
2275 |
|
| 2057 |
Expression exp, cast, castType; |
2276 |
Expression exp; |
|
|
2277 |
Expression cast; |
| 2278 |
TypeReference castType; |
| 2058 |
int end = this.intStack[this.intPtr--]; |
2279 |
int end = this.intStack[this.intPtr--]; |
| 2059 |
|
2280 |
|
| 2060 |
// handle type arguments |
2281 |
// handle type arguments |
| 2061 |
pushOnGenericsLengthStack(0); |
2282 |
pushOnGenericsLengthStack(0); |
| 2062 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
2283 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 2063 |
|
2284 |
|
| 2064 |
this.expressionStack[this.expressionPtr] = cast = new CastExpression(exp = this.expressionStack[this.expressionPtr], castType = getTypeReference(this.intStack[this.intPtr--])); |
2285 |
this.expressionStack[this.expressionPtr] = cast = |
|
|
2286 |
new CastExpression( |
| 2287 |
exp = this.expressionStack[this.expressionPtr], |
| 2288 |
castType = getTypeReference(this.intStack[this.intPtr--])); |
| 2065 |
castType.sourceEnd = end - 1; |
2289 |
castType.sourceEnd = end - 1; |
| 2066 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
2290 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2067 |
cast.sourceEnd = exp.sourceEnd; |
2291 |
cast.sourceEnd = exp.sourceEnd; |
| 2068 |
} |
2292 |
} |
|
|
2293 |
protected void consumeCastExpressionWithNameArrayWithTypeAnnotations() { |
| 2294 |
// CastExpression ::= PushLPAREN Modifiers Name Dims PushRPARENForAnnotatedTypeCast InsideCastExpression UnaryExpressionNotPlusMinus |
| 2295 |
|
| 2296 |
int end = this.intStack[this.intPtr--]; |
| 2297 |
|
| 2298 |
// handle type arguments |
| 2299 |
pushOnGenericsLengthStack(0); |
| 2300 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 2301 |
|
| 2302 |
// pop expression |
| 2303 |
Expression expression = this.expressionStack[this.expressionPtr--]; |
| 2304 |
this.expressionLengthPtr--; |
| 2305 |
TypeReference typeReference = getTypeReference(this.intStack[this.intPtr--]); |
| 2306 |
|
| 2307 |
int length; |
| 2308 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 2309 |
System.arraycopy( |
| 2310 |
this.expressionStack, |
| 2311 |
(this.expressionPtr -= length) + 1, |
| 2312 |
typeReference.annotations = new Annotation[length], |
| 2313 |
0, |
| 2314 |
length); |
| 2315 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 2316 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 2317 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 2318 |
} |
| 2319 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 2320 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 2321 |
} |
| 2322 |
Expression cast; |
| 2323 |
pushOnExpressionStack(cast = new CastExpression(expression, typeReference)); |
| 2324 |
typeReference.sourceEnd = end - 1; |
| 2325 |
typeReference.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2326 |
cast.sourceEnd = expression.sourceEnd; |
| 2327 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 2328 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 2329 |
} |
| 2330 |
resetModifiers(); |
| 2331 |
} |
| 2069 |
protected void consumeCastExpressionWithPrimitiveType() { |
2332 |
protected void consumeCastExpressionWithPrimitiveType() { |
| 2070 |
// CastExpression ::= PushLPAREN PrimitiveType Dimsopt PushRPAREN InsideCastExpression UnaryExpression |
2333 |
// CastExpression ::= PushLPAREN PrimitiveType Dimsopt PushRPAREN InsideCastExpression UnaryExpression |
| 2071 |
|
2334 |
|
|
Lines 2073-2100
Link Here
|
| 2073 |
|
2336 |
|
| 2074 |
//optimize the push/pop |
2337 |
//optimize the push/pop |
| 2075 |
|
2338 |
|
| 2076 |
Expression exp, cast, castType; |
2339 |
Expression exp; |
|
|
2340 |
Expression cast; |
| 2341 |
TypeReference castType; |
| 2077 |
int end = this.intStack[this.intPtr--]; |
2342 |
int end = this.intStack[this.intPtr--]; |
| 2078 |
this.expressionStack[this.expressionPtr] = cast = new CastExpression(exp = this.expressionStack[this.expressionPtr], castType = getTypeReference(this.intStack[this.intPtr--])); |
2343 |
this.expressionStack[this.expressionPtr] = cast = |
|
|
2344 |
new CastExpression( |
| 2345 |
exp = this.expressionStack[this.expressionPtr], |
| 2346 |
castType = getTypeReference(this.intStack[this.intPtr--])); |
| 2079 |
castType.sourceEnd = end - 1; |
2347 |
castType.sourceEnd = end - 1; |
| 2080 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
2348 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2081 |
cast.sourceEnd = exp.sourceEnd; |
2349 |
cast.sourceEnd = exp.sourceEnd; |
| 2082 |
} |
2350 |
} |
|
|
2351 |
protected void consumeCastExpressionWithPrimitiveTypeWithTypeAnnotations() { |
| 2352 |
// CastExpression ::= PushLPAREN Modifiers PrimitiveType Dimsopt PushRPARENForAnnotatedTypeCast InsideCastExpression UnaryExpression |
| 2353 |
|
| 2354 |
//this.intStack : posOfLeftParen dim posOfRightParen |
| 2355 |
int end = this.intStack[this.intPtr--]; |
| 2356 |
|
| 2357 |
// pop expression |
| 2358 |
Expression expression = this.expressionStack[this.expressionPtr--]; |
| 2359 |
this.expressionLengthPtr--; |
| 2360 |
|
| 2361 |
TypeReference typeReference = getTypeReference(this.intStack[this.intPtr--]); |
| 2362 |
int length; |
| 2363 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 2364 |
System.arraycopy( |
| 2365 |
this.expressionStack, |
| 2366 |
(this.expressionPtr -= length) + 1, |
| 2367 |
typeReference.annotations = new Annotation[length], |
| 2368 |
0, |
| 2369 |
length); |
| 2370 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 2371 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 2372 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 2373 |
} |
| 2374 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 2375 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 2376 |
} |
| 2377 |
|
| 2378 |
Expression cast; |
| 2379 |
pushOnExpressionStack(cast = new CastExpression(expression, typeReference)); |
| 2380 |
|
| 2381 |
typeReference.sourceEnd = end - 1; |
| 2382 |
typeReference.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2383 |
cast.sourceEnd = expression.sourceEnd; |
| 2384 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 2385 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 2386 |
} |
| 2387 |
resetModifiers(); |
| 2388 |
} |
| 2083 |
protected void consumeCastExpressionWithQualifiedGenericsArray() { |
2389 |
protected void consumeCastExpressionWithQualifiedGenericsArray() { |
| 2084 |
// CastExpression ::= PushLPAREN Name OnlyTypeArguments '.' ClassOrInterfaceType Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
2390 |
// CastExpression ::= PushLPAREN Name OnlyTypeArguments '.' ClassOrInterfaceType Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
| 2085 |
Expression exp, cast, castType; |
2391 |
Expression exp; |
|
|
2392 |
Expression cast; |
| 2393 |
TypeReference castType; |
| 2086 |
int end = this.intStack[this.intPtr--]; |
2394 |
int end = this.intStack[this.intPtr--]; |
| 2087 |
|
2395 |
|
| 2088 |
int dim = this.intStack[this.intPtr--]; |
2396 |
int dim = this.intStack[this.intPtr--]; |
| 2089 |
TypeReference rightSide = getTypeReference(0); |
2397 |
TypeReference rightSide = getUnannotatedTypeReference(0); // by design the type after . is not annotated. |
| 2090 |
|
2398 |
|
| 2091 |
ParameterizedQualifiedTypeReference qualifiedParameterizedTypeReference = computeQualifiedGenericsFromRightSide(rightSide, dim); |
2399 |
ParameterizedQualifiedTypeReference qualifiedParameterizedTypeReference = computeQualifiedGenericsFromRightSide(rightSide, dim); |
| 2092 |
this.intPtr--; |
2400 |
this.intPtr--; |
| 2093 |
this.expressionStack[this.expressionPtr] = cast = new CastExpression(exp = this.expressionStack[this.expressionPtr], castType = qualifiedParameterizedTypeReference); |
2401 |
this.expressionStack[this.expressionPtr] = cast = |
|
|
2402 |
new CastExpression( |
| 2403 |
exp = this.expressionStack[this.expressionPtr], |
| 2404 |
castType = qualifiedParameterizedTypeReference); |
| 2094 |
castType.sourceEnd = end - 1; |
2405 |
castType.sourceEnd = end - 1; |
| 2095 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
2406 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2096 |
cast.sourceEnd = exp.sourceEnd; |
2407 |
cast.sourceEnd = exp.sourceEnd; |
| 2097 |
} |
2408 |
} |
|
|
2409 |
protected void consumeCastExpressionWithQualifiedGenericsArrayWithTypeAnnotations() { |
| 2410 |
// CastExpression ::= PushLPAREN Name OnlyTypeArguments '.' ClassOrInterfaceType Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
| 2411 |
int end = this.intStack[this.intPtr--]; |
| 2412 |
|
| 2413 |
int dim = this.intStack[this.intPtr--]; |
| 2414 |
// pop expression |
| 2415 |
Expression expression = this.expressionStack[this.expressionPtr--]; |
| 2416 |
this.expressionLengthPtr--; |
| 2417 |
|
| 2418 |
TypeReference rightSide = getUnannotatedTypeReference(0); // by design the type after . is not annotated. |
| 2419 |
|
| 2420 |
ParameterizedQualifiedTypeReference typeReference = computeQualifiedGenericsFromRightSide(rightSide, dim); |
| 2421 |
this.intPtr--; |
| 2422 |
int length; |
| 2423 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 2424 |
System.arraycopy( |
| 2425 |
this.expressionStack, |
| 2426 |
(this.expressionPtr -= length) + 1, |
| 2427 |
typeReference.annotations = new Annotation[length], |
| 2428 |
0, |
| 2429 |
length); |
| 2430 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 2431 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 2432 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 2433 |
} |
| 2434 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 2435 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 2436 |
} |
| 2437 |
Expression cast; |
| 2438 |
pushOnExpressionStack(cast = new CastExpression(expression, typeReference)); |
| 2439 |
typeReference.sourceEnd = end - 1; |
| 2440 |
typeReference.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2441 |
cast.sourceEnd = expression.sourceEnd; |
| 2442 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 2443 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 2444 |
} |
| 2445 |
resetModifiers(); |
| 2446 |
} |
| 2098 |
protected void consumeCatches() { |
2447 |
protected void consumeCatches() { |
| 2099 |
// Catches ::= Catches CatchClause |
2448 |
// Catches ::= Catches CatchClause |
| 2100 |
optimizedConcatNodeLists(); |
2449 |
optimizedConcatNodeLists(); |
|
Lines 2228-2233
Link Here
|
| 2228 |
TypeReference superClass = getTypeReference(0); |
2577 |
TypeReference superClass = getTypeReference(0); |
| 2229 |
// There is a class declaration on the top of stack |
2578 |
// There is a class declaration on the top of stack |
| 2230 |
TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr]; |
2579 |
TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr]; |
|
|
2580 |
typeDecl.bits |= (superClass.bits & ASTNode.HasTypeAnnotations); |
| 2231 |
typeDecl.superclass = superClass; |
2581 |
typeDecl.superclass = superClass; |
| 2232 |
superClass.bits |= ASTNode.IsSuperType; |
2582 |
superClass.bits |= ASTNode.IsSuperType; |
| 2233 |
typeDecl.bodyStart = typeDecl.superclass.sourceEnd + 1; |
2583 |
typeDecl.bodyStart = typeDecl.superclass.sourceEnd + 1; |
|
Lines 2249-2256
Link Here
|
| 2249 |
typeDecl.superInterfaces = new TypeReference[length], |
2599 |
typeDecl.superInterfaces = new TypeReference[length], |
| 2250 |
0, |
2600 |
0, |
| 2251 |
length); |
2601 |
length); |
| 2252 |
for (int i = 0, max = typeDecl.superInterfaces.length; i < max; i++) { |
2602 |
TypeReference[] superinterfaces = typeDecl.superInterfaces; |
| 2253 |
typeDecl.superInterfaces[i].bits |= ASTNode.IsSuperType; |
2603 |
for (int i = 0, max = superinterfaces.length; i < max; i++) { |
|
|
2604 |
TypeReference typeReference = superinterfaces[i]; |
| 2605 |
typeDecl.bits |= (typeReference.bits & ASTNode.HasTypeAnnotations); |
| 2606 |
typeReference.bits |= ASTNode.IsSuperType; |
| 2254 |
} |
2607 |
} |
| 2255 |
typeDecl.bodyStart = typeDecl.superInterfaces[length-1].sourceEnd + 1; |
2608 |
typeDecl.bodyStart = typeDecl.superInterfaces[length-1].sourceEnd + 1; |
| 2256 |
this.listLength = 0; // reset after having read super-interfaces |
2609 |
this.listLength = 0; // reset after having read super-interfaces |
|
Lines 2581-2589
Link Here
|
| 2581 |
} |
2934 |
} |
| 2582 |
} |
2935 |
} |
| 2583 |
|
2936 |
|
| 2584 |
if (!this.diet || insideFieldInitializer){ |
2937 |
if (!this.options.ignoreMethodBodies) { |
| 2585 |
// add it only in non-diet mode, if diet_bodies, then constructor call will be added elsewhere. |
2938 |
if (!this.diet || insideFieldInitializer){ |
| 2586 |
constructorCall = SuperReference.implicitSuperConstructorCall(); |
2939 |
// add it only in non-diet mode, if diet_bodies, then constructor call will be added elsewhere. |
|
|
2940 |
constructorCall = SuperReference.implicitSuperConstructorCall(); |
| 2941 |
} |
| 2587 |
} |
2942 |
} |
| 2588 |
} |
2943 |
} |
| 2589 |
|
2944 |
|
|
Lines 2616-2621
Link Here
|
| 2616 |
|
2971 |
|
| 2617 |
AbstractMethodDeclaration method = (AbstractMethodDeclaration)this.astStack[this.astPtr]; |
2972 |
AbstractMethodDeclaration method = (AbstractMethodDeclaration)this.astStack[this.astPtr]; |
| 2618 |
|
2973 |
|
|
|
2974 |
// jsr308 -- consume receiver annotations |
| 2975 |
method.receiverAnnotations = null; |
| 2976 |
int length; |
| 2977 |
if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 2978 |
System.arraycopy( |
| 2979 |
this.typeAnnotationStack, |
| 2980 |
(this.typeAnnotationPtr -= length) + 1, |
| 2981 |
method.receiverAnnotations = new Annotation[length], |
| 2982 |
0, |
| 2983 |
length); |
| 2984 |
method.bits |= ASTNode.HasTypeAnnotations; |
| 2985 |
} |
| 2986 |
|
| 2619 |
if (this.currentToken == TokenNameLBRACE){ |
2987 |
if (this.currentToken == TokenNameLBRACE){ |
| 2620 |
method.bodyStart = this.scanner.currentPosition; |
2988 |
method.bodyStart = this.scanner.currentPosition; |
| 2621 |
} |
2989 |
} |
|
Lines 2774-2781
Link Here
|
| 2774 |
pushOnIntStack(this.dimensions); |
3142 |
pushOnIntStack(this.dimensions); |
| 2775 |
this.dimensions = 0; |
3143 |
this.dimensions = 0; |
| 2776 |
} |
3144 |
} |
|
|
3145 |
|
| 2777 |
protected void consumeDimWithOrWithOutExpr() { |
3146 |
protected void consumeDimWithOrWithOutExpr() { |
| 2778 |
// DimWithOrWithOutExpr ::= '[' ']' |
3147 |
// DimWithOrWithOutExpr ::= '[' ']' |
|
|
3148 |
// DimWithOrWithOutExpr ::= OneOrMoreAnnotations '[' ']' |
| 2779 |
pushOnExpressionStack(null); |
3149 |
pushOnExpressionStack(null); |
| 2780 |
|
3150 |
|
| 2781 |
if(this.currentElement != null && this.currentToken == TokenNameLBRACE) { |
3151 |
if(this.currentElement != null && this.currentToken == TokenNameLBRACE) { |
|
Lines 2976-2981
Link Here
|
| 2976 |
localDeclaration.annotations = new Annotation[length], |
3346 |
localDeclaration.annotations = new Annotation[length], |
| 2977 |
0, |
3347 |
0, |
| 2978 |
length); |
3348 |
length); |
|
|
3349 |
localDeclaration.bits |= ASTNode.HasTypeAnnotations; |
| 2979 |
} |
3350 |
} |
| 2980 |
if (hasModifiers) { |
3351 |
if (hasModifiers) { |
| 2981 |
localDeclaration.declarationSourceStart = declarationSourceStart; |
3352 |
localDeclaration.declarationSourceStart = declarationSourceStart; |
|
Lines 2984-2989
Link Here
|
| 2984 |
localDeclaration.declarationSourceStart = type.sourceStart; |
3355 |
localDeclaration.declarationSourceStart = type.sourceStart; |
| 2985 |
} |
3356 |
} |
| 2986 |
localDeclaration.type = type; |
3357 |
localDeclaration.type = type; |
|
|
3358 |
localDeclaration.bits |= (type.bits & ASTNode.HasTypeAnnotations); |
| 2987 |
|
3359 |
|
| 2988 |
ForeachStatement iteratorForStatement = |
3360 |
ForeachStatement iteratorForStatement = |
| 2989 |
new ForeachStatement( |
3361 |
new ForeachStatement( |
|
Lines 3073-3078
Link Here
|
| 3073 |
char[] identifierName = this.identifierStack[this.identifierPtr]; |
3445 |
char[] identifierName = this.identifierStack[this.identifierPtr]; |
| 3074 |
long namePosition = this.identifierPositionStack[this.identifierPtr]; |
3446 |
long namePosition = this.identifierPositionStack[this.identifierPtr]; |
| 3075 |
int extendedDimension = this.intStack[this.intPtr--]; |
3447 |
int extendedDimension = this.intStack[this.intPtr--]; |
|
|
3448 |
// pop any annotations on extended dimensions now, so they don't pollute the base dimensions. |
| 3449 |
Annotation [][] annotationsOnExtendedDimensions = extendedDimension == 0 ? null : getAnnotationsOnDimensions(extendedDimension); |
| 3076 |
AbstractVariableDeclaration declaration; |
3450 |
AbstractVariableDeclaration declaration; |
| 3077 |
// create the ast node |
3451 |
// create the ast node |
| 3078 |
boolean isLocalDeclaration = this.nestedMethod[this.nestedType] != 0; |
3452 |
boolean isLocalDeclaration = this.nestedMethod[this.nestedType] != 0; |
|
Lines 3105-3110
Link Here
|
| 3105 |
declaration.annotations = new Annotation[length], |
3479 |
declaration.annotations = new Annotation[length], |
| 3106 |
0, |
3480 |
0, |
| 3107 |
length); |
3481 |
length); |
|
|
3482 |
declaration.bits |= ASTNode.HasTypeAnnotations; |
| 3108 |
} |
3483 |
} |
| 3109 |
type = getTypeReference(typeDim = this.intStack[this.intPtr--]); // type dimension |
3484 |
type = getTypeReference(typeDim = this.intStack[this.intPtr--]); // type dimension |
| 3110 |
if (declaration.declarationSourceStart == -1) { |
3485 |
if (declaration.declarationSourceStart == -1) { |
|
Lines 3126-3131
Link Here
|
| 3126 |
declaration.annotations = new Annotation[length], |
3501 |
declaration.annotations = new Annotation[length], |
| 3127 |
0, |
3502 |
0, |
| 3128 |
length); |
3503 |
length); |
|
|
3504 |
declaration.bits |= ASTNode.HasTypeAnnotations; |
| 3129 |
} |
3505 |
} |
| 3130 |
// Store javadoc only on first declaration as it is the same for all ones |
3506 |
// Store javadoc only on first declaration as it is the same for all ones |
| 3131 |
FieldDeclaration fieldDeclaration = (FieldDeclaration) declaration; |
3507 |
FieldDeclaration fieldDeclaration = (FieldDeclaration) declaration; |
|
Lines 3143-3156
Link Here
|
| 3143 |
if (annotations != null) { |
3519 |
if (annotations != null) { |
| 3144 |
final int annotationsLength = annotations.length; |
3520 |
final int annotationsLength = annotations.length; |
| 3145 |
System.arraycopy(annotations, 0, declaration.annotations = new Annotation[annotationsLength], 0, annotationsLength); |
3521 |
System.arraycopy(annotations, 0, declaration.annotations = new Annotation[annotationsLength], 0, annotationsLength); |
|
|
3522 |
declaration.bits |= ASTNode.HasTypeAnnotations; |
| 3146 |
} |
3523 |
} |
| 3147 |
} |
3524 |
} |
| 3148 |
|
3525 |
|
| 3149 |
if (extendedDimension == 0) { |
3526 |
if (extendedDimension == 0) { |
| 3150 |
declaration.type = type; |
3527 |
declaration.type = type; |
|
|
3528 |
declaration.bits |= (type.bits & ASTNode.HasTypeAnnotations); |
| 3151 |
} else { |
3529 |
} else { |
| 3152 |
int dimension = typeDim + extendedDimension; |
3530 |
int dimension = typeDim + extendedDimension; |
| 3153 |
declaration.type = copyDims(type, dimension); |
3531 |
Annotation [][] annotationsOnAllDimensions = null; |
|
|
3532 |
Annotation[][] annotationsOnDimensions = type.getAnnotationsOnDimensions(); |
| 3533 |
if (annotationsOnDimensions != null || annotationsOnExtendedDimensions != null) { |
| 3534 |
annotationsOnAllDimensions = getMergedAnnotationsOnDimensions(typeDim, annotationsOnDimensions, extendedDimension, annotationsOnExtendedDimensions); |
| 3535 |
declaration.bits |= (type.bits & ASTNode.HasTypeAnnotations); |
| 3536 |
} |
| 3537 |
declaration.type = copyDims(type, dimension, annotationsOnAllDimensions); |
| 3154 |
} |
3538 |
} |
| 3155 |
this.variablesCounter[this.nestedType]++; |
3539 |
this.variablesCounter[this.nestedType]++; |
| 3156 |
pushOnAstStack(declaration); |
3540 |
pushOnAstStack(declaration); |
|
Lines 3177-3182
Link Here
|
| 3177 |
this.lastIgnoredToken = -1; |
3561 |
this.lastIgnoredToken = -1; |
| 3178 |
} |
3562 |
} |
| 3179 |
} |
3563 |
} |
|
|
3564 |
protected Annotation[][] getMergedAnnotationsOnDimensions(int dims, Annotation[][] annotationsOnDimensions, |
| 3565 |
int extendedDims, Annotation[][] annotationsOnExtendedDimensions) { |
| 3566 |
|
| 3567 |
if (annotationsOnDimensions == null && annotationsOnExtendedDimensions == null) |
| 3568 |
return null; |
| 3569 |
|
| 3570 |
Annotation [][] mergedAnnotations = new Annotation[dims + extendedDims][]; |
| 3571 |
for (int i = 0; i < dims; i++) { |
| 3572 |
if (annotationsOnDimensions != null) { |
| 3573 |
mergedAnnotations[i] = annotationsOnDimensions[i]; |
| 3574 |
} else { |
| 3575 |
mergedAnnotations[i] = null; |
| 3576 |
} |
| 3577 |
} |
| 3578 |
for (int i = dims, j = 0; i < dims + extendedDims; i++, j++) { |
| 3579 |
if (annotationsOnExtendedDimensions != null) { |
| 3580 |
mergedAnnotations[i] = annotationsOnExtendedDimensions[j]; |
| 3581 |
} else { |
| 3582 |
mergedAnnotations[i] = null; |
| 3583 |
} |
| 3584 |
} |
| 3585 |
|
| 3586 |
return mergedAnnotations; |
| 3587 |
} |
| 3180 |
protected void consumeEnumBodyNoConstants() { |
3588 |
protected void consumeEnumBodyNoConstants() { |
| 3181 |
// nothing to do |
3589 |
// nothing to do |
| 3182 |
// The 0 on the astLengthStack has been pushed by EnumBodyDeclarationsopt |
3590 |
// The 0 on the astLengthStack has been pushed by EnumBodyDeclarationsopt |
|
Lines 3277-3292
Link Here
|
| 3277 |
enumConstant.declarationSourceStart = enumConstant.modifiersSourceStart; |
3685 |
enumConstant.declarationSourceStart = enumConstant.modifiersSourceStart; |
| 3278 |
|
3686 |
|
| 3279 |
// consume annotations |
3687 |
// consume annotations |
| 3280 |
int length; |
3688 |
int length; |
| 3281 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
3689 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 3282 |
System.arraycopy( |
3690 |
System.arraycopy( |
| 3283 |
this.expressionStack, |
3691 |
this.expressionStack, |
| 3284 |
(this.expressionPtr -= length) + 1, |
3692 |
(this.expressionPtr -= length) + 1, |
| 3285 |
enumConstant.annotations = new Annotation[length], |
3693 |
enumConstant.annotations = new Annotation[length], |
| 3286 |
0, |
3694 |
0, |
| 3287 |
length); |
3695 |
length); |
| 3288 |
} |
3696 |
enumConstant.bits |= ASTNode.HasTypeAnnotations; |
| 3289 |
pushOnAstStack(enumConstant); |
3697 |
} |
|
|
3698 |
pushOnAstStack(enumConstant); |
| 3290 |
if (this.currentElement != null){ |
3699 |
if (this.currentElement != null){ |
| 3291 |
this.lastCheckPoint = enumConstant.sourceEnd + 1; |
3700 |
this.lastCheckPoint = enumConstant.sourceEnd + 1; |
| 3292 |
this.currentElement = this.currentElement.add(enumConstant, 0); |
3701 |
this.currentElement = this.currentElement.add(enumConstant, 0); |
|
Lines 3793-3802
Link Here
|
| 3793 |
endOfEllipsis = this.intStack[this.intPtr--]; |
4202 |
endOfEllipsis = this.intStack[this.intPtr--]; |
| 3794 |
} |
4203 |
} |
| 3795 |
int firstDimensions = this.intStack[this.intPtr--]; |
4204 |
int firstDimensions = this.intStack[this.intPtr--]; |
| 3796 |
final int typeDimensions = firstDimensions + extendedDimensions; |
4205 |
TypeReference type = getUnannotatedTypeReference(extendedDimensions); |
| 3797 |
TypeReference type = getTypeReference(typeDimensions); |
4206 |
Annotation [] varArgsAnnotations = null; |
|
|
4207 |
int length; |
| 4208 |
if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 4209 |
System.arraycopy( |
| 4210 |
this.typeAnnotationStack, |
| 4211 |
(this.typeAnnotationPtr -= length) + 1, |
| 4212 |
varArgsAnnotations = new Annotation[length], |
| 4213 |
0, |
| 4214 |
length); |
| 4215 |
} |
| 4216 |
final int typeDimensions = firstDimensions + extendedDimensions + (isVarArgs ? 1 : 0); |
| 4217 |
|
| 4218 |
if (typeDimensions != extendedDimensions) { |
| 4219 |
// jsr308 type annotations management |
| 4220 |
Annotation [][] annotationsOnFirstDimensions = firstDimensions == 0 ? null : getAnnotationsOnDimensions(firstDimensions); |
| 4221 |
Annotation [][] annotationsOnExtendedDimensions = extendedDimensions == 0 ? null : type.getAnnotationsOnDimensions(); |
| 4222 |
Annotation [][] annotationsOnAllDimensions = null; |
| 4223 |
if (annotationsOnFirstDimensions != null || annotationsOnExtendedDimensions != null || varArgsAnnotations != null) { |
| 4224 |
annotationsOnAllDimensions = getMergedAnnotationsOnDimensions(firstDimensions, annotationsOnFirstDimensions, extendedDimensions, annotationsOnExtendedDimensions); |
| 4225 |
annotationsOnAllDimensions = getMergedAnnotationsOnDimensions(firstDimensions + extendedDimensions, annotationsOnAllDimensions, isVarArgs ? 1 : 0, isVarArgs ? new Annotation[][]{varArgsAnnotations} : null); |
| 4226 |
} |
| 4227 |
type = copyDims(type, typeDimensions, annotationsOnAllDimensions); |
| 4228 |
type.sourceEnd = type.isParameterizedTypeReference() ? this.endStatementPosition : this.endPosition; |
| 4229 |
} |
| 3798 |
if (isVarArgs) { |
4230 |
if (isVarArgs) { |
| 3799 |
type = copyDims(type, typeDimensions + 1); |
|
|
| 3800 |
if (extendedDimensions == 0) { |
4231 |
if (extendedDimensions == 0) { |
| 3801 |
type.sourceEnd = endOfEllipsis; |
4232 |
type.sourceEnd = endOfEllipsis; |
| 3802 |
} |
4233 |
} |
|
Lines 3811-3818
Link Here
|
| 3811 |
type, |
4242 |
type, |
| 3812 |
this.intStack[this.intPtr + 1] & ~ClassFileConstants.AccDeprecated); // modifiers |
4243 |
this.intStack[this.intPtr + 1] & ~ClassFileConstants.AccDeprecated); // modifiers |
| 3813 |
arg.declarationSourceStart = modifierPositions; |
4244 |
arg.declarationSourceStart = modifierPositions; |
|
|
4245 |
arg.bits |= (type.bits & ASTNode.HasTypeAnnotations); |
| 3814 |
// consume annotations |
4246 |
// consume annotations |
| 3815 |
int length; |
4247 |
|
| 3816 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
4248 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 3817 |
System.arraycopy( |
4249 |
System.arraycopy( |
| 3818 |
this.expressionStack, |
4250 |
this.expressionStack, |
|
Lines 3820-3825
Link Here
|
| 3820 |
arg.annotations = new Annotation[length], |
4252 |
arg.annotations = new Annotation[length], |
| 3821 |
0, |
4253 |
0, |
| 3822 |
length); |
4254 |
length); |
|
|
4255 |
arg.bits |= ASTNode.HasTypeAnnotations; |
| 3823 |
} |
4256 |
} |
| 3824 |
pushOnAstStack(arg); |
4257 |
pushOnAstStack(arg); |
| 3825 |
|
4258 |
|
|
Lines 3836-3843
Link Here
|
| 3836 |
extendedDimensions > 0) { |
4269 |
extendedDimensions > 0) { |
| 3837 |
problemReporter().illegalExtendedDimensions(arg); |
4270 |
problemReporter().illegalExtendedDimensions(arg); |
| 3838 |
} |
4271 |
} |
|
|
4272 |
} else { |
| 4273 |
// The grammar allows trailing annotations in FormalParameter as in |
| 4274 |
// "int @NonNull[] @Misplaced parameter" in order to allow for constructs such as |
| 4275 |
// "Object @NonNull[] @Correct ... objects" -- we prune these here. |
| 4276 |
if (varArgsAnnotations != null) { |
| 4277 |
problemReporter().misplacedTypeAnnotations(varArgsAnnotations[0], |
| 4278 |
varArgsAnnotations[varArgsAnnotations.length-1]); |
| 4279 |
} |
| 3839 |
} |
4280 |
} |
| 3840 |
} |
4281 |
} |
|
|
4282 |
protected Annotation[][] getAnnotationsOnDimensions(int dimensionsCount) { |
| 4283 |
Annotation [][] dimensionsAnnotations = null; |
| 4284 |
if (dimensionsCount > 0) { |
| 4285 |
for (int i = 0; i < dimensionsCount; i++) { |
| 4286 |
Annotation [] annotations = null; |
| 4287 |
int length; |
| 4288 |
if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 4289 |
System.arraycopy( |
| 4290 |
this.typeAnnotationStack, |
| 4291 |
(this.typeAnnotationPtr -= length) + 1, |
| 4292 |
annotations = new Annotation[length], |
| 4293 |
0, |
| 4294 |
length); |
| 4295 |
if (dimensionsAnnotations == null) { |
| 4296 |
dimensionsAnnotations = new Annotation[dimensionsCount][]; |
| 4297 |
} |
| 4298 |
dimensionsAnnotations[dimensionsCount - i - 1] = annotations; |
| 4299 |
} |
| 4300 |
} |
| 4301 |
} |
| 4302 |
return dimensionsAnnotations; |
| 4303 |
} |
| 3841 |
protected void consumeFormalParameterList() { |
4304 |
protected void consumeFormalParameterList() { |
| 3842 |
// FormalParameterList ::= FormalParameterList ',' FormalParameter |
4305 |
// FormalParameterList ::= FormalParameterList ',' FormalParameter |
| 3843 |
optimizedConcatNodeLists(); |
4306 |
optimizedConcatNodeLists(); |
|
Lines 3848-3862
Link Here
|
| 3848 |
} |
4311 |
} |
| 3849 |
protected void consumeGenericType() { |
4312 |
protected void consumeGenericType() { |
| 3850 |
// nothing to do |
4313 |
// nothing to do |
| 3851 |
// Will be consume by a getTypeRefence call |
4314 |
// Will be consume by a getTypeReference call |
| 3852 |
} |
4315 |
} |
| 3853 |
protected void consumeGenericTypeArrayType() { |
4316 |
protected void consumeGenericTypeArrayType() { |
| 3854 |
// nothing to do |
4317 |
// nothing to do |
| 3855 |
// Will be consume by a getTypeRefence call |
4318 |
// Will be consume by a getTypeReference call |
| 3856 |
} |
4319 |
} |
| 3857 |
protected void consumeGenericTypeNameArrayType() { |
4320 |
protected void consumeGenericTypeNameArrayType() { |
| 3858 |
// nothing to do |
4321 |
// nothing to do |
| 3859 |
// Will be consume by a getTypeRefence call |
4322 |
// Will be consume by a getTypeReference call |
| 3860 |
} |
4323 |
} |
| 3861 |
protected void consumeImportDeclaration() { |
4324 |
protected void consumeImportDeclaration() { |
| 3862 |
// SingleTypeImportDeclaration ::= SingleTypeImportDeclarationName ';' |
4325 |
// SingleTypeImportDeclaration ::= SingleTypeImportDeclarationName ';' |
|
Lines 3891-3896
Link Here
|
| 3891 |
protected void consumeInsideCastExpressionWithQualifiedGenerics() { |
4354 |
protected void consumeInsideCastExpressionWithQualifiedGenerics() { |
| 3892 |
// InsideCastExpressionWithQualifiedGenerics ::= $empty |
4355 |
// InsideCastExpressionWithQualifiedGenerics ::= $empty |
| 3893 |
} |
4356 |
} |
|
|
4357 |
protected void consumeInsideCastExpressionWithAnnotatedQualifiedGenerics() { |
| 4358 |
// InsideCastExpressionWithAnnotatedQualifiedGenerics ::= $empty |
| 4359 |
} |
| 3894 |
protected void consumeInstanceOfExpression() { |
4360 |
protected void consumeInstanceOfExpression() { |
| 3895 |
// RelationalExpression ::= RelationalExpression 'instanceof' ReferenceType |
4361 |
// RelationalExpression ::= RelationalExpression 'instanceof' ReferenceType |
| 3896 |
//optimize the push/pop |
4362 |
//optimize the push/pop |
|
Lines 3987-3994
Link Here
|
| 3987 |
typeDecl.superInterfaces = new TypeReference[length], |
4453 |
typeDecl.superInterfaces = new TypeReference[length], |
| 3988 |
0, |
4454 |
0, |
| 3989 |
length); |
4455 |
length); |
| 3990 |
for (int i = 0, max = typeDecl.superInterfaces.length; i < max; i++) { |
4456 |
TypeReference[] superinterfaces = typeDecl.superInterfaces; |
| 3991 |
typeDecl.superInterfaces[i].bits |= ASTNode.IsSuperType; |
4457 |
for (int i = 0, max = superinterfaces.length; i < max; i++) { |
|
|
4458 |
TypeReference typeReference = superinterfaces[i]; |
| 4459 |
typeDecl.bits |= (typeReference.bits & ASTNode.HasTypeAnnotations); |
| 4460 |
typeReference.bits |= ASTNode.IsSuperType; |
| 3992 |
} |
4461 |
} |
| 3993 |
typeDecl.bodyStart = typeDecl.superInterfaces[length-1].sourceEnd + 1; |
4462 |
typeDecl.bodyStart = typeDecl.superInterfaces[length-1].sourceEnd + 1; |
| 3994 |
this.listLength = 0; // reset after having read super-interfaces |
4463 |
this.listLength = 0; // reset after having read super-interfaces |
|
Lines 4348-4355
Link Here
|
| 4348 |
if (isNotAbstract) { |
4817 |
if (isNotAbstract) { |
| 4349 |
//statements |
4818 |
//statements |
| 4350 |
explicitDeclarations = this.realBlockStack[this.realBlockPtr--]; |
4819 |
explicitDeclarations = this.realBlockStack[this.realBlockPtr--]; |
| 4351 |
if (!this.options.ignoreMethodBodies) { |
4820 |
if ((length = this.astLengthStack[this.astLengthPtr--]) != 0) { |
| 4352 |
if ((length = this.astLengthStack[this.astLengthPtr--]) != 0) { |
4821 |
if (this.options.ignoreMethodBodies) { |
|
|
4822 |
this.astPtr -= length; |
| 4823 |
} else { |
| 4353 |
System.arraycopy( |
4824 |
System.arraycopy( |
| 4354 |
this.astStack, |
4825 |
this.astStack, |
| 4355 |
(this.astPtr -= length) + 1, |
4826 |
(this.astPtr -= length) + 1, |
|
Lines 4357-4365
Link Here
|
| 4357 |
0, |
4828 |
0, |
| 4358 |
length); |
4829 |
length); |
| 4359 |
} |
4830 |
} |
| 4360 |
} else { |
|
|
| 4361 |
length = this.astLengthStack[this.astLengthPtr--]; |
| 4362 |
this.astPtr -= length; |
| 4363 |
} |
4831 |
} |
| 4364 |
} |
4832 |
} |
| 4365 |
|
4833 |
|
|
Lines 4444-4449
Link Here
|
| 4444 |
// MethodHeaderExtendedDims ::= Dimsopt |
4912 |
// MethodHeaderExtendedDims ::= Dimsopt |
| 4445 |
// now we update the returnType of the method |
4913 |
// now we update the returnType of the method |
| 4446 |
MethodDeclaration md = (MethodDeclaration) this.astStack[this.astPtr]; |
4914 |
MethodDeclaration md = (MethodDeclaration) this.astStack[this.astPtr]; |
|
|
4915 |
// jsr308 -- consume receiver annotations |
| 4916 |
md.receiverAnnotations = null; |
| 4917 |
int length; |
| 4918 |
if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 4919 |
System.arraycopy( |
| 4920 |
this.typeAnnotationStack, |
| 4921 |
(this.typeAnnotationPtr -= length) + 1, |
| 4922 |
md.receiverAnnotations = new Annotation[length], |
| 4923 |
0, |
| 4924 |
length); |
| 4925 |
md.bits |= ASTNode.HasTypeAnnotations; |
| 4926 |
} |
| 4447 |
int extendedDims = this.intStack[this.intPtr--]; |
4927 |
int extendedDims = this.intStack[this.intPtr--]; |
| 4448 |
if(md.isAnnotationMethod()) { |
4928 |
if(md.isAnnotationMethod()) { |
| 4449 |
((AnnotationMethodDeclaration)md).extendedDimensions = extendedDims; |
4929 |
((AnnotationMethodDeclaration)md).extendedDimensions = extendedDims; |
|
Lines 4452-4458
Link Here
|
| 4452 |
TypeReference returnType = md.returnType; |
4932 |
TypeReference returnType = md.returnType; |
| 4453 |
md.sourceEnd = this.endPosition; |
4933 |
md.sourceEnd = this.endPosition; |
| 4454 |
int dims = returnType.dimensions() + extendedDims; |
4934 |
int dims = returnType.dimensions() + extendedDims; |
| 4455 |
md.returnType = copyDims(returnType, dims); |
4935 |
Annotation [][] annotationsOnDimensions = returnType.getAnnotationsOnDimensions(); |
|
|
4936 |
Annotation [][] annotationsOnExtendedDimensions = getAnnotationsOnDimensions(extendedDims); |
| 4937 |
Annotation [][] annotationsOnAllDimensions = null; |
| 4938 |
if (annotationsOnDimensions != null || annotationsOnExtendedDimensions != null) { |
| 4939 |
annotationsOnAllDimensions = getMergedAnnotationsOnDimensions(returnType.dimensions(), annotationsOnDimensions, extendedDims, annotationsOnExtendedDimensions); |
| 4940 |
} |
| 4941 |
md.returnType = copyDims(returnType, dims, annotationsOnAllDimensions); |
| 4456 |
if (this.currentToken == TokenNameLBRACE){ |
4942 |
if (this.currentToken == TokenNameLBRACE){ |
| 4457 |
md.bodyStart = this.endPosition + 1; |
4943 |
md.bodyStart = this.endPosition + 1; |
| 4458 |
} |
4944 |
} |
|
Lines 4536-4542
Link Here
|
| 4536 |
long selectorSource = this.identifierPositionStack[this.identifierPtr--]; |
5022 |
long selectorSource = this.identifierPositionStack[this.identifierPtr--]; |
| 4537 |
this.identifierLengthPtr--; |
5023 |
this.identifierLengthPtr--; |
| 4538 |
//type |
5024 |
//type |
| 4539 |
md.returnType = getTypeReference(this.intStack[this.intPtr--]); |
5025 |
TypeReference returnType = getTypeReference(this.intStack[this.intPtr--]); |
|
|
5026 |
md.returnType = returnType; |
| 5027 |
md.bits |= (returnType.bits & ASTNode.HasTypeAnnotations); |
| 4540 |
|
5028 |
|
| 4541 |
// consume type parameters |
5029 |
// consume type parameters |
| 4542 |
int length = this.genericsLengthStack[this.genericsLengthPtr--]; |
5030 |
int length = this.genericsLengthStack[this.genericsLengthPtr--]; |
|
Lines 4758-4763
Link Here
|
| 4758 |
protected void consumeModifiers2() { |
5246 |
protected void consumeModifiers2() { |
| 4759 |
this.expressionLengthStack[this.expressionLengthPtr - 1] += this.expressionLengthStack[this.expressionLengthPtr--]; |
5247 |
this.expressionLengthStack[this.expressionLengthPtr - 1] += this.expressionLengthStack[this.expressionLengthPtr--]; |
| 4760 |
} |
5248 |
} |
|
|
5249 |
|
| 5250 |
protected void consumeOneMoreTypeAnnotation() { |
| 5251 |
// OneOrMoreAnnotations ::= OneOrMoreAnnotations Annotation |
| 5252 |
this.expressionLengthPtr --; |
| 5253 |
Annotation annotation = (Annotation) this.expressionStack[this.expressionPtr--]; |
| 5254 |
pushOnTypeAnnotationStack(annotation); |
| 5255 |
this.typeAnnotationLengthStack[--this.typeAnnotationLengthPtr]++; |
| 5256 |
if(!this.statementRecoveryActivated && |
| 5257 |
this.options.sourceLevel < ClassFileConstants.JDK1_7 && |
| 5258 |
this.lastErrorEndPositionBeforeRecovery < this.scanner.currentPosition) { |
| 5259 |
problemReporter().invalidUsageOfTypeAnnotations(annotation); |
| 5260 |
} |
| 5261 |
} |
| 5262 |
protected void consumePotentialNameArrayType () { |
| 5263 |
|
| 5264 |
// FormalParameter ::= Modifiersopt Name DimsoptAnnotsopt PotentialNameArray VariableDeclaratorId |
| 5265 |
// FormalParameter ::= Modifiersopt Name DimsoptAnnotsopt PotentialNameArray '...' VariableDeclaratorId |
| 5266 |
// PotentialNameArray -> $empty |
| 5267 |
// Dimensions including lack of have been pushed appropriately by action attached to DimsoptAnnotsopt |
| 5268 |
pushOnGenericsLengthStack(0); // handle type arguments |
| 5269 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5270 |
} |
| 5271 |
|
| 4761 |
protected void consumeNameArrayType() { |
5272 |
protected void consumeNameArrayType() { |
| 4762 |
pushOnGenericsLengthStack(0); // handle type arguments |
5273 |
pushOnGenericsLengthStack(0); // handle type arguments |
| 4763 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
5274 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
|
Lines 4821-4829
Link Here
|
| 4821 |
} |
5332 |
} |
| 4822 |
this.recordStringLiterals = true; |
5333 |
this.recordStringLiterals = true; |
| 4823 |
} |
5334 |
} |
| 4824 |
protected void consumeOneDimLoop() { |
5335 |
protected void consumeOneDimLoop(boolean expressionStackMayHaveAnnotations) { |
| 4825 |
// OneDimLoop ::= '[' ']' |
5336 |
// OneDimLoop ::= '[' ']' |
|
|
5337 |
// OneDimOrAnnot -> '[' ']' |
| 4826 |
this.dimensions++; |
5338 |
this.dimensions++; |
|
|
5339 |
if (!expressionStackMayHaveAnnotations || this.unattachedAnnotationPtr == -1 ) { |
| 5340 |
pushOnTypeAnnotationLengthStack(0); // no annotations for the current dimension. |
| 5341 |
} else { |
| 5342 |
this.unattachedAnnotationPtr = -1; // Leave type annotation stacks they are. |
| 5343 |
} |
| 5344 |
} |
| 5345 |
protected void consumeOneDimLoopWithAnnotations() { |
| 5346 |
// OneDimLoop ::= OneOrMoreAnnotations '[' ']' |
| 5347 |
this.dimensions++; |
| 5348 |
// Top of expression stack contains annotations of length specified |
| 5349 |
// by top of expression length stack that apply to this dimension. |
| 4827 |
} |
5350 |
} |
| 4828 |
protected void consumeOnlySynchronized() { |
5351 |
protected void consumeOnlySynchronized() { |
| 4829 |
// OnlySynchronized ::= 'synchronized' |
5352 |
// OnlySynchronized ::= 'synchronized' |
|
Lines 4993-4999
Link Here
|
| 4993 |
pushOnGenericsLengthStack(0); |
5516 |
pushOnGenericsLengthStack(0); |
| 4994 |
|
5517 |
|
| 4995 |
pushOnExpressionStack( |
5518 |
pushOnExpressionStack( |
| 4996 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getTypeReference(this.intStack[this.intPtr--]))); |
5519 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getUnannotatedTypeReference(this.intStack[this.intPtr--]))); |
|
|
5520 |
} |
| 5521 |
protected void consumePrimaryNoNewArrayArrayTypeWithTypeAnnotations() { |
| 5522 |
// PrimaryNoNewArray ::= Modifiers Name Dims '.' 'class' |
| 5523 |
this.intPtr--; // remove the class start position |
| 5524 |
|
| 5525 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5526 |
pushOnGenericsLengthStack(0); |
| 5527 |
|
| 5528 |
int classTokenSourceEnd = this.intStack[this.intPtr--]; |
| 5529 |
TypeReference typeReference = getUnannotatedTypeReference(this.intStack[this.intPtr--]); |
| 5530 |
int length; |
| 5531 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 5532 |
System.arraycopy( |
| 5533 |
this.expressionStack, |
| 5534 |
(this.expressionPtr -= length) + 1, |
| 5535 |
typeReference.annotations = new Annotation[length], |
| 5536 |
0, |
| 5537 |
length); |
| 5538 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 5539 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 5540 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 5541 |
} |
| 5542 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 5543 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 5544 |
} |
| 5545 |
pushOnExpressionStack(new ClassLiteralAccess(classTokenSourceEnd, typeReference)); |
| 5546 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 5547 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 5548 |
} |
| 5549 |
resetModifiers(); |
| 4997 |
} |
5550 |
} |
| 4998 |
protected void consumePrimaryNoNewArrayName() { |
5551 |
protected void consumePrimaryNoNewArrayName() { |
| 4999 |
// PrimaryNoNewArray ::= Name '.' 'class' |
5552 |
// PrimaryNoNewArray ::= Name '.' 'class' |
|
Lines 5002-5017
Link Here
|
| 5002 |
// handle type arguments |
5555 |
// handle type arguments |
| 5003 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
5556 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5004 |
pushOnGenericsLengthStack(0); |
5557 |
pushOnGenericsLengthStack(0); |
| 5005 |
TypeReference typeReference = getTypeReference(0); |
5558 |
TypeReference typeReference = getUnannotatedTypeReference(0); // TODO (Srikanth) needs fix |
| 5006 |
|
5559 |
|
| 5007 |
pushOnExpressionStack( |
5560 |
pushOnExpressionStack( |
| 5008 |
new ClassLiteralAccess(this.intStack[this.intPtr--], typeReference)); |
5561 |
new ClassLiteralAccess(this.intStack[this.intPtr--], typeReference)); |
| 5009 |
} |
5562 |
} |
|
|
5563 |
protected void consumePrimaryNoNewArrayNameWithTypeAnnotations() { |
| 5564 |
// PrimaryNoNewArray ::= Modifiers Name '.' 'class' |
| 5565 |
this.intPtr--; // remove the class start position |
| 5566 |
|
| 5567 |
// handle type arguments |
| 5568 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5569 |
pushOnGenericsLengthStack(0); |
| 5570 |
TypeReference typeReference = getUnannotatedTypeReference(0); // TODO (Srikanth) needs fix |
| 5571 |
int length; |
| 5572 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 5573 |
System.arraycopy( |
| 5574 |
this.expressionStack, |
| 5575 |
(this.expressionPtr -= length) + 1, |
| 5576 |
typeReference.annotations = new Annotation[length], |
| 5577 |
0, |
| 5578 |
length); |
| 5579 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 5580 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 5581 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 5582 |
} |
| 5583 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 5584 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 5585 |
} |
| 5586 |
|
| 5587 |
pushOnExpressionStack(new ClassLiteralAccess(this.intStack[this.intPtr--], typeReference)); |
| 5588 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 5589 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 5590 |
} |
| 5591 |
resetModifiers(); |
| 5592 |
} |
| 5010 |
protected void consumePrimaryNoNewArrayNameSuper() { |
5593 |
protected void consumePrimaryNoNewArrayNameSuper() { |
| 5011 |
// PrimaryNoNewArray ::= Name '.' 'super' |
5594 |
// PrimaryNoNewArray ::= Name '.' 'super' |
| 5012 |
// handle type arguments |
5595 |
// handle type arguments |
| 5013 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
5596 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5014 |
pushOnGenericsLengthStack(0); |
5597 |
pushOnGenericsLengthStack(0); |
|
|
5598 |
pushOnTypeAnnotationLengthStack(0); // javac complains on annotations here. |
| 5015 |
TypeReference typeReference = getTypeReference(0); |
5599 |
TypeReference typeReference = getTypeReference(0); |
| 5016 |
|
5600 |
|
| 5017 |
pushOnExpressionStack( |
5601 |
pushOnExpressionStack( |
|
Lines 5025-5031
Link Here
|
| 5025 |
// handle type arguments |
5609 |
// handle type arguments |
| 5026 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
5610 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5027 |
pushOnGenericsLengthStack(0); // handle type arguments |
5611 |
pushOnGenericsLengthStack(0); // handle type arguments |
| 5028 |
|
5612 |
pushOnTypeAnnotationLengthStack(0); // javac complains on annotations here. |
| 5029 |
TypeReference typeReference = getTypeReference(0); |
5613 |
TypeReference typeReference = getTypeReference(0); |
| 5030 |
|
5614 |
|
| 5031 |
pushOnExpressionStack( |
5615 |
pushOnExpressionStack( |
|
Lines 5038-5050
Link Here
|
| 5038 |
// PrimaryNoNewArray ::= PrimitiveType Dims '.' 'class' |
5622 |
// PrimaryNoNewArray ::= PrimitiveType Dims '.' 'class' |
| 5039 |
this.intPtr--; // remove the class start position |
5623 |
this.intPtr--; // remove the class start position |
| 5040 |
pushOnExpressionStack( |
5624 |
pushOnExpressionStack( |
| 5041 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getTypeReference(this.intStack[this.intPtr--]))); |
5625 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getUnannotatedTypeReference(this.intStack[this.intPtr--]))); |
|
|
5626 |
} |
| 5627 |
protected void consumePrimaryNoNewArrayPrimitiveArrayTypeWithTypeAnnotations() { |
| 5628 |
// PrimaryNoNewArray ::= Modifiers PrimitiveType Dims '.' 'class' |
| 5629 |
this.intPtr--; // remove the class start position |
| 5630 |
int classTokeSourceEnd = this.intStack[this.intPtr--]; |
| 5631 |
TypeReference typeReference = getUnannotatedTypeReference(this.intStack[this.intPtr--]); |
| 5632 |
int length; |
| 5633 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 5634 |
System.arraycopy( |
| 5635 |
this.expressionStack, |
| 5636 |
(this.expressionPtr -= length) + 1, |
| 5637 |
typeReference.annotations = new Annotation[length], |
| 5638 |
0, |
| 5639 |
length); |
| 5640 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 5641 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 5642 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 5643 |
} |
| 5644 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 5645 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 5646 |
} |
| 5647 |
pushOnExpressionStack(new ClassLiteralAccess(classTokeSourceEnd, typeReference)); |
| 5648 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 5649 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 5650 |
} |
| 5651 |
resetModifiers(); |
| 5042 |
} |
5652 |
} |
| 5043 |
protected void consumePrimaryNoNewArrayPrimitiveType() { |
5653 |
protected void consumePrimaryNoNewArrayPrimitiveType() { |
| 5044 |
// PrimaryNoNewArray ::= PrimitiveType '.' 'class' |
5654 |
// PrimaryNoNewArray ::= PrimitiveType '.' 'class' |
| 5045 |
this.intPtr--; // remove the class start position |
5655 |
this.intPtr--; // remove the class start position |
| 5046 |
pushOnExpressionStack( |
5656 |
pushOnExpressionStack( |
| 5047 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getTypeReference(0))); |
5657 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getUnannotatedTypeReference(0))); |
|
|
5658 |
} |
| 5659 |
protected void consumePrimaryNoNewArrayPrimitiveTypeWithTypeAnnotations() { |
| 5660 |
// PrimaryNoNewArray ::= Modifiers PrimitiveType '.' 'class' |
| 5661 |
this.intPtr--; // remove the class start position |
| 5662 |
int classTokenSourceEnd = this.intStack[this.intPtr--]; |
| 5663 |
TypeReference typeReference = getUnannotatedTypeReference(0); |
| 5664 |
int length; |
| 5665 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 5666 |
System.arraycopy( |
| 5667 |
this.expressionStack, |
| 5668 |
(this.expressionPtr -= length) + 1, |
| 5669 |
typeReference.annotations = new Annotation[length], |
| 5670 |
0, |
| 5671 |
length); |
| 5672 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 5673 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 5674 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 5675 |
} |
| 5676 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 5677 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 5678 |
} |
| 5679 |
pushOnExpressionStack(new ClassLiteralAccess(classTokenSourceEnd, typeReference)); |
| 5680 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 5681 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 5682 |
} |
| 5683 |
resetModifiers(); |
| 5048 |
} |
5684 |
} |
| 5049 |
protected void consumePrimaryNoNewArrayThis() { |
5685 |
protected void consumePrimaryNoNewArrayThis() { |
| 5050 |
// PrimaryNoNewArray ::= 'this' |
5686 |
// PrimaryNoNewArray ::= 'this' |
|
Lines 5160-6843
Link Here
|
| 5160 |
// PushRPAREN ::= ')' |
5796 |
// PushRPAREN ::= ')' |
| 5161 |
pushOnIntStack(this.rParenPos); |
5797 |
pushOnIntStack(this.rParenPos); |
| 5162 |
} |
5798 |
} |
|
|
5799 |
protected void consumeUnannotatedType() { |
| 5800 |
/* We go through some song & dance here to get the type annotations stacks |
| 5801 |
to reflect the fact that this type was unannotated. Using a dummy non-terminal |
| 5802 |
with an empty rhs leads to conflicts in many places :-( |
| 5803 |
*/ |
| 5804 |
pushOnTypeAnnotationLengthStack(0); // either done or else made room. |
| 5805 |
int dims = this.intStack[this.intPtr]; |
| 5806 |
if (dims != 0) { |
| 5807 |
System.arraycopy( |
| 5808 |
this.typeAnnotationLengthStack, |
| 5809 |
this.typeAnnotationLengthPtr - dims, |
| 5810 |
this.typeAnnotationLengthStack, |
| 5811 |
this.typeAnnotationLengthPtr - dims + 1, |
| 5812 |
dims); |
| 5813 |
this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr - dims] = 0; // tag type as unannotated |
| 5814 |
} |
| 5815 |
} |
| 5816 |
protected void consumeAnnotatedType() { |
| 5817 |
/* We go through some song & dance here to get the type annotations stacks |
| 5818 |
to reflect the fact that this type was unannotated. Using a dummy non-terminal |
| 5819 |
with an empty rhs leads to conflicts in many places :-( |
| 5820 |
*/ |
| 5821 |
int dims = this.intStack[this.intPtr]; |
| 5822 |
if (dims != 0) { |
| 5823 |
int counter = 0; |
| 5824 |
for (int i = 0; i < dims; i++) { |
| 5825 |
// we count existing dimensions with annotations |
| 5826 |
counter += this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr - dims + 1 + i]; |
| 5827 |
} |
| 5828 |
System.arraycopy( |
| 5829 |
this.typeAnnotationLengthStack, |
| 5830 |
this.typeAnnotationLengthPtr - dims + 1, |
| 5831 |
this.typeAnnotationLengthStack, |
| 5832 |
this.typeAnnotationLengthPtr - dims + 2, |
| 5833 |
dims); |
| 5834 |
int length = this.expressionLengthStack[this.expressionLengthPtr--]; |
| 5835 |
this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr - dims + 1] = length; |
| 5836 |
int typeAnnotationStackLength = this.typeAnnotationStack.length; |
| 5837 |
if (this.typeAnnotationPtr + counter + length >= typeAnnotationStackLength) { |
| 5838 |
System.arraycopy( |
| 5839 |
this.typeAnnotationStack, |
| 5840 |
0, |
| 5841 |
this.typeAnnotationStack = new Annotation[typeAnnotationStackLength + TypeAnnotationStackIncrement], |
| 5842 |
0, |
| 5843 |
typeAnnotationStackLength); |
| 5844 |
} |
| 5845 |
System.arraycopy( |
| 5846 |
this.typeAnnotationStack, |
| 5847 |
this.typeAnnotationPtr - counter + 1, |
| 5848 |
this.typeAnnotationStack, |
| 5849 |
this.typeAnnotationPtr - counter + 1 + length, |
| 5850 |
counter); |
| 5851 |
System.arraycopy( |
| 5852 |
this.expressionStack, |
| 5853 |
(this.expressionPtr -= length) + 1, |
| 5854 |
this.typeAnnotationStack, |
| 5855 |
this.typeAnnotationPtr - counter + 1, |
| 5856 |
length); |
| 5857 |
this.typeAnnotationPtr += length; |
| 5858 |
this.typeAnnotationLengthPtr++; |
| 5859 |
} else { |
| 5860 |
int length = this.expressionLengthStack[this.expressionLengthPtr--]; |
| 5861 |
int typeAnnotationStackLength = this.typeAnnotationStack.length; |
| 5862 |
if (this.typeAnnotationPtr + length >= typeAnnotationStackLength) { |
| 5863 |
System.arraycopy( |
| 5864 |
this.typeAnnotationStack, |
| 5865 |
0, |
| 5866 |
this.typeAnnotationStack = new Annotation[typeAnnotationStackLength + TypeAnnotationStackIncrement], |
| 5867 |
0, |
| 5868 |
typeAnnotationStackLength); |
| 5869 |
} |
| 5870 |
System.arraycopy( |
| 5871 |
this.expressionStack, |
| 5872 |
(this.expressionPtr -= length) + 1, |
| 5873 |
this.typeAnnotationStack, |
| 5874 |
this.typeAnnotationPtr + 1, |
| 5875 |
length); |
| 5876 |
this.typeAnnotationPtr += length; |
| 5877 |
pushOnTypeAnnotationLengthStack(length); |
| 5878 |
} |
| 5879 |
// if (this.modifiers != ClassFileConstants.AccDefault) { |
| 5880 |
// problemReporter().invalidLocationForModifiers(typeReference); |
| 5881 |
// } |
| 5882 |
// resetModifiers(); |
| 5883 |
} |
| 5884 |
protected void consumeTypeAnnotation (boolean markAsUnattached) { |
| 5885 |
if(!this.statementRecoveryActivated && |
| 5886 |
this.options.sourceLevel < ClassFileConstants.JDK1_7 && |
| 5887 |
this.lastErrorEndPositionBeforeRecovery < this.scanner.currentPosition) { |
| 5888 |
problemReporter().invalidUsageOfTypeAnnotations((Annotation) this.expressionStack[this.expressionPtr]); |
| 5889 |
} |
| 5890 |
this.expressionLengthPtr --; |
| 5891 |
Annotation annotation = (Annotation) this.expressionStack[this.expressionPtr--]; |
| 5892 |
pushOnTypeAnnotationStack(annotation); |
| 5893 |
if (markAsUnattached) { |
| 5894 |
if (this.unattachedAnnotationPtr == -1) { |
| 5895 |
this.unattachedAnnotationPtr = this.typeAnnotationPtr; |
| 5896 |
} else { |
| 5897 |
this.typeAnnotationLengthStack[--this.typeAnnotationLengthPtr]++; |
| 5898 |
} |
| 5899 |
} |
| 5900 |
} |
| 5901 |
protected void consumeDimsWithTrailingAnnotsopt() { |
| 5902 |
// DimsoptAnnotsopt -> DimsAnnotLoop |
| 5903 |
pushOnIntStack(this.dimensions); |
| 5904 |
this.dimensions = 0; |
| 5905 |
if (this.unattachedAnnotationPtr == -1) { |
| 5906 |
pushOnTypeAnnotationLengthStack(0); // no trailing annotations (receiver/vararg) |
| 5907 |
} else { |
| 5908 |
this.unattachedAnnotationPtr = -1; // reset this and leave the annotation stacks as they are. |
| 5909 |
} |
| 5910 |
} |
| 5911 |
protected void consumeZeroTypeAnnotations(boolean shouldPush) { |
| 5912 |
if (shouldPush) { |
| 5913 |
pushOnTypeAnnotationLengthStack(0); |
| 5914 |
} else { |
| 5915 |
this.typeAnnotationLengthPtr --; // pop the 0 from the length stack |
| 5916 |
} |
| 5917 |
} |
| 5918 |
protected void consumeEmptyDimsoptAnnotsopt() { |
| 5919 |
// DimsoptAnnotsopt ::= $empty |
| 5920 |
pushOnIntStack(0); // signal a non array |
| 5921 |
pushOnTypeAnnotationLengthStack(0); // no trailing annotations (receiver/vararg) |
| 5922 |
} |
| 5923 |
protected void consumeRightParenForUnannotatedTypeCast() { |
| 5924 |
consumeUnannotatedType(); |
| 5925 |
// PushRPAREN ::= ')' |
| 5926 |
pushOnIntStack(this.rParenPos); |
| 5927 |
} |
| 5928 |
protected void consumeRightParenForNameUnannotatedTypeCast() { |
| 5929 |
pushOnIntStack(0); // signal a non array |
| 5930 |
consumeUnannotatedType(); |
| 5931 |
// remove the fake dimension |
| 5932 |
this.intPtr--; |
| 5933 |
// PushRPAREN ::= ')' |
| 5934 |
pushOnIntStack(this.rParenPos); |
| 5935 |
} |
| 5936 |
protected void consumeRightParenForAnnotatedTypeCast() { |
| 5937 |
consumeUnannotatedType(); |
| 5938 |
// PushRPAREN ::= ')' |
| 5939 |
pushOnIntStack(this.rParenPos); |
| 5940 |
} |
| 5941 |
protected void consumeRightParenForNameAndAnnotatedTypeCast() { |
| 5942 |
// push a zero for dimensions |
| 5943 |
pushOnIntStack(0); |
| 5944 |
consumeUnannotatedType(); |
| 5945 |
// remove the fake dimension |
| 5946 |
this.intPtr--; |
| 5947 |
// PushRPAREN ::= ')' |
| 5948 |
pushOnIntStack(this.rParenPos); |
| 5949 |
} |
| 5163 |
// This method is part of an automatic generation : do NOT edit-modify |
5950 |
// This method is part of an automatic generation : do NOT edit-modify |
| 5164 |
protected void consumeRule(int act) { |
5951 |
protected void consumeRule(int act) { |
| 5165 |
switch ( act ) { |
5952 |
switch ( act ) { |
| 5166 |
case 30 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ |
5953 |
case 32 : if (DEBUG) { System.out.println("Type ::= TypeInternal"); } //$NON-NLS-1$ |
|
|
5954 |
consumeUnannotatedType(); |
| 5955 |
break; |
| 5956 |
|
| 5957 |
case 34 : if (DEBUG) { System.out.println("Type0 ::= TypeInternal"); } //$NON-NLS-1$ |
| 5958 |
consumeUnannotatedType(); |
| 5959 |
break; |
| 5960 |
|
| 5961 |
case 35 : if (DEBUG) { System.out.println("TypeInternal ::= PrimitiveType"); } //$NON-NLS-1$ |
| 5167 |
consumePrimitiveType(); |
5962 |
consumePrimitiveType(); |
| 5168 |
break; |
5963 |
break; |
| 5169 |
|
5964 |
|
| 5170 |
case 44 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ |
5965 |
case 49 : if (DEBUG) { System.out.println("ReferenceType ::= ReferenceType0"); } //$NON-NLS-1$ |
|
|
5966 |
consumeUnannotatedType(); |
| 5967 |
break; |
| 5968 |
|
| 5969 |
case 50 : if (DEBUG) { System.out.println("ReferenceType ::= Modifiers ReferenceType0"); } //$NON-NLS-1$ |
| 5970 |
consumeAnnotatedType(); |
| 5971 |
break; |
| 5972 |
|
| 5973 |
case 51 : if (DEBUG) { System.out.println("ReferenceType0 ::= ClassOrInterfaceType0"); } //$NON-NLS-1$ |
| 5171 |
consumeReferenceType(); |
5974 |
consumeReferenceType(); |
| 5172 |
break; |
5975 |
break; |
| 5173 |
|
5976 |
|
| 5174 |
case 48 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ |
5977 |
case 53 : if (DEBUG) { System.out.println("Annotationsopt ::="); } //$NON-NLS-1$ |
|
|
5978 |
consumeZeroTypeAnnotations(true); |
| 5979 |
break; |
| 5980 |
|
| 5981 |
case 58 : if (DEBUG) { System.out.println("ClassOrInterface ::= ClassOrInterface0"); } //$NON-NLS-1$ |
| 5982 |
consumeZeroTypeAnnotations(true); |
| 5983 |
break; |
| 5984 |
|
| 5985 |
case 59 : if (DEBUG) { System.out.println("ClassOrInterface0 ::= Name"); } //$NON-NLS-1$ |
| 5175 |
consumeClassOrInterfaceName(); |
5986 |
consumeClassOrInterfaceName(); |
| 5176 |
break; |
5987 |
break; |
| 5177 |
|
5988 |
|
| 5178 |
case 49 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ |
5989 |
case 61 : if (DEBUG) { System.out.println("PopZeroTypeAnnotations ::="); } //$NON-NLS-1$ |
| 5179 |
consumeClassOrInterface(); |
5990 |
consumeZeroTypeAnnotations(false); |
| 5180 |
break; |
5991 |
break; |
| 5181 |
|
5992 |
|
| 5182 |
case 50 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ |
5993 |
case 62 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments..."); } //$NON-NLS-1$ |
| 5183 |
consumeGenericType(); |
5994 |
consumeGenericType(); |
| 5184 |
break; |
5995 |
break; |
| 5185 |
|
5996 |
|
| 5186 |
case 51 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ |
5997 |
case 63 : if (DEBUG) { System.out.println("GenericTypeDotName ::= GenericType DOT Name"); } //$NON-NLS-1$ |
| 5187 |
consumeArrayTypeWithTypeArgumentsName(); |
5998 |
consumeClassOrInterface(); |
| 5188 |
break; |
5999 |
break; |
| 5189 |
|
6000 |
|
| 5190 |
case 52 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ |
6001 |
case 65 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ |
| 5191 |
consumePrimitiveArrayType(); |
6002 |
consumePrimitiveArrayType(); |
| 5192 |
break; |
6003 |
break; |
| 5193 |
|
6004 |
|
| 5194 |
case 53 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ |
6005 |
case 66 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ |
| 5195 |
consumeNameArrayType(); |
6006 |
consumeNameArrayType(); |
| 5196 |
break; |
6007 |
break; |
| 5197 |
|
6008 |
|
| 5198 |
case 54 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ |
6009 |
case 67 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ |
| 5199 |
consumeGenericTypeNameArrayType(); |
6010 |
consumeGenericTypeNameArrayType(); |
| 5200 |
break; |
6011 |
break; |
| 5201 |
|
6012 |
|
| 5202 |
case 55 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ |
6013 |
case 68 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ |
| 5203 |
consumeGenericTypeArrayType(); |
6014 |
consumeGenericTypeArrayType(); |
| 5204 |
break; |
6015 |
break; |
| 5205 |
|
6016 |
|
| 5206 |
case 60 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ |
6017 |
case 73 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ |
| 5207 |
consumeQualifiedName(); |
6018 |
consumeQualifiedName(); |
| 5208 |
break; |
6019 |
break; |
| 5209 |
|
6020 |
|
| 5210 |
case 61 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ |
6021 |
case 74 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ |
| 5211 |
consumeCompilationUnit(); |
6022 |
consumeCompilationUnit(); |
| 5212 |
break; |
6023 |
break; |
| 5213 |
|
6024 |
|
| 5214 |
case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ |
6025 |
case 75 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ |
| 5215 |
consumeInternalCompilationUnit(); |
6026 |
consumeInternalCompilationUnit(); |
| 5216 |
break; |
6027 |
break; |
| 5217 |
|
6028 |
|
| 5218 |
case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
6029 |
case 76 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
| 5219 |
consumeInternalCompilationUnit(); |
6030 |
consumeInternalCompilationUnit(); |
| 5220 |
break; |
6031 |
break; |
| 5221 |
|
6032 |
|
| 5222 |
case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
6033 |
case 77 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
| 5223 |
consumeInternalCompilationUnitWithTypes(); |
6034 |
consumeInternalCompilationUnitWithTypes(); |
| 5224 |
break; |
6035 |
break; |
| 5225 |
|
6036 |
|
| 5226 |
case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
6037 |
case 78 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
| 5227 |
consumeInternalCompilationUnitWithTypes(); |
6038 |
consumeInternalCompilationUnitWithTypes(); |
| 5228 |
break; |
6039 |
break; |
| 5229 |
|
6040 |
|
| 5230 |
case 66 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ |
6041 |
case 79 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ |
| 5231 |
consumeInternalCompilationUnit(); |
6042 |
consumeInternalCompilationUnit(); |
| 5232 |
break; |
6043 |
break; |
| 5233 |
|
6044 |
|
| 5234 |
case 67 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ |
6045 |
case 80 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ |
| 5235 |
consumeInternalCompilationUnitWithTypes(); |
6046 |
consumeInternalCompilationUnitWithTypes(); |
| 5236 |
break; |
6047 |
break; |
| 5237 |
|
6048 |
|
| 5238 |
case 68 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ |
6049 |
case 81 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ |
| 5239 |
consumeInternalCompilationUnitWithTypes(); |
6050 |
consumeInternalCompilationUnitWithTypes(); |
| 5240 |
break; |
6051 |
break; |
| 5241 |
|
6052 |
|
| 5242 |
case 69 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ |
6053 |
case 82 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ |
| 5243 |
consumeEmptyInternalCompilationUnit(); |
6054 |
consumeEmptyInternalCompilationUnit(); |
| 5244 |
break; |
6055 |
break; |
| 5245 |
|
6056 |
|
| 5246 |
case 70 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ |
6057 |
case 83 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ |
| 5247 |
consumeReduceImports(); |
6058 |
consumeReduceImports(); |
| 5248 |
break; |
6059 |
break; |
| 5249 |
|
6060 |
|
| 5250 |
case 71 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ |
6061 |
case 84 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ |
| 5251 |
consumeEnterCompilationUnit(); |
6062 |
consumeEnterCompilationUnit(); |
| 5252 |
break; |
6063 |
break; |
| 5253 |
|
6064 |
|
| 5254 |
case 87 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ |
6065 |
case 103 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ |
| 5255 |
consumeCatchHeader(); |
6066 |
consumeCatchHeader(); |
| 5256 |
break; |
6067 |
break; |
| 5257 |
|
6068 |
|
| 5258 |
case 89 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ |
6069 |
case 105 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ |
| 5259 |
consumeImportDeclarations(); |
6070 |
consumeImportDeclarations(); |
| 5260 |
break; |
6071 |
break; |
| 5261 |
|
6072 |
|
| 5262 |
case 91 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ |
6073 |
case 107 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ |
| 5263 |
consumeTypeDeclarations(); |
6074 |
consumeTypeDeclarations(); |
| 5264 |
break; |
6075 |
break; |
| 5265 |
|
6076 |
|
| 5266 |
case 92 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ |
6077 |
case 108 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ |
| 5267 |
consumePackageDeclaration(); |
6078 |
consumePackageDeclaration(); |
| 5268 |
break; |
6079 |
break; |
| 5269 |
|
6080 |
|
| 5270 |
case 93 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ |
6081 |
case 109 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ |
| 5271 |
consumePackageDeclarationNameWithModifiers(); |
6082 |
consumePackageDeclarationNameWithModifiers(); |
| 5272 |
break; |
6083 |
break; |
| 5273 |
|
6084 |
|
| 5274 |
case 94 : if (DEBUG) { System.out.println("PackageDeclarationName ::= PackageComment package Name"); } //$NON-NLS-1$ |
6085 |
case 110 : if (DEBUG) { System.out.println("PackageDeclarationName ::= PackageComment package Name"); } //$NON-NLS-1$ |
| 5275 |
consumePackageDeclarationName(); |
6086 |
consumePackageDeclarationName(); |
| 5276 |
break; |
6087 |
break; |
| 5277 |
|
6088 |
|
| 5278 |
case 95 : if (DEBUG) { System.out.println("PackageComment ::="); } //$NON-NLS-1$ |
6089 |
case 111 : if (DEBUG) { System.out.println("PackageComment ::="); } //$NON-NLS-1$ |
| 5279 |
consumePackageComment(); |
6090 |
consumePackageComment(); |
| 5280 |
break; |
6091 |
break; |
| 5281 |
|
6092 |
|
| 5282 |
case 100 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ |
6093 |
case 116 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ |
| 5283 |
consumeImportDeclaration(); |
6094 |
consumeImportDeclaration(); |
| 5284 |
break; |
6095 |
break; |
| 5285 |
|
6096 |
|
| 5286 |
case 101 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ |
6097 |
case 117 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ |
| 5287 |
consumeSingleTypeImportDeclarationName(); |
6098 |
consumeSingleTypeImportDeclarationName(); |
| 5288 |
break; |
6099 |
break; |
| 5289 |
|
6100 |
|
| 5290 |
case 102 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ |
6101 |
case 118 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ |
| 5291 |
consumeImportDeclaration(); |
6102 |
consumeImportDeclaration(); |
| 5292 |
break; |
6103 |
break; |
| 5293 |
|
6104 |
|
| 5294 |
case 103 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ |
6105 |
case 119 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ |
| 5295 |
consumeTypeImportOnDemandDeclarationName(); |
6106 |
consumeTypeImportOnDemandDeclarationName(); |
| 5296 |
break; |
6107 |
break; |
| 5297 |
|
6108 |
|
| 5298 |
case 106 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
6109 |
case 122 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
| 5299 |
consumeEmptyTypeDeclaration(); |
6110 |
consumeEmptyTypeDeclaration(); |
| 5300 |
break; |
6111 |
break; |
| 5301 |
|
6112 |
|
| 5302 |
case 110 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ |
6113 |
case 126 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ |
| 5303 |
consumeModifiers2(); |
6114 |
consumeModifiers2(); |
| 5304 |
break; |
6115 |
break; |
| 5305 |
|
6116 |
|
| 5306 |
case 122 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ |
6117 |
case 138 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ |
| 5307 |
consumeAnnotationAsModifier(); |
6118 |
consumeAnnotationAsModifier(); |
| 5308 |
break; |
6119 |
break; |
| 5309 |
|
6120 |
|
| 5310 |
case 123 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ |
6121 |
case 139 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ |
| 5311 |
consumeClassDeclaration(); |
6122 |
consumeClassDeclaration(); |
| 5312 |
break; |
6123 |
break; |
| 5313 |
|
6124 |
|
| 5314 |
case 124 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ |
6125 |
case 140 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ |
| 5315 |
consumeClassHeader(); |
6126 |
consumeClassHeader(); |
| 5316 |
break; |
6127 |
break; |
| 5317 |
|
6128 |
|
| 5318 |
case 125 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ |
6129 |
case 141 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ |
| 5319 |
consumeTypeHeaderNameWithTypeParameters(); |
6130 |
consumeTypeHeaderNameWithTypeParameters(); |
| 5320 |
break; |
6131 |
break; |
| 5321 |
|
6132 |
|
| 5322 |
case 127 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ |
6133 |
case 143 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ |
| 5323 |
consumeClassHeaderName1(); |
6134 |
consumeClassHeaderName1(); |
| 5324 |
break; |
6135 |
break; |
| 5325 |
|
6136 |
|
| 5326 |
case 128 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ |
6137 |
case 144 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ |
| 5327 |
consumeClassHeaderExtends(); |
6138 |
consumeClassHeaderExtends(); |
| 5328 |
break; |
6139 |
break; |
| 5329 |
|
6140 |
|
| 5330 |
case 129 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ |
6141 |
case 145 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ |
| 5331 |
consumeClassHeaderImplements(); |
6142 |
consumeClassHeaderImplements(); |
| 5332 |
break; |
6143 |
break; |
| 5333 |
|
6144 |
|
| 5334 |
case 131 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ |
6145 |
case 147 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ |
| 5335 |
consumeInterfaceTypeList(); |
6146 |
consumeInterfaceTypeList(); |
| 5336 |
break; |
6147 |
break; |
| 5337 |
|
6148 |
|
| 5338 |
case 132 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ |
6149 |
case 148 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ |
| 5339 |
consumeInterfaceType(); |
6150 |
consumeInterfaceType(); |
| 5340 |
break; |
6151 |
break; |
| 5341 |
|
6152 |
|
| 5342 |
case 135 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ |
6153 |
case 151 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ |
| 5343 |
consumeClassBodyDeclarations(); |
6154 |
consumeClassBodyDeclarations(); |
| 5344 |
break; |
6155 |
break; |
| 5345 |
|
6156 |
|
| 5346 |
case 139 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod..."); } //$NON-NLS-1$ |
6157 |
case 155 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod..."); } //$NON-NLS-1$ |
| 5347 |
consumeClassBodyDeclaration(); |
6158 |
consumeClassBodyDeclaration(); |
| 5348 |
break; |
6159 |
break; |
| 5349 |
|
6160 |
|
| 5350 |
case 140 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ |
6161 |
case 156 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ |
| 5351 |
consumeDiet(); |
6162 |
consumeDiet(); |
| 5352 |
break; |
6163 |
break; |
| 5353 |
|
6164 |
|
| 5354 |
case 141 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod CreateInitializer..."); } //$NON-NLS-1$ |
6165 |
case 157 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod CreateInitializer..."); } //$NON-NLS-1$ |
| 5355 |
consumeClassBodyDeclaration(); |
6166 |
consumeClassBodyDeclaration(); |
| 5356 |
break; |
6167 |
break; |
| 5357 |
|
6168 |
|
| 5358 |
case 142 : if (DEBUG) { System.out.println("CreateInitializer ::="); } //$NON-NLS-1$ |
6169 |
case 158 : if (DEBUG) { System.out.println("CreateInitializer ::="); } //$NON-NLS-1$ |
| 5359 |
consumeCreateInitializer(); |
6170 |
consumeCreateInitializer(); |
| 5360 |
break; |
6171 |
break; |
| 5361 |
|
6172 |
|
| 5362 |
case 149 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
6173 |
case 165 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
| 5363 |
consumeEmptyTypeDeclaration(); |
6174 |
consumeEmptyTypeDeclaration(); |
| 5364 |
break; |
6175 |
break; |
| 5365 |
|
6176 |
|
| 5366 |
case 152 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ |
6177 |
case 168 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type0..."); } //$NON-NLS-1$ |
| 5367 |
consumeFieldDeclaration(); |
6178 |
consumeFieldDeclaration(); |
| 5368 |
break; |
6179 |
break; |
| 5369 |
|
6180 |
|
| 5370 |
case 154 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ |
6181 |
case 170 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ |
| 5371 |
consumeVariableDeclarators(); |
6182 |
consumeVariableDeclarators(); |
| 5372 |
break; |
6183 |
break; |
| 5373 |
|
6184 |
|
| 5374 |
case 157 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ |
6185 |
case 173 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ |
| 5375 |
consumeEnterVariable(); |
6186 |
consumeEnterVariable(); |
| 5376 |
break; |
6187 |
break; |
| 5377 |
|
6188 |
|
| 5378 |
case 158 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ |
6189 |
case 174 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ |
| 5379 |
consumeExitVariableWithInitialization(); |
6190 |
consumeExitVariableWithInitialization(); |
| 5380 |
break; |
6191 |
break; |
| 5381 |
|
6192 |
|
| 5382 |
case 159 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ |
6193 |
case 175 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ |
| 5383 |
consumeExitVariableWithoutInitialization(); |
6194 |
consumeExitVariableWithoutInitialization(); |
| 5384 |
break; |
6195 |
break; |
| 5385 |
|
6196 |
|
| 5386 |
case 160 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ |
6197 |
case 176 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ |
| 5387 |
consumeForceNoDiet(); |
6198 |
consumeForceNoDiet(); |
| 5388 |
break; |
6199 |
break; |
| 5389 |
|
6200 |
|
| 5390 |
case 161 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ |
6201 |
case 177 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ |
| 5391 |
consumeRestoreDiet(); |
6202 |
consumeRestoreDiet(); |
| 5392 |
break; |
6203 |
break; |
| 5393 |
|
6204 |
|
| 5394 |
case 166 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ |
6205 |
case 182 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ |
| 5395 |
// set to true to consume a method with a body |
6206 |
// set to true to consume a method with a body |
| 5396 |
consumeMethodDeclaration(true); |
6207 |
consumeMethodDeclaration(true); |
| 5397 |
break; |
6208 |
break; |
| 5398 |
|
6209 |
|
| 5399 |
case 167 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ |
6210 |
case 183 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ |
| 5400 |
// set to false to consume a method without body |
6211 |
// set to false to consume a method without body |
| 5401 |
consumeMethodDeclaration(false); |
6212 |
consumeMethodDeclaration(false); |
| 5402 |
break; |
6213 |
break; |
| 5403 |
|
6214 |
|
| 5404 |
case 168 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ |
6215 |
case 184 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ |
| 5405 |
consumeMethodHeader(); |
6216 |
consumeMethodHeader(); |
| 5406 |
break; |
6217 |
break; |
| 5407 |
|
6218 |
|
| 5408 |
case 169 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ |
6219 |
case 185 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ |
| 5409 |
consumeMethodHeaderNameWithTypeParameters(false); |
6220 |
consumeMethodHeaderNameWithTypeParameters(false); |
| 5410 |
break; |
6221 |
break; |
| 5411 |
|
6222 |
|
| 5412 |
case 170 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ |
6223 |
case 186 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type0 Identifier..."); } //$NON-NLS-1$ |
| 5413 |
consumeMethodHeaderName(false); |
6224 |
consumeMethodHeaderName(false); |
| 5414 |
break; |
6225 |
break; |
| 5415 |
|
6226 |
|
| 5416 |
case 171 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ |
6227 |
case 187 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ |
| 5417 |
consumeMethodHeaderRightParen(); |
6228 |
consumeMethodHeaderRightParen(); |
| 5418 |
break; |
6229 |
break; |
| 5419 |
|
6230 |
|
| 5420 |
case 172 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ |
6231 |
case 188 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= DimsoptAnnotsopt"); } //$NON-NLS-1$ |
| 5421 |
consumeMethodHeaderExtendedDims(); |
6232 |
consumeMethodHeaderExtendedDims(); |
| 5422 |
break; |
6233 |
break; |
| 5423 |
|
6234 |
|
| 5424 |
case 173 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ |
6235 |
case 189 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ |
| 5425 |
consumeMethodHeaderThrowsClause(); |
6236 |
consumeMethodHeaderThrowsClause(); |
| 5426 |
break; |
6237 |
break; |
| 5427 |
|
6238 |
|
| 5428 |
case 174 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ |
6239 |
case 190 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ |
| 5429 |
consumeConstructorHeader(); |
6240 |
consumeConstructorHeader(); |
| 5430 |
break; |
6241 |
break; |
| 5431 |
|
6242 |
|
| 5432 |
case 175 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ |
6243 |
case 191 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ |
| 5433 |
consumeConstructorHeaderNameWithTypeParameters(); |
6244 |
consumeConstructorHeaderNameWithTypeParameters(); |
| 5434 |
break; |
6245 |
break; |
| 5435 |
|
6246 |
|
| 5436 |
case 176 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ |
6247 |
case 192 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ |
| 5437 |
consumeConstructorHeaderName(); |
6248 |
consumeConstructorHeaderName(); |
| 5438 |
break; |
6249 |
break; |
| 5439 |
|
6250 |
|
| 5440 |
case 178 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ |
6251 |
case 194 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ |
| 5441 |
consumeFormalParameterList(); |
6252 |
consumeFormalParameterList(); |
| 5442 |
break; |
6253 |
break; |
| 5443 |
|
6254 |
|
| 5444 |
case 179 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ |
6255 |
case 195 : if (DEBUG) { System.out.println("PotentialNameArray ::="); } //$NON-NLS-1$ |
|
|
6256 |
consumePotentialNameArrayType(); |
| 6257 |
break; |
| 6258 |
|
| 6259 |
case 196 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt PrimitiveType..."); } //$NON-NLS-1$ |
| 6260 |
consumeFormalParameter(false); |
| 6261 |
break; |
| 6262 |
|
| 6263 |
case 197 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt PrimitiveType..."); } //$NON-NLS-1$ |
| 6264 |
consumeFormalParameter(true); |
| 6265 |
break; |
| 6266 |
|
| 6267 |
case 198 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Name DimsoptAnnotsopt"); } //$NON-NLS-1$ |
| 6268 |
consumeFormalParameter(false); |
| 6269 |
break; |
| 6270 |
|
| 6271 |
case 199 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Name DimsoptAnnotsopt"); } //$NON-NLS-1$ |
| 6272 |
consumeFormalParameter(true); |
| 6273 |
break; |
| 6274 |
|
| 6275 |
case 200 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt GenericType..."); } //$NON-NLS-1$ |
| 6276 |
consumeFormalParameter(false); |
| 6277 |
break; |
| 6278 |
|
| 6279 |
case 201 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt GenericType..."); } //$NON-NLS-1$ |
| 6280 |
consumeFormalParameter(true); |
| 6281 |
break; |
| 6282 |
|
| 6283 |
case 202 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt GenericTypeDotName..."); } //$NON-NLS-1$ |
| 5445 |
consumeFormalParameter(false); |
6284 |
consumeFormalParameter(false); |
| 5446 |
break; |
6285 |
break; |
| 5447 |
|
6286 |
|
| 5448 |
case 180 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ |
6287 |
case 203 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt GenericTypeDotName..."); } //$NON-NLS-1$ |
| 5449 |
consumeFormalParameter(true); |
6288 |
consumeFormalParameter(true); |
| 5450 |
break; |
6289 |
break; |
| 5451 |
|
6290 |
|
| 5452 |
case 182 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ |
6291 |
case 205 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ |
| 5453 |
consumeClassTypeList(); |
6292 |
consumeClassTypeList(); |
| 5454 |
break; |
6293 |
break; |
| 5455 |
|
6294 |
|
| 5456 |
case 183 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ |
6295 |
case 206 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ |
| 5457 |
consumeClassTypeElt(); |
6296 |
consumeClassTypeElt(); |
| 5458 |
break; |
6297 |
break; |
| 5459 |
|
6298 |
|
| 5460 |
case 184 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ |
6299 |
case 207 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ |
| 5461 |
consumeMethodBody(); |
6300 |
consumeMethodBody(); |
| 5462 |
break; |
6301 |
break; |
| 5463 |
|
6302 |
|
| 5464 |
case 185 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ |
6303 |
case 208 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ |
| 5465 |
consumeNestedMethod(); |
6304 |
consumeNestedMethod(); |
| 5466 |
break; |
6305 |
break; |
| 5467 |
|
6306 |
|
| 5468 |
case 186 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ |
6307 |
case 209 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ |
| 5469 |
consumeStaticInitializer(); |
6308 |
consumeStaticInitializer(); |
| 5470 |
break; |
6309 |
break; |
| 5471 |
|
6310 |
|
| 5472 |
case 187 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ |
6311 |
case 210 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ |
| 5473 |
consumeStaticOnly(); |
6312 |
consumeStaticOnly(); |
| 5474 |
break; |
6313 |
break; |
| 5475 |
|
6314 |
|
| 5476 |
case 188 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ |
6315 |
case 211 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ |
| 5477 |
consumeConstructorDeclaration() ; |
6316 |
consumeConstructorDeclaration() ; |
| 5478 |
break; |
6317 |
break; |
| 5479 |
|
6318 |
|
| 5480 |
case 189 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ |
6319 |
case 212 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ |
| 5481 |
consumeInvalidConstructorDeclaration() ; |
6320 |
consumeInvalidConstructorDeclaration() ; |
| 5482 |
break; |
6321 |
break; |
| 5483 |
|
6322 |
|
| 5484 |
case 190 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ |
6323 |
case 213 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ |
| 5485 |
consumeExplicitConstructorInvocation(0, THIS_CALL); |
6324 |
consumeExplicitConstructorInvocation(0, THIS_CALL); |
| 5486 |
break; |
6325 |
break; |
| 5487 |
|
6326 |
|
| 5488 |
case 191 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ |
6327 |
case 214 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ |
| 5489 |
consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); |
6328 |
consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); |
| 5490 |
break; |
6329 |
break; |
| 5491 |
|
6330 |
|
| 5492 |
case 192 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ |
6331 |
case 215 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ |
| 5493 |
consumeExplicitConstructorInvocation(0,SUPER_CALL); |
6332 |
consumeExplicitConstructorInvocation(0,SUPER_CALL); |
| 5494 |
break; |
6333 |
break; |
| 5495 |
|
6334 |
|
| 5496 |
case 193 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ |
6335 |
case 216 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ |
| 5497 |
consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); |
6336 |
consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); |
| 5498 |
break; |
6337 |
break; |
| 5499 |
|
6338 |
|
| 5500 |
case 194 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ |
6339 |
case 217 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ |
| 5501 |
consumeExplicitConstructorInvocation(1, SUPER_CALL); |
6340 |
consumeExplicitConstructorInvocation(1, SUPER_CALL); |
| 5502 |
break; |
6341 |
break; |
| 5503 |
|
6342 |
|
| 5504 |
case 195 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ |
6343 |
case 218 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ |
| 5505 |
consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); |
6344 |
consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); |
| 5506 |
break; |
6345 |
break; |
| 5507 |
|
6346 |
|
| 5508 |
case 196 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ |
6347 |
case 219 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ |
| 5509 |
consumeExplicitConstructorInvocation(2, SUPER_CALL); |
6348 |
consumeExplicitConstructorInvocation(2, SUPER_CALL); |
| 5510 |
break; |
6349 |
break; |
| 5511 |
|
6350 |
|
| 5512 |
case 197 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ |
6351 |
case 220 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ |
| 5513 |
consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); |
6352 |
consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); |
| 5514 |
break; |
6353 |
break; |
| 5515 |
|
6354 |
|
| 5516 |
case 198 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ |
6355 |
case 221 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ |
| 5517 |
consumeExplicitConstructorInvocation(1, THIS_CALL); |
6356 |
consumeExplicitConstructorInvocation(1, THIS_CALL); |
| 5518 |
break; |
6357 |
break; |
| 5519 |
|
6358 |
|
| 5520 |
case 199 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ |
6359 |
case 222 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ |
| 5521 |
consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); |
6360 |
consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); |
| 5522 |
break; |
6361 |
break; |
| 5523 |
|
6362 |
|
| 5524 |
case 200 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ |
6363 |
case 223 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ |
| 5525 |
consumeExplicitConstructorInvocation(2, THIS_CALL); |
6364 |
consumeExplicitConstructorInvocation(2, THIS_CALL); |
| 5526 |
break; |
6365 |
break; |
| 5527 |
|
6366 |
|
| 5528 |
case 201 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ |
6367 |
case 224 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ |
| 5529 |
consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); |
6368 |
consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); |
| 5530 |
break; |
6369 |
break; |
| 5531 |
|
6370 |
|
| 5532 |
case 202 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ |
6371 |
case 225 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ |
| 5533 |
consumeInterfaceDeclaration(); |
6372 |
consumeInterfaceDeclaration(); |
| 5534 |
break; |
6373 |
break; |
| 5535 |
|
6374 |
|
| 5536 |
case 203 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ |
6375 |
case 226 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ |
| 5537 |
consumeInterfaceHeader(); |
6376 |
consumeInterfaceHeader(); |
| 5538 |
break; |
6377 |
break; |
| 5539 |
|
6378 |
|
| 5540 |
case 204 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ |
6379 |
case 227 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ |
| 5541 |
consumeTypeHeaderNameWithTypeParameters(); |
6380 |
consumeTypeHeaderNameWithTypeParameters(); |
| 5542 |
break; |
6381 |
break; |
| 5543 |
|
6382 |
|
| 5544 |
case 206 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ |
6383 |
case 229 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ |
| 5545 |
consumeInterfaceHeaderName1(); |
6384 |
consumeInterfaceHeaderName1(); |
| 5546 |
break; |
6385 |
break; |
| 5547 |
|
6386 |
|
| 5548 |
case 207 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ |
6387 |
case 230 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ |
| 5549 |
consumeInterfaceHeaderExtends(); |
6388 |
consumeInterfaceHeaderExtends(); |
| 5550 |
break; |
6389 |
break; |
| 5551 |
|
6390 |
|
| 5552 |
case 210 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ |
6391 |
case 233 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ |
| 5553 |
consumeInterfaceMemberDeclarations(); |
6392 |
consumeInterfaceMemberDeclarations(); |
| 5554 |
break; |
6393 |
break; |
| 5555 |
|
6394 |
|
| 5556 |
case 211 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
6395 |
case 234 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
| 5557 |
consumeEmptyTypeDeclaration(); |
6396 |
consumeEmptyTypeDeclaration(); |
| 5558 |
break; |
6397 |
break; |
| 5559 |
|
6398 |
|
| 5560 |
case 213 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ |
6399 |
case 236 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ |
| 5561 |
consumeInvalidMethodDeclaration(); |
6400 |
consumeInvalidMethodDeclaration(); |
| 5562 |
break; |
6401 |
break; |
| 5563 |
|
6402 |
|
| 5564 |
case 214 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ |
6403 |
case 237 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ |
| 5565 |
consumeInvalidConstructorDeclaration(true); |
6404 |
consumeInvalidConstructorDeclaration(true); |
| 5566 |
break; |
6405 |
break; |
| 5567 |
|
6406 |
|
| 5568 |
case 215 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ |
6407 |
case 238 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ |
| 5569 |
consumeInvalidConstructorDeclaration(false); |
6408 |
consumeInvalidConstructorDeclaration(false); |
| 5570 |
break; |
6409 |
break; |
| 5571 |
|
6410 |
|
| 5572 |
case 226 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ |
6411 |
case 249 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ |
| 5573 |
consumePushLeftBrace(); |
6412 |
consumePushLeftBrace(); |
| 5574 |
break; |
6413 |
break; |
| 5575 |
|
6414 |
|
| 5576 |
case 227 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ |
6415 |
case 250 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ |
| 5577 |
consumeEmptyArrayInitializer(); |
6416 |
consumeEmptyArrayInitializer(); |
| 5578 |
break; |
6417 |
break; |
| 5579 |
|
6418 |
|
| 5580 |
case 228 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ |
6419 |
case 251 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ |
| 5581 |
consumeArrayInitializer(); |
6420 |
consumeArrayInitializer(); |
| 5582 |
break; |
6421 |
break; |
| 5583 |
|
6422 |
|
| 5584 |
case 229 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ |
6423 |
case 252 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ |
| 5585 |
consumeArrayInitializer(); |
6424 |
consumeArrayInitializer(); |
| 5586 |
break; |
6425 |
break; |
| 5587 |
|
6426 |
|
| 5588 |
case 231 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ |
6427 |
case 254 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ |
| 5589 |
consumeVariableInitializers(); |
6428 |
consumeVariableInitializers(); |
| 5590 |
break; |
6429 |
break; |
| 5591 |
|
6430 |
|
| 5592 |
case 232 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ |
6431 |
case 255 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ |
| 5593 |
consumeBlock(); |
6432 |
consumeBlock(); |
| 5594 |
break; |
6433 |
break; |
| 5595 |
|
6434 |
|
| 5596 |
case 233 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ |
6435 |
case 256 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ |
| 5597 |
consumeOpenBlock() ; |
6436 |
consumeOpenBlock() ; |
| 5598 |
break; |
6437 |
break; |
| 5599 |
|
6438 |
|
| 5600 |
case 235 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ |
6439 |
case 258 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ |
| 5601 |
consumeBlockStatements() ; |
6440 |
consumeBlockStatements() ; |
| 5602 |
break; |
6441 |
break; |
| 5603 |
|
6442 |
|
| 5604 |
case 239 : if (DEBUG) { System.out.println("BlockStatement ::= InterfaceDeclaration"); } //$NON-NLS-1$ |
6443 |
case 262 : if (DEBUG) { System.out.println("BlockStatement ::= InterfaceDeclaration"); } //$NON-NLS-1$ |
| 5605 |
consumeInvalidInterfaceDeclaration(); |
6444 |
consumeInvalidInterfaceDeclaration(); |
| 5606 |
break; |
6445 |
break; |
| 5607 |
|
6446 |
|
| 5608 |
case 240 : if (DEBUG) { System.out.println("BlockStatement ::= AnnotationTypeDeclaration"); } //$NON-NLS-1$ |
6447 |
case 263 : if (DEBUG) { System.out.println("BlockStatement ::= AnnotationTypeDeclaration"); } //$NON-NLS-1$ |
| 5609 |
consumeInvalidAnnotationTypeDeclaration(); |
6448 |
consumeInvalidAnnotationTypeDeclaration(); |
| 5610 |
break; |
6449 |
break; |
| 5611 |
|
6450 |
|
| 5612 |
case 241 : if (DEBUG) { System.out.println("BlockStatement ::= EnumDeclaration"); } //$NON-NLS-1$ |
6451 |
case 264 : if (DEBUG) { System.out.println("BlockStatement ::= EnumDeclaration"); } //$NON-NLS-1$ |
| 5613 |
consumeInvalidEnumDeclaration(); |
6452 |
consumeInvalidEnumDeclaration(); |
| 5614 |
break; |
6453 |
break; |
| 5615 |
|
6454 |
|
| 5616 |
case 242 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ |
6455 |
case 265 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ |
| 5617 |
consumeLocalVariableDeclarationStatement(); |
6456 |
consumeLocalVariableDeclarationStatement(); |
| 5618 |
break; |
6457 |
break; |
| 5619 |
|
6458 |
|
| 5620 |
case 243 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ |
6459 |
case 266 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type0 PushModifiers..."); } //$NON-NLS-1$ |
| 5621 |
consumeLocalVariableDeclaration(); |
6460 |
consumeLocalVariableDeclaration(); |
| 5622 |
break; |
6461 |
break; |
| 5623 |
|
6462 |
|
| 5624 |
case 244 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ |
6463 |
case 267 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type0..."); } //$NON-NLS-1$ |
| 5625 |
consumeLocalVariableDeclaration(); |
6464 |
consumeLocalVariableDeclaration(); |
| 5626 |
break; |
6465 |
break; |
| 5627 |
|
6466 |
|
| 5628 |
case 245 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ |
6467 |
case 268 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ |
| 5629 |
consumePushModifiers(); |
6468 |
consumePushModifiers(); |
| 5630 |
break; |
6469 |
break; |
| 5631 |
|
6470 |
|
| 5632 |
case 246 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ |
6471 |
case 269 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ |
| 5633 |
consumePushModifiersForHeader(); |
6472 |
consumePushModifiersForHeader(); |
| 5634 |
break; |
6473 |
break; |
| 5635 |
|
6474 |
|
| 5636 |
case 247 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ |
6475 |
case 270 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ |
| 5637 |
consumePushRealModifiers(); |
6476 |
consumePushRealModifiers(); |
| 5638 |
break; |
6477 |
break; |
| 5639 |
|
6478 |
|
| 5640 |
case 273 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ |
6479 |
case 296 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ |
| 5641 |
consumeEmptyStatement(); |
6480 |
consumeEmptyStatement(); |
| 5642 |
break; |
6481 |
break; |
| 5643 |
|
6482 |
|
| 5644 |
case 274 : if (DEBUG) { System.out.println("LabeledStatement ::= Label COLON Statement"); } //$NON-NLS-1$ |
6483 |
case 297 : if (DEBUG) { System.out.println("LabeledStatement ::= Label COLON Statement"); } //$NON-NLS-1$ |
| 5645 |
consumeStatementLabel() ; |
6484 |
consumeStatementLabel() ; |
| 5646 |
break; |
6485 |
break; |
| 5647 |
|
6486 |
|
| 5648 |
case 275 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Label COLON..."); } //$NON-NLS-1$ |
6487 |
case 298 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Label COLON..."); } //$NON-NLS-1$ |
| 5649 |
consumeStatementLabel() ; |
6488 |
consumeStatementLabel() ; |
| 5650 |
break; |
6489 |
break; |
| 5651 |
|
6490 |
|
| 5652 |
case 276 : if (DEBUG) { System.out.println("Label ::= Identifier"); } //$NON-NLS-1$ |
6491 |
case 299 : if (DEBUG) { System.out.println("Label ::= Identifier"); } //$NON-NLS-1$ |
| 5653 |
consumeLabel() ; |
6492 |
consumeLabel() ; |
| 5654 |
break; |
6493 |
break; |
| 5655 |
|
6494 |
|
| 5656 |
case 277 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ |
6495 |
case 300 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ |
| 5657 |
consumeExpressionStatement(); |
6496 |
consumeExpressionStatement(); |
| 5658 |
break; |
6497 |
break; |
| 5659 |
|
6498 |
|
| 5660 |
case 286 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
6499 |
case 309 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
| 5661 |
consumeStatementIfNoElse(); |
6500 |
consumeStatementIfNoElse(); |
| 5662 |
break; |
6501 |
break; |
| 5663 |
|
6502 |
|
| 5664 |
case 287 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
6503 |
case 310 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
| 5665 |
consumeStatementIfWithElse(); |
6504 |
consumeStatementIfWithElse(); |
| 5666 |
break; |
6505 |
break; |
| 5667 |
|
6506 |
|
| 5668 |
case 288 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ |
6507 |
case 311 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ |
| 5669 |
consumeStatementIfWithElse(); |
6508 |
consumeStatementIfWithElse(); |
| 5670 |
break; |
6509 |
break; |
| 5671 |
|
6510 |
|
| 5672 |
case 289 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
6511 |
case 312 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
| 5673 |
consumeStatementSwitch() ; |
6512 |
consumeStatementSwitch() ; |
| 5674 |
break; |
6513 |
break; |
| 5675 |
|
6514 |
|
| 5676 |
case 290 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ |
6515 |
case 313 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ |
| 5677 |
consumeEmptySwitchBlock() ; |
6516 |
consumeEmptySwitchBlock() ; |
| 5678 |
break; |
6517 |
break; |
| 5679 |
|
6518 |
|
| 5680 |
case 293 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ |
6519 |
case 316 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ |
| 5681 |
consumeSwitchBlock() ; |
6520 |
consumeSwitchBlock() ; |
| 5682 |
break; |
6521 |
break; |
| 5683 |
|
6522 |
|
| 5684 |
case 295 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ |
6523 |
case 318 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ |
| 5685 |
consumeSwitchBlockStatements() ; |
6524 |
consumeSwitchBlockStatements() ; |
| 5686 |
break; |
6525 |
break; |
| 5687 |
|
6526 |
|
| 5688 |
case 296 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ |
6527 |
case 319 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ |
| 5689 |
consumeSwitchBlockStatement() ; |
6528 |
consumeSwitchBlockStatement() ; |
| 5690 |
break; |
6529 |
break; |
| 5691 |
|
6530 |
|
| 5692 |
case 298 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ |
6531 |
case 321 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ |
| 5693 |
consumeSwitchLabels() ; |
6532 |
consumeSwitchLabels() ; |
| 5694 |
break; |
6533 |
break; |
| 5695 |
|
6534 |
|
| 5696 |
case 299 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ |
6535 |
case 322 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ |
| 5697 |
consumeCaseLabel(); |
6536 |
consumeCaseLabel(); |
| 5698 |
break; |
6537 |
break; |
| 5699 |
|
6538 |
|
| 5700 |
case 300 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ |
6539 |
case 323 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ |
| 5701 |
consumeDefaultLabel(); |
6540 |
consumeDefaultLabel(); |
| 5702 |
break; |
6541 |
break; |
| 5703 |
|
6542 |
|
| 5704 |
case 301 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
6543 |
case 324 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
| 5705 |
consumeStatementWhile() ; |
6544 |
consumeStatementWhile() ; |
| 5706 |
break; |
6545 |
break; |
| 5707 |
|
6546 |
|
| 5708 |
case 302 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ |
6547 |
case 325 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ |
| 5709 |
consumeStatementWhile() ; |
6548 |
consumeStatementWhile() ; |
| 5710 |
break; |
6549 |
break; |
| 5711 |
|
6550 |
|
| 5712 |
case 303 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ |
6551 |
case 326 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ |
| 5713 |
consumeStatementDo() ; |
6552 |
consumeStatementDo() ; |
| 5714 |
break; |
6553 |
break; |
| 5715 |
|
6554 |
|
| 5716 |
case 304 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ |
6555 |
case 327 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ |
| 5717 |
consumeStatementFor() ; |
6556 |
consumeStatementFor() ; |
| 5718 |
break; |
6557 |
break; |
| 5719 |
|
6558 |
|
| 5720 |
case 305 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ |
6559 |
case 328 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ |
| 5721 |
consumeStatementFor() ; |
6560 |
consumeStatementFor() ; |
| 5722 |
break; |
6561 |
break; |
| 5723 |
|
6562 |
|
| 5724 |
case 306 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ |
6563 |
case 329 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ |
| 5725 |
consumeForInit() ; |
6564 |
consumeForInit() ; |
| 5726 |
break; |
6565 |
break; |
| 5727 |
|
6566 |
|
| 5728 |
case 310 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ |
6567 |
case 333 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ |
| 5729 |
consumeStatementExpressionList() ; |
6568 |
consumeStatementExpressionList() ; |
| 5730 |
break; |
6569 |
break; |
| 5731 |
|
6570 |
|
| 5732 |
case 311 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ |
6571 |
case 334 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ |
| 5733 |
consumeSimpleAssertStatement() ; |
6572 |
consumeSimpleAssertStatement() ; |
| 5734 |
break; |
6573 |
break; |
| 5735 |
|
6574 |
|
| 5736 |
case 312 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ |
6575 |
case 335 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ |
| 5737 |
consumeAssertStatement() ; |
6576 |
consumeAssertStatement() ; |
| 5738 |
break; |
6577 |
break; |
| 5739 |
|
6578 |
|
| 5740 |
case 313 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ |
6579 |
case 336 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ |
| 5741 |
consumeStatementBreak() ; |
6580 |
consumeStatementBreak() ; |
| 5742 |
break; |
6581 |
break; |
| 5743 |
|
6582 |
|
| 5744 |
case 314 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ |
6583 |
case 337 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ |
| 5745 |
consumeStatementBreakWithLabel() ; |
6584 |
consumeStatementBreakWithLabel() ; |
| 5746 |
break; |
6585 |
break; |
| 5747 |
|
6586 |
|
| 5748 |
case 315 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ |
6587 |
case 338 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ |
| 5749 |
consumeStatementContinue() ; |
6588 |
consumeStatementContinue() ; |
| 5750 |
break; |
6589 |
break; |
| 5751 |
|
6590 |
|
| 5752 |
case 316 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ |
6591 |
case 339 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ |
| 5753 |
consumeStatementContinueWithLabel() ; |
6592 |
consumeStatementContinueWithLabel() ; |
| 5754 |
break; |
6593 |
break; |
| 5755 |
|
6594 |
|
| 5756 |
case 317 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ |
6595 |
case 340 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ |
| 5757 |
consumeStatementReturn() ; |
6596 |
consumeStatementReturn() ; |
| 5758 |
break; |
6597 |
break; |
| 5759 |
|
6598 |
|
| 5760 |
case 318 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ |
6599 |
case 341 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ |
| 5761 |
consumeStatementThrow(); |
6600 |
consumeStatementThrow(); |
| 5762 |
break; |
6601 |
break; |
| 5763 |
|
6602 |
|
| 5764 |
case 319 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ |
6603 |
case 342 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ |
| 5765 |
consumeStatementSynchronized(); |
6604 |
consumeStatementSynchronized(); |
| 5766 |
break; |
6605 |
break; |
| 5767 |
|
6606 |
|
| 5768 |
case 320 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ |
6607 |
case 343 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ |
| 5769 |
consumeOnlySynchronized(); |
6608 |
consumeOnlySynchronized(); |
| 5770 |
break; |
6609 |
break; |
| 5771 |
|
6610 |
|
| 5772 |
case 321 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ |
6611 |
case 344 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ |
| 5773 |
consumeStatementTry(false); |
6612 |
consumeStatementTry(false); |
| 5774 |
break; |
6613 |
break; |
| 5775 |
|
6614 |
|
| 5776 |
case 322 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ |
6615 |
case 345 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ |
| 5777 |
consumeStatementTry(true); |
6616 |
consumeStatementTry(true); |
| 5778 |
break; |
6617 |
break; |
| 5779 |
|
6618 |
|
| 5780 |
case 324 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ |
6619 |
case 347 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ |
| 5781 |
consumeExitTryBlock(); |
6620 |
consumeExitTryBlock(); |
| 5782 |
break; |
6621 |
break; |
| 5783 |
|
6622 |
|
| 5784 |
case 326 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ |
6623 |
case 349 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ |
| 5785 |
consumeCatches(); |
6624 |
consumeCatches(); |
| 5786 |
break; |
6625 |
break; |
| 5787 |
|
6626 |
|
| 5788 |
case 327 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ |
6627 |
case 350 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ |
| 5789 |
consumeStatementCatch() ; |
6628 |
consumeStatementCatch() ; |
| 5790 |
break; |
6629 |
break; |
| 5791 |
|
6630 |
|
| 5792 |
case 329 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ |
6631 |
case 352 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ |
| 5793 |
consumeLeftParen(); |
6632 |
consumeLeftParen(); |
| 5794 |
break; |
6633 |
break; |
| 5795 |
|
6634 |
|
| 5796 |
case 330 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ |
6635 |
case 353 : if (DEBUG) { System.out.println("PushRPARENForUnannotatedTypeCast ::= RPAREN"); } //$NON-NLS-1$ |
|
|
6636 |
consumeRightParenForUnannotatedTypeCast(); |
| 6637 |
break; |
| 6638 |
|
| 6639 |
case 354 : if (DEBUG) { System.out.println("PushRPARENForNameUnannotatedTypeCast ::= RPAREN"); } //$NON-NLS-1$ |
| 6640 |
consumeRightParenForNameUnannotatedTypeCast(); |
| 6641 |
break; |
| 6642 |
|
| 6643 |
case 355 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ |
| 5797 |
consumeRightParen(); |
6644 |
consumeRightParen(); |
| 5798 |
break; |
6645 |
break; |
| 5799 |
|
6646 |
|
| 5800 |
case 335 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ |
6647 |
case 356 : if (DEBUG) { System.out.println("PushRPARENForAnnotatedTypeCast ::= RPAREN"); } //$NON-NLS-1$ |
|
|
6648 |
consumeRightParenForAnnotatedTypeCast(); |
| 6649 |
break; |
| 6650 |
|
| 6651 |
case 357 : if (DEBUG) { System.out.println("PushRPARENForNameAndAnnotatedTypeCast ::= RPAREN"); } //$NON-NLS-1$ |
| 6652 |
consumeRightParenForNameAndAnnotatedTypeCast(); |
| 6653 |
break; |
| 6654 |
|
| 6655 |
case 362 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ |
| 5801 |
consumePrimaryNoNewArrayThis(); |
6656 |
consumePrimaryNoNewArrayThis(); |
| 5802 |
break; |
6657 |
break; |
| 5803 |
|
6658 |
|
| 5804 |
case 336 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ |
6659 |
case 363 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ |
| 5805 |
consumePrimaryNoNewArray(); |
6660 |
consumePrimaryNoNewArray(); |
| 5806 |
break; |
6661 |
break; |
| 5807 |
|
6662 |
|
| 5808 |
case 337 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ |
6663 |
case 364 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ |
| 5809 |
consumePrimaryNoNewArrayWithName(); |
6664 |
consumePrimaryNoNewArrayWithName(); |
| 5810 |
break; |
6665 |
break; |
| 5811 |
|
6666 |
|
| 5812 |
case 340 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ |
6667 |
case 367 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ |
| 5813 |
consumePrimaryNoNewArrayNameThis(); |
6668 |
consumePrimaryNoNewArrayNameThis(); |
| 5814 |
break; |
6669 |
break; |
| 5815 |
|
6670 |
|
| 5816 |
case 341 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ |
6671 |
case 368 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ |
| 5817 |
consumePrimaryNoNewArrayNameSuper(); |
6672 |
consumePrimaryNoNewArrayNameSuper(); |
| 5818 |
break; |
6673 |
break; |
| 5819 |
|
6674 |
|
| 5820 |
case 342 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ |
6675 |
case 369 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Modifiers Name DOT class"); } //$NON-NLS-1$ |
|
|
6676 |
consumePrimaryNoNewArrayNameWithTypeAnnotations(); |
| 6677 |
break; |
| 6678 |
|
| 6679 |
case 370 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Modifiers Name Dims DOT class"); } //$NON-NLS-1$ |
| 6680 |
consumePrimaryNoNewArrayArrayTypeWithTypeAnnotations(); |
| 6681 |
break; |
| 6682 |
|
| 6683 |
case 371 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Modifiers PrimitiveType Dims DOT"); } //$NON-NLS-1$ |
| 6684 |
consumePrimaryNoNewArrayPrimitiveArrayTypeWithTypeAnnotations(); |
| 6685 |
break; |
| 6686 |
|
| 6687 |
case 372 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Modifiers PrimitiveType DOT class"); } //$NON-NLS-1$ |
| 6688 |
consumePrimaryNoNewArrayPrimitiveTypeWithTypeAnnotations(); |
| 6689 |
break; |
| 6690 |
|
| 6691 |
case 373 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ |
| 5821 |
consumePrimaryNoNewArrayName(); |
6692 |
consumePrimaryNoNewArrayName(); |
| 5822 |
break; |
6693 |
break; |
| 5823 |
|
6694 |
|
| 5824 |
case 343 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ |
6695 |
case 374 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ |
| 5825 |
consumePrimaryNoNewArrayArrayType(); |
6696 |
consumePrimaryNoNewArrayArrayType(); |
| 5826 |
break; |
6697 |
break; |
| 5827 |
|
6698 |
|
| 5828 |
case 344 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ |
6699 |
case 375 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ |
| 5829 |
consumePrimaryNoNewArrayPrimitiveArrayType(); |
6700 |
consumePrimaryNoNewArrayPrimitiveArrayType(); |
| 5830 |
break; |
6701 |
break; |
| 5831 |
|
6702 |
|
| 5832 |
case 345 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ |
6703 |
case 376 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ |
| 5833 |
consumePrimaryNoNewArrayPrimitiveType(); |
6704 |
consumePrimaryNoNewArrayPrimitiveType(); |
| 5834 |
break; |
6705 |
break; |
| 5835 |
|
6706 |
|
| 5836 |
case 348 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ |
6707 |
case 379 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ |
| 5837 |
consumeAllocationHeader(); |
6708 |
consumeAllocationHeader(); |
| 5838 |
break; |
6709 |
break; |
| 5839 |
|
6710 |
|
| 5840 |
case 349 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ |
6711 |
case 380 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ |
| 5841 |
consumeClassInstanceCreationExpressionWithTypeArguments(); |
6712 |
consumeClassInstanceCreationExpressionWithTypeArguments(); |
| 5842 |
break; |
6713 |
break; |
| 5843 |
|
6714 |
|
| 5844 |
case 350 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ |
6715 |
case 381 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ |
| 5845 |
consumeClassInstanceCreationExpression(); |
6716 |
consumeClassInstanceCreationExpression(); |
| 5846 |
break; |
6717 |
break; |
| 5847 |
|
6718 |
|
| 5848 |
case 351 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ |
6719 |
case 382 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ |
| 5849 |
consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; |
6720 |
consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; |
| 5850 |
break; |
6721 |
break; |
| 5851 |
|
6722 |
|
| 5852 |
case 352 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ |
6723 |
case 383 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ |
| 5853 |
consumeClassInstanceCreationExpressionQualified() ; |
6724 |
consumeClassInstanceCreationExpressionQualified() ; |
| 5854 |
break; |
6725 |
break; |
| 5855 |
|
6726 |
|
| 5856 |
case 353 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ |
6727 |
case 384 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ |
| 5857 |
consumeClassInstanceCreationExpressionQualified() ; |
6728 |
consumeClassInstanceCreationExpressionQualified() ; |
| 5858 |
break; |
6729 |
break; |
| 5859 |
|
6730 |
|
| 5860 |
case 354 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ |
6731 |
case 385 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ |
| 5861 |
consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; |
6732 |
consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; |
| 5862 |
break; |
6733 |
break; |
| 5863 |
|
6734 |
|
| 5864 |
case 355 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ |
6735 |
case 386 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ |
| 5865 |
consumeClassInstanceCreationExpressionName() ; |
6736 |
consumeClassInstanceCreationExpressionName() ; |
| 5866 |
break; |
6737 |
break; |
| 5867 |
|
6738 |
|
| 5868 |
case 356 : if (DEBUG) { System.out.println("UnqualifiedClassBodyopt ::="); } //$NON-NLS-1$ |
6739 |
case 387 : if (DEBUG) { System.out.println("UnqualifiedClassBodyopt ::="); } //$NON-NLS-1$ |
| 5869 |
consumeClassBodyopt(); |
6740 |
consumeClassBodyopt(); |
| 5870 |
break; |
6741 |
break; |
| 5871 |
|
6742 |
|
| 5872 |
case 358 : if (DEBUG) { System.out.println("UnqualifiedEnterAnonymousClassBody ::="); } //$NON-NLS-1$ |
6743 |
case 389 : if (DEBUG) { System.out.println("UnqualifiedEnterAnonymousClassBody ::="); } //$NON-NLS-1$ |
| 5873 |
consumeEnterAnonymousClassBody(false); |
6744 |
consumeEnterAnonymousClassBody(false); |
| 5874 |
break; |
6745 |
break; |
| 5875 |
|
6746 |
|
| 5876 |
case 359 : if (DEBUG) { System.out.println("QualifiedClassBodyopt ::="); } //$NON-NLS-1$ |
6747 |
case 390 : if (DEBUG) { System.out.println("QualifiedClassBodyopt ::="); } //$NON-NLS-1$ |
| 5877 |
consumeClassBodyopt(); |
6748 |
consumeClassBodyopt(); |
| 5878 |
break; |
6749 |
break; |
| 5879 |
|
6750 |
|
| 5880 |
case 361 : if (DEBUG) { System.out.println("QualifiedEnterAnonymousClassBody ::="); } //$NON-NLS-1$ |
6751 |
case 392 : if (DEBUG) { System.out.println("QualifiedEnterAnonymousClassBody ::="); } //$NON-NLS-1$ |
| 5881 |
consumeEnterAnonymousClassBody(true); |
6752 |
consumeEnterAnonymousClassBody(true); |
| 5882 |
break; |
6753 |
break; |
| 5883 |
|
6754 |
|
| 5884 |
case 363 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ |
6755 |
case 394 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ |
| 5885 |
consumeArgumentList(); |
6756 |
consumeArgumentList(); |
| 5886 |
break; |
6757 |
break; |
| 5887 |
|
6758 |
|
| 5888 |
case 364 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ |
6759 |
case 395 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new Annotationsopt PrimitiveType"); } //$NON-NLS-1$ |
| 5889 |
consumeArrayCreationHeader(); |
6760 |
consumeArrayCreationHeader(); |
| 5890 |
break; |
6761 |
break; |
| 5891 |
|
6762 |
|
| 5892 |
case 365 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ |
6763 |
case 396 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ |
| 5893 |
consumeArrayCreationHeader(); |
6764 |
consumeArrayCreationHeader(); |
| 5894 |
break; |
6765 |
break; |
| 5895 |
|
6766 |
|
| 5896 |
case 366 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ |
6767 |
case 397 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ |
| 5897 |
consumeArrayCreationExpressionWithoutInitializer(); |
6768 |
consumeArrayCreationExpressionWithoutInitializer(); |
| 5898 |
break; |
6769 |
break; |
| 5899 |
|
6770 |
|
| 5900 |
case 367 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ |
6771 |
case 398 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new Annotationsopt"); } //$NON-NLS-1$ |
| 5901 |
consumeArrayCreationExpressionWithInitializer(); |
6772 |
consumeArrayCreationExpressionWithInitializer(); |
| 5902 |
break; |
6773 |
break; |
| 5903 |
|
6774 |
|
| 5904 |
case 368 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ |
6775 |
case 399 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ |
| 5905 |
consumeArrayCreationExpressionWithoutInitializer(); |
6776 |
consumeArrayCreationExpressionWithoutInitializer(); |
| 5906 |
break; |
6777 |
break; |
| 5907 |
|
6778 |
|
| 5908 |
case 369 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ |
6779 |
case 400 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ |
| 5909 |
consumeArrayCreationExpressionWithInitializer(); |
6780 |
consumeArrayCreationExpressionWithInitializer(); |
| 5910 |
break; |
6781 |
break; |
| 5911 |
|
6782 |
|
| 5912 |
case 371 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ |
6783 |
case 402 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ |
| 5913 |
consumeDimWithOrWithOutExprs(); |
6784 |
consumeDimWithOrWithOutExprs(); |
| 5914 |
break; |
6785 |
break; |
| 5915 |
|
6786 |
|
| 5916 |
case 373 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ |
6787 |
case 405 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET..."); } //$NON-NLS-1$ |
| 5917 |
consumeDimWithOrWithOutExpr(); |
6788 |
consumeDimWithOrWithOutExpr(); |
| 5918 |
break; |
6789 |
break; |
| 5919 |
|
6790 |
|
| 5920 |
case 374 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ |
6791 |
case 406 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= TypeAnnotations LBRACKET..."); } //$NON-NLS-1$ |
|
|
6792 |
consumeDimWithOrWithOutExpr(); |
| 6793 |
break; |
| 6794 |
|
| 6795 |
case 407 : if (DEBUG) { System.out.println("DimsoptAnnotsopt ::="); } //$NON-NLS-1$ |
| 6796 |
consumeEmptyDimsoptAnnotsopt(); |
| 6797 |
break; |
| 6798 |
|
| 6799 |
case 408 : if (DEBUG) { System.out.println("DimsoptAnnotsopt -> DimsAnnotLoop"); } //$NON-NLS-1$ |
| 6800 |
consumeDimsWithTrailingAnnotsopt(); |
| 6801 |
break; |
| 6802 |
|
| 6803 |
case 411 : if (DEBUG) { System.out.println("OneDimOrAnnot ::= Annotation"); } //$NON-NLS-1$ |
| 6804 |
consumeTypeAnnotation(true); |
| 6805 |
break; |
| 6806 |
|
| 6807 |
case 412 : if (DEBUG) { System.out.println("OneDimOrAnnot ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ |
| 6808 |
consumeOneDimLoop(true); |
| 6809 |
break; |
| 6810 |
|
| 6811 |
case 413 : if (DEBUG) { System.out.println("TypeAnnotations ::= Annotation"); } //$NON-NLS-1$ |
| 6812 |
consumeTypeAnnotation(false); |
| 6813 |
break; |
| 6814 |
|
| 6815 |
case 414 : if (DEBUG) { System.out.println("TypeAnnotations ::= TypeAnnotations Annotation"); } //$NON-NLS-1$ |
| 6816 |
consumeOneMoreTypeAnnotation(); |
| 6817 |
break; |
| 6818 |
|
| 6819 |
case 415 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ |
| 5921 |
consumeDims(); |
6820 |
consumeDims(); |
| 5922 |
break; |
6821 |
break; |
| 5923 |
|
6822 |
|
| 5924 |
case 377 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ |
6823 |
case 418 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ |
| 5925 |
consumeOneDimLoop(); |
6824 |
consumeOneDimLoop(false); |
| 5926 |
break; |
6825 |
break; |
| 5927 |
|
6826 |
|
| 5928 |
case 378 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ |
6827 |
case 419 : if (DEBUG) { System.out.println("OneDimLoop ::= TypeAnnotations LBRACKET RBRACKET"); } //$NON-NLS-1$ |
|
|
6828 |
consumeOneDimLoopWithAnnotations(); |
| 6829 |
break; |
| 6830 |
|
| 6831 |
case 420 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ |
| 5929 |
consumeFieldAccess(false); |
6832 |
consumeFieldAccess(false); |
| 5930 |
break; |
6833 |
break; |
| 5931 |
|
6834 |
|
| 5932 |
case 379 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ |
6835 |
case 421 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ |
| 5933 |
consumeFieldAccess(true); |
6836 |
consumeFieldAccess(true); |
| 5934 |
break; |
6837 |
break; |
| 5935 |
|
6838 |
|
| 5936 |
case 380 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ |
6839 |
case 422 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ |
| 5937 |
consumeMethodInvocationName(); |
6840 |
consumeMethodInvocationName(); |
| 5938 |
break; |
6841 |
break; |
| 5939 |
|
6842 |
|
| 5940 |
case 381 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
6843 |
case 423 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
| 5941 |
consumeMethodInvocationNameWithTypeArguments(); |
6844 |
consumeMethodInvocationNameWithTypeArguments(); |
| 5942 |
break; |
6845 |
break; |
| 5943 |
|
6846 |
|
| 5944 |
case 382 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
6847 |
case 424 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
| 5945 |
consumeMethodInvocationPrimaryWithTypeArguments(); |
6848 |
consumeMethodInvocationPrimaryWithTypeArguments(); |
| 5946 |
break; |
6849 |
break; |
| 5947 |
|
6850 |
|
| 5948 |
case 383 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ |
6851 |
case 425 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ |
| 5949 |
consumeMethodInvocationPrimary(); |
6852 |
consumeMethodInvocationPrimary(); |
| 5950 |
break; |
6853 |
break; |
| 5951 |
|
6854 |
|
| 5952 |
case 384 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
6855 |
case 426 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
| 5953 |
consumeMethodInvocationSuperWithTypeArguments(); |
6856 |
consumeMethodInvocationSuperWithTypeArguments(); |
| 5954 |
break; |
6857 |
break; |
| 5955 |
|
6858 |
|
| 5956 |
case 385 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ |
6859 |
case 427 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ |
| 5957 |
consumeMethodInvocationSuper(); |
6860 |
consumeMethodInvocationSuper(); |
| 5958 |
break; |
6861 |
break; |
| 5959 |
|
6862 |
|
| 5960 |
case 386 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ |
6863 |
case 428 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ |
| 5961 |
consumeArrayAccess(true); |
6864 |
consumeArrayAccess(true); |
| 5962 |
break; |
6865 |
break; |
| 5963 |
|
6866 |
|
| 5964 |
case 387 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ |
6867 |
case 429 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ |
| 5965 |
consumeArrayAccess(false); |
6868 |
consumeArrayAccess(false); |
| 5966 |
break; |
6869 |
break; |
| 5967 |
|
6870 |
|
| 5968 |
case 388 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ |
6871 |
case 430 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ |
| 5969 |
consumeArrayAccess(false); |
6872 |
consumeArrayAccess(false); |
| 5970 |
break; |
6873 |
break; |
| 5971 |
|
6874 |
|
| 5972 |
case 390 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ |
6875 |
case 432 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ |
| 5973 |
consumePostfixExpression(); |
6876 |
consumePostfixExpression(); |
| 5974 |
break; |
6877 |
break; |
| 5975 |
|
6878 |
|
| 5976 |
case 393 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ |
6879 |
case 435 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ |
| 5977 |
consumeUnaryExpression(OperatorIds.PLUS,true); |
6880 |
consumeUnaryExpression(OperatorIds.PLUS,true); |
| 5978 |
break; |
6881 |
break; |
| 5979 |
|
6882 |
|
| 5980 |
case 394 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ |
6883 |
case 436 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ |
| 5981 |
consumeUnaryExpression(OperatorIds.MINUS,true); |
6884 |
consumeUnaryExpression(OperatorIds.MINUS,true); |
| 5982 |
break; |
6885 |
break; |
| 5983 |
|
6886 |
|
| 5984 |
case 395 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ |
6887 |
case 437 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ |
| 5985 |
consumePushPosition(); |
6888 |
consumePushPosition(); |
| 5986 |
break; |
6889 |
break; |
| 5987 |
|
6890 |
|
| 5988 |
case 398 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ |
6891 |
case 440 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ |
| 5989 |
consumeUnaryExpression(OperatorIds.PLUS); |
6892 |
consumeUnaryExpression(OperatorIds.PLUS); |
| 5990 |
break; |
6893 |
break; |
| 5991 |
|
6894 |
|
| 5992 |
case 399 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ |
6895 |
case 441 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ |
| 5993 |
consumeUnaryExpression(OperatorIds.MINUS); |
6896 |
consumeUnaryExpression(OperatorIds.MINUS); |
| 5994 |
break; |
6897 |
break; |
| 5995 |
|
6898 |
|
| 5996 |
case 401 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ |
6899 |
case 443 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ |
| 5997 |
consumeUnaryExpression(OperatorIds.PLUS,false); |
6900 |
consumeUnaryExpression(OperatorIds.PLUS,false); |
| 5998 |
break; |
6901 |
break; |
| 5999 |
|
6902 |
|
| 6000 |
case 402 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ |
6903 |
case 444 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ |
| 6001 |
consumeUnaryExpression(OperatorIds.MINUS,false); |
6904 |
consumeUnaryExpression(OperatorIds.MINUS,false); |
| 6002 |
break; |
6905 |
break; |
| 6003 |
|
6906 |
|
| 6004 |
case 404 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ |
6907 |
case 446 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ |
| 6005 |
consumeUnaryExpression(OperatorIds.TWIDDLE); |
6908 |
consumeUnaryExpression(OperatorIds.TWIDDLE); |
| 6006 |
break; |
6909 |
break; |
| 6007 |
|
6910 |
|
| 6008 |
case 405 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ |
6911 |
case 447 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ |
| 6009 |
consumeUnaryExpression(OperatorIds.NOT); |
6912 |
consumeUnaryExpression(OperatorIds.NOT); |
| 6010 |
break; |
6913 |
break; |
| 6011 |
|
6914 |
|
| 6012 |
case 407 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ |
6915 |
case 449 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ |
| 6013 |
consumeCastExpressionWithPrimitiveType(); |
6916 |
consumeCastExpressionWithPrimitiveType(); |
| 6014 |
break; |
6917 |
break; |
| 6015 |
|
6918 |
|
| 6016 |
case 408 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ |
6919 |
case 450 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Modifiers PrimitiveType..."); } //$NON-NLS-1$ |
|
|
6920 |
consumeCastExpressionWithPrimitiveTypeWithTypeAnnotations(); |
| 6921 |
break; |
| 6922 |
|
| 6923 |
case 451 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ |
| 6017 |
consumeCastExpressionWithGenericsArray(); |
6924 |
consumeCastExpressionWithGenericsArray(); |
| 6018 |
break; |
6925 |
break; |
| 6019 |
|
6926 |
|
| 6020 |
case 409 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ |
6927 |
case 452 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Modifiers Name..."); } //$NON-NLS-1$ |
|
|
6928 |
consumeCastExpressionWithGenericsArrayWithTypeAnnotations(); |
| 6929 |
break; |
| 6930 |
|
| 6931 |
case 453 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ |
| 6021 |
consumeCastExpressionWithQualifiedGenericsArray(); |
6932 |
consumeCastExpressionWithQualifiedGenericsArray(); |
| 6022 |
break; |
6933 |
break; |
| 6023 |
|
6934 |
|
| 6024 |
case 410 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ |
6935 |
case 454 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Modifiers Name..."); } //$NON-NLS-1$ |
|
|
6936 |
consumeCastExpressionWithQualifiedGenericsArrayWithTypeAnnotations(); |
| 6937 |
break; |
| 6938 |
|
| 6939 |
case 455 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ |
| 6025 |
consumeCastExpressionLL1(); |
6940 |
consumeCastExpressionLL1(); |
| 6026 |
break; |
6941 |
break; |
| 6027 |
|
6942 |
|
| 6028 |
case 411 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ |
6943 |
case 456 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Modifiers Name..."); } //$NON-NLS-1$ |
|
|
6944 |
consumeCastExpressionLL1WithTypeAnnotations(); |
| 6945 |
break; |
| 6946 |
|
| 6947 |
case 457 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims..."); } //$NON-NLS-1$ |
| 6029 |
consumeCastExpressionWithNameArray(); |
6948 |
consumeCastExpressionWithNameArray(); |
| 6030 |
break; |
6949 |
break; |
| 6031 |
|
6950 |
|
| 6032 |
case 412 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ |
6951 |
case 458 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Modifiers Name Dims..."); } //$NON-NLS-1$ |
|
|
6952 |
consumeCastExpressionWithNameArrayWithTypeAnnotations(); |
| 6953 |
break; |
| 6954 |
|
| 6955 |
case 459 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ |
| 6033 |
consumeOnlyTypeArgumentsForCastExpression(); |
6956 |
consumeOnlyTypeArgumentsForCastExpression(); |
| 6034 |
break; |
6957 |
break; |
| 6035 |
|
6958 |
|
| 6036 |
case 413 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ |
6959 |
case 460 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ |
| 6037 |
consumeInsideCastExpression(); |
6960 |
consumeInsideCastExpression(); |
| 6038 |
break; |
6961 |
break; |
| 6039 |
|
6962 |
|
| 6040 |
case 414 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ |
6963 |
case 461 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ |
| 6041 |
consumeInsideCastExpressionLL1(); |
6964 |
consumeInsideCastExpressionLL1(); |
| 6042 |
break; |
6965 |
break; |
| 6043 |
|
6966 |
|
| 6044 |
case 415 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ |
6967 |
case 462 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ |
| 6045 |
consumeInsideCastExpressionWithQualifiedGenerics(); |
6968 |
consumeInsideCastExpressionWithQualifiedGenerics(); |
| 6046 |
break; |
6969 |
break; |
| 6047 |
|
6970 |
|
| 6048 |
case 417 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
6971 |
case 463 : if (DEBUG) { System.out.println("InsideCastExpressionWithAnnotatedQualifiedGenerics ::="); } //$NON-NLS-1$ |
|
|
6972 |
consumeInsideCastExpressionWithAnnotatedQualifiedGenerics(); |
| 6973 |
break; |
| 6974 |
|
| 6975 |
case 465 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
| 6049 |
consumeBinaryExpression(OperatorIds.MULTIPLY); |
6976 |
consumeBinaryExpression(OperatorIds.MULTIPLY); |
| 6050 |
break; |
6977 |
break; |
| 6051 |
|
6978 |
|
| 6052 |
case 418 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
6979 |
case 466 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
| 6053 |
consumeBinaryExpression(OperatorIds.DIVIDE); |
6980 |
consumeBinaryExpression(OperatorIds.DIVIDE); |
| 6054 |
break; |
6981 |
break; |
| 6055 |
|
6982 |
|
| 6056 |
case 419 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
6983 |
case 467 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
| 6057 |
consumeBinaryExpression(OperatorIds.REMAINDER); |
6984 |
consumeBinaryExpression(OperatorIds.REMAINDER); |
| 6058 |
break; |
6985 |
break; |
| 6059 |
|
6986 |
|
| 6060 |
case 421 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ |
6987 |
case 469 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ |
| 6061 |
consumeBinaryExpression(OperatorIds.PLUS); |
6988 |
consumeBinaryExpression(OperatorIds.PLUS); |
| 6062 |
break; |
6989 |
break; |
| 6063 |
|
6990 |
|
| 6064 |
case 422 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ |
6991 |
case 470 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ |
| 6065 |
consumeBinaryExpression(OperatorIds.MINUS); |
6992 |
consumeBinaryExpression(OperatorIds.MINUS); |
| 6066 |
break; |
6993 |
break; |
| 6067 |
|
6994 |
|
| 6068 |
case 424 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ |
6995 |
case 472 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ |
| 6069 |
consumeBinaryExpression(OperatorIds.LEFT_SHIFT); |
6996 |
consumeBinaryExpression(OperatorIds.LEFT_SHIFT); |
| 6070 |
break; |
6997 |
break; |
| 6071 |
|
6998 |
|
| 6072 |
case 425 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ |
6999 |
case 473 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ |
| 6073 |
consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); |
7000 |
consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); |
| 6074 |
break; |
7001 |
break; |
| 6075 |
|
7002 |
|
| 6076 |
case 426 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
7003 |
case 474 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
| 6077 |
consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
7004 |
consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
| 6078 |
break; |
7005 |
break; |
| 6079 |
|
7006 |
|
| 6080 |
case 428 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ |
7007 |
case 476 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ |
| 6081 |
consumeBinaryExpression(OperatorIds.LESS); |
7008 |
consumeBinaryExpression(OperatorIds.LESS); |
| 6082 |
break; |
7009 |
break; |
| 6083 |
|
7010 |
|
| 6084 |
case 429 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ |
7011 |
case 477 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ |
| 6085 |
consumeBinaryExpression(OperatorIds.GREATER); |
7012 |
consumeBinaryExpression(OperatorIds.GREATER); |
| 6086 |
break; |
7013 |
break; |
| 6087 |
|
7014 |
|
| 6088 |
case 430 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ |
7015 |
case 478 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ |
| 6089 |
consumeBinaryExpression(OperatorIds.LESS_EQUAL); |
7016 |
consumeBinaryExpression(OperatorIds.LESS_EQUAL); |
| 6090 |
break; |
7017 |
break; |
| 6091 |
|
7018 |
|
| 6092 |
case 431 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ |
7019 |
case 479 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ |
| 6093 |
consumeBinaryExpression(OperatorIds.GREATER_EQUAL); |
7020 |
consumeBinaryExpression(OperatorIds.GREATER_EQUAL); |
| 6094 |
break; |
7021 |
break; |
| 6095 |
|
7022 |
|
| 6096 |
case 433 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ |
7023 |
case 481 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ |
| 6097 |
consumeInstanceOfExpression(); |
7024 |
consumeInstanceOfExpression(); |
| 6098 |
break; |
7025 |
break; |
| 6099 |
|
7026 |
|
| 6100 |
case 435 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ |
7027 |
case 483 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ |
| 6101 |
consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); |
7028 |
consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); |
| 6102 |
break; |
7029 |
break; |
| 6103 |
|
7030 |
|
| 6104 |
case 436 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ |
7031 |
case 484 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ |
| 6105 |
consumeEqualityExpression(OperatorIds.NOT_EQUAL); |
7032 |
consumeEqualityExpression(OperatorIds.NOT_EQUAL); |
| 6106 |
break; |
7033 |
break; |
| 6107 |
|
7034 |
|
| 6108 |
case 438 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ |
7035 |
case 486 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ |
| 6109 |
consumeBinaryExpression(OperatorIds.AND); |
7036 |
consumeBinaryExpression(OperatorIds.AND); |
| 6110 |
break; |
7037 |
break; |
| 6111 |
|
7038 |
|
| 6112 |
case 440 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ |
7039 |
case 488 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ |
| 6113 |
consumeBinaryExpression(OperatorIds.XOR); |
7040 |
consumeBinaryExpression(OperatorIds.XOR); |
| 6114 |
break; |
7041 |
break; |
| 6115 |
|
7042 |
|
| 6116 |
case 442 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ |
7043 |
case 490 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ |
| 6117 |
consumeBinaryExpression(OperatorIds.OR); |
7044 |
consumeBinaryExpression(OperatorIds.OR); |
| 6118 |
break; |
7045 |
break; |
| 6119 |
|
7046 |
|
| 6120 |
case 444 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ |
7047 |
case 492 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ |
| 6121 |
consumeBinaryExpression(OperatorIds.AND_AND); |
7048 |
consumeBinaryExpression(OperatorIds.AND_AND); |
| 6122 |
break; |
7049 |
break; |
| 6123 |
|
7050 |
|
| 6124 |
case 446 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ |
7051 |
case 494 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ |
| 6125 |
consumeBinaryExpression(OperatorIds.OR_OR); |
7052 |
consumeBinaryExpression(OperatorIds.OR_OR); |
| 6126 |
break; |
7053 |
break; |
| 6127 |
|
7054 |
|
| 6128 |
case 448 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ |
7055 |
case 496 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ |
| 6129 |
consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; |
7056 |
consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; |
| 6130 |
break; |
7057 |
break; |
| 6131 |
|
7058 |
|
| 6132 |
case 451 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ |
7059 |
case 499 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ |
| 6133 |
consumeAssignment(); |
7060 |
consumeAssignment(); |
| 6134 |
break; |
7061 |
break; |
| 6135 |
|
7062 |
|
| 6136 |
case 453 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ |
7063 |
case 501 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ |
| 6137 |
ignoreExpressionAssignment(); |
7064 |
ignoreExpressionAssignment(); |
| 6138 |
break; |
7065 |
break; |
| 6139 |
|
7066 |
|
| 6140 |
case 454 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ |
7067 |
case 502 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ |
| 6141 |
consumeAssignmentOperator(EQUAL); |
7068 |
consumeAssignmentOperator(EQUAL); |
| 6142 |
break; |
7069 |
break; |
| 6143 |
|
7070 |
|
| 6144 |
case 455 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ |
7071 |
case 503 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ |
| 6145 |
consumeAssignmentOperator(MULTIPLY); |
7072 |
consumeAssignmentOperator(MULTIPLY); |
| 6146 |
break; |
7073 |
break; |
| 6147 |
|
7074 |
|
| 6148 |
case 456 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ |
7075 |
case 504 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ |
| 6149 |
consumeAssignmentOperator(DIVIDE); |
7076 |
consumeAssignmentOperator(DIVIDE); |
| 6150 |
break; |
7077 |
break; |
| 6151 |
|
7078 |
|
| 6152 |
case 457 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ |
7079 |
case 505 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ |
| 6153 |
consumeAssignmentOperator(REMAINDER); |
7080 |
consumeAssignmentOperator(REMAINDER); |
| 6154 |
break; |
7081 |
break; |
| 6155 |
|
7082 |
|
| 6156 |
case 458 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ |
7083 |
case 506 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ |
| 6157 |
consumeAssignmentOperator(PLUS); |
7084 |
consumeAssignmentOperator(PLUS); |
| 6158 |
break; |
7085 |
break; |
| 6159 |
|
7086 |
|
| 6160 |
case 459 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ |
7087 |
case 507 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ |
| 6161 |
consumeAssignmentOperator(MINUS); |
7088 |
consumeAssignmentOperator(MINUS); |
| 6162 |
break; |
7089 |
break; |
| 6163 |
|
7090 |
|
| 6164 |
case 460 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
7091 |
case 508 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
| 6165 |
consumeAssignmentOperator(LEFT_SHIFT); |
7092 |
consumeAssignmentOperator(LEFT_SHIFT); |
| 6166 |
break; |
7093 |
break; |
| 6167 |
|
7094 |
|
| 6168 |
case 461 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
7095 |
case 509 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
| 6169 |
consumeAssignmentOperator(RIGHT_SHIFT); |
7096 |
consumeAssignmentOperator(RIGHT_SHIFT); |
| 6170 |
break; |
7097 |
break; |
| 6171 |
|
7098 |
|
| 6172 |
case 462 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
7099 |
case 510 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
| 6173 |
consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); |
7100 |
consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); |
| 6174 |
break; |
7101 |
break; |
| 6175 |
|
7102 |
|
| 6176 |
case 463 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ |
7103 |
case 511 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ |
| 6177 |
consumeAssignmentOperator(AND); |
7104 |
consumeAssignmentOperator(AND); |
| 6178 |
break; |
7105 |
break; |
| 6179 |
|
7106 |
|
| 6180 |
case 464 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ |
7107 |
case 512 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ |
| 6181 |
consumeAssignmentOperator(XOR); |
7108 |
consumeAssignmentOperator(XOR); |
| 6182 |
break; |
7109 |
break; |
| 6183 |
|
7110 |
|
| 6184 |
case 465 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ |
7111 |
case 513 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ |
| 6185 |
consumeAssignmentOperator(OR); |
7112 |
consumeAssignmentOperator(OR); |
| 6186 |
break; |
7113 |
break; |
| 6187 |
|
7114 |
|
| 6188 |
case 469 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ |
7115 |
case 517 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ |
| 6189 |
consumeEmptyExpression(); |
7116 |
consumeEmptyExpression(); |
| 6190 |
break; |
7117 |
break; |
| 6191 |
|
7118 |
|
| 6192 |
case 474 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ |
7119 |
case 522 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ |
| 6193 |
consumeEmptyClassBodyDeclarationsopt(); |
7120 |
consumeEmptyClassBodyDeclarationsopt(); |
| 6194 |
break; |
7121 |
break; |
| 6195 |
|
7122 |
|
| 6196 |
case 475 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
7123 |
case 523 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
| 6197 |
consumeClassBodyDeclarationsopt(); |
7124 |
consumeClassBodyDeclarationsopt(); |
| 6198 |
break; |
7125 |
break; |
| 6199 |
|
7126 |
|
| 6200 |
case 476 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ |
7127 |
case 524 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ |
| 6201 |
consumeDefaultModifiers(); |
7128 |
consumeDefaultModifiers(); |
| 6202 |
break; |
7129 |
break; |
| 6203 |
|
7130 |
|
| 6204 |
case 477 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ |
7131 |
case 525 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ |
| 6205 |
consumeModifiers(); |
7132 |
consumeModifiers(); |
| 6206 |
break; |
7133 |
break; |
| 6207 |
|
7134 |
|
| 6208 |
case 478 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ |
7135 |
case 526 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ |
| 6209 |
consumeEmptyBlockStatementsopt(); |
7136 |
consumeEmptyBlockStatementsopt(); |
| 6210 |
break; |
7137 |
break; |
| 6211 |
|
7138 |
|
| 6212 |
case 480 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ |
7139 |
case 528 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ |
| 6213 |
consumeEmptyDimsopt(); |
7140 |
consumeEmptyDimsopt(); |
| 6214 |
break; |
7141 |
break; |
| 6215 |
|
7142 |
|
| 6216 |
case 482 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ |
7143 |
case 530 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ |
| 6217 |
consumeEmptyArgumentListopt(); |
7144 |
consumeEmptyArgumentListopt(); |
| 6218 |
break; |
7145 |
break; |
| 6219 |
|
7146 |
|
| 6220 |
case 486 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ |
7147 |
case 534 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ |
| 6221 |
consumeFormalParameterListopt(); |
7148 |
consumeFormalParameterListopt(); |
| 6222 |
break; |
7149 |
break; |
| 6223 |
|
7150 |
|
| 6224 |
case 490 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ |
7151 |
case 538 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ |
| 6225 |
consumeEmptyInterfaceMemberDeclarationsopt(); |
7152 |
consumeEmptyInterfaceMemberDeclarationsopt(); |
| 6226 |
break; |
7153 |
break; |
| 6227 |
|
7154 |
|
| 6228 |
case 491 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
7155 |
case 539 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
| 6229 |
consumeInterfaceMemberDeclarationsopt(); |
7156 |
consumeInterfaceMemberDeclarationsopt(); |
| 6230 |
break; |
7157 |
break; |
| 6231 |
|
7158 |
|
| 6232 |
case 492 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ |
7159 |
case 540 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ |
| 6233 |
consumeNestedType(); |
7160 |
consumeNestedType(); |
| 6234 |
break; |
7161 |
break; |
| 6235 |
|
7162 |
|
| 6236 |
case 493 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ |
7163 |
case 541 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ |
| 6237 |
consumeEmptyForInitopt(); |
7164 |
consumeEmptyForInitopt(); |
| 6238 |
break; |
7165 |
break; |
| 6239 |
|
7166 |
|
| 6240 |
case 495 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ |
7167 |
case 543 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ |
| 6241 |
consumeEmptyForUpdateopt(); |
7168 |
consumeEmptyForUpdateopt(); |
| 6242 |
break; |
7169 |
break; |
| 6243 |
|
7170 |
|
| 6244 |
case 499 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ |
7171 |
case 547 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ |
| 6245 |
consumeEmptyCatchesopt(); |
7172 |
consumeEmptyCatchesopt(); |
| 6246 |
break; |
7173 |
break; |
| 6247 |
|
7174 |
|
| 6248 |
case 501 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ |
7175 |
case 549 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ |
| 6249 |
consumeEnumDeclaration(); |
7176 |
consumeEnumDeclaration(); |
| 6250 |
break; |
7177 |
break; |
| 6251 |
|
7178 |
|
| 6252 |
case 502 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ |
7179 |
case 550 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ |
| 6253 |
consumeEnumHeader(); |
7180 |
consumeEnumHeader(); |
| 6254 |
break; |
7181 |
break; |
| 6255 |
|
7182 |
|
| 6256 |
case 503 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ |
7183 |
case 551 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ |
| 6257 |
consumeEnumHeaderName(); |
7184 |
consumeEnumHeaderName(); |
| 6258 |
break; |
7185 |
break; |
| 6259 |
|
7186 |
|
| 6260 |
case 504 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier..."); } //$NON-NLS-1$ |
7187 |
case 552 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier..."); } //$NON-NLS-1$ |
| 6261 |
consumeEnumHeaderNameWithTypeParameters(); |
7188 |
consumeEnumHeaderNameWithTypeParameters(); |
| 6262 |
break; |
7189 |
break; |
| 6263 |
|
7190 |
|
| 6264 |
case 505 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ |
7191 |
case 553 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ |
| 6265 |
consumeEnumBodyNoConstants(); |
7192 |
consumeEnumBodyNoConstants(); |
| 6266 |
break; |
7193 |
break; |
| 6267 |
|
7194 |
|
| 6268 |
case 506 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ |
7195 |
case 554 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ |
| 6269 |
consumeEnumBodyNoConstants(); |
7196 |
consumeEnumBodyNoConstants(); |
| 6270 |
break; |
7197 |
break; |
| 6271 |
|
7198 |
|
| 6272 |
case 507 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ |
7199 |
case 555 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ |
| 6273 |
consumeEnumBodyWithConstants(); |
7200 |
consumeEnumBodyWithConstants(); |
| 6274 |
break; |
7201 |
break; |
| 6275 |
|
7202 |
|
| 6276 |
case 508 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ |
7203 |
case 556 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ |
| 6277 |
consumeEnumBodyWithConstants(); |
7204 |
consumeEnumBodyWithConstants(); |
| 6278 |
break; |
7205 |
break; |
| 6279 |
|
7206 |
|
| 6280 |
case 510 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ |
7207 |
case 558 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ |
| 6281 |
consumeEnumConstants(); |
7208 |
consumeEnumConstants(); |
| 6282 |
break; |
7209 |
break; |
| 6283 |
|
7210 |
|
| 6284 |
case 511 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ |
7211 |
case 559 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ |
| 6285 |
consumeEnumConstantHeaderName(); |
7212 |
consumeEnumConstantHeaderName(); |
| 6286 |
break; |
7213 |
break; |
| 6287 |
|
7214 |
|
| 6288 |
case 512 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ |
7215 |
case 560 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ |
| 6289 |
consumeEnumConstantHeader(); |
7216 |
consumeEnumConstantHeader(); |
| 6290 |
break; |
7217 |
break; |
| 6291 |
|
7218 |
|
| 6292 |
case 513 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ |
7219 |
case 561 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ |
| 6293 |
consumeEnumConstantWithClassBody(); |
7220 |
consumeEnumConstantWithClassBody(); |
| 6294 |
break; |
7221 |
break; |
| 6295 |
|
7222 |
|
| 6296 |
case 514 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ |
7223 |
case 562 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ |
| 6297 |
consumeEnumConstantNoClassBody(); |
7224 |
consumeEnumConstantNoClassBody(); |
| 6298 |
break; |
7225 |
break; |
| 6299 |
|
7226 |
|
| 6300 |
case 515 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ |
7227 |
case 563 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ |
| 6301 |
consumeArguments(); |
7228 |
consumeArguments(); |
| 6302 |
break; |
7229 |
break; |
| 6303 |
|
7230 |
|
| 6304 |
case 516 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ |
7231 |
case 564 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ |
| 6305 |
consumeEmptyArguments(); |
7232 |
consumeEmptyArguments(); |
| 6306 |
break; |
7233 |
break; |
| 6307 |
|
7234 |
|
| 6308 |
case 518 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ |
7235 |
case 566 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ |
| 6309 |
consumeEnumDeclarations(); |
7236 |
consumeEnumDeclarations(); |
| 6310 |
break; |
7237 |
break; |
| 6311 |
|
7238 |
|
| 6312 |
case 519 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ |
7239 |
case 567 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ |
| 6313 |
consumeEmptyEnumDeclarations(); |
7240 |
consumeEmptyEnumDeclarations(); |
| 6314 |
break; |
7241 |
break; |
| 6315 |
|
7242 |
|
| 6316 |
case 521 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ |
7243 |
case 569 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ |
| 6317 |
consumeEnhancedForStatement(); |
7244 |
consumeEnhancedForStatement(); |
| 6318 |
break; |
7245 |
break; |
| 6319 |
|
7246 |
|
| 6320 |
case 522 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ |
7247 |
case 570 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ |
| 6321 |
consumeEnhancedForStatement(); |
7248 |
consumeEnhancedForStatement(); |
| 6322 |
break; |
7249 |
break; |
| 6323 |
|
7250 |
|
| 6324 |
case 523 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Type..."); } //$NON-NLS-1$ |
7251 |
case 571 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Type0..."); } //$NON-NLS-1$ |
| 6325 |
consumeEnhancedForStatementHeaderInit(false); |
7252 |
consumeEnhancedForStatementHeaderInit(false); |
| 6326 |
break; |
7253 |
break; |
| 6327 |
|
7254 |
|
| 6328 |
case 524 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Modifiers"); } //$NON-NLS-1$ |
7255 |
case 572 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Modifiers"); } //$NON-NLS-1$ |
| 6329 |
consumeEnhancedForStatementHeaderInit(true); |
7256 |
consumeEnhancedForStatementHeaderInit(true); |
| 6330 |
break; |
7257 |
break; |
| 6331 |
|
7258 |
|
| 6332 |
case 525 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::=..."); } //$NON-NLS-1$ |
7259 |
case 573 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::=..."); } //$NON-NLS-1$ |
| 6333 |
consumeEnhancedForStatementHeader(); |
7260 |
consumeEnhancedForStatementHeader(); |
| 6334 |
break; |
7261 |
break; |
| 6335 |
|
7262 |
|
| 6336 |
case 526 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ |
7263 |
case 574 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ |
| 6337 |
consumeImportDeclaration(); |
7264 |
consumeImportDeclaration(); |
| 6338 |
break; |
7265 |
break; |
| 6339 |
|
7266 |
|
| 6340 |
case 527 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ |
7267 |
case 575 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ |
| 6341 |
consumeSingleStaticImportDeclarationName(); |
7268 |
consumeSingleStaticImportDeclarationName(); |
| 6342 |
break; |
7269 |
break; |
| 6343 |
|
7270 |
|
| 6344 |
case 528 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ |
7271 |
case 576 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ |
| 6345 |
consumeImportDeclaration(); |
7272 |
consumeImportDeclaration(); |
| 6346 |
break; |
7273 |
break; |
| 6347 |
|
7274 |
|
| 6348 |
case 529 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ |
7275 |
case 577 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ |
| 6349 |
consumeStaticImportOnDemandDeclarationName(); |
7276 |
consumeStaticImportOnDemandDeclarationName(); |
| 6350 |
break; |
7277 |
break; |
| 6351 |
|
7278 |
|
| 6352 |
case 530 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ |
7279 |
case 578 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ |
| 6353 |
consumeTypeArguments(); |
7280 |
consumeTypeArguments(); |
| 6354 |
break; |
7281 |
break; |
| 6355 |
|
7282 |
|
| 6356 |
case 531 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ |
7283 |
case 579 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ |
| 6357 |
consumeOnlyTypeArguments(); |
7284 |
consumeOnlyTypeArguments(); |
| 6358 |
break; |
7285 |
break; |
| 6359 |
|
7286 |
|
| 6360 |
case 533 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
7287 |
case 581 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
| 6361 |
consumeTypeArgumentList1(); |
7288 |
consumeTypeArgumentList1(); |
| 6362 |
break; |
7289 |
break; |
| 6363 |
|
7290 |
|
| 6364 |
case 535 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ |
7291 |
case 583 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ |
| 6365 |
consumeTypeArgumentList(); |
7292 |
consumeTypeArgumentList(); |
| 6366 |
break; |
7293 |
break; |
| 6367 |
|
7294 |
|
| 6368 |
case 536 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ |
7295 |
case 584 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ |
| 6369 |
consumeTypeArgument(); |
7296 |
consumeTypeArgument(); |
| 6370 |
break; |
7297 |
break; |
| 6371 |
|
7298 |
|
| 6372 |
case 540 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ |
7299 |
case 588 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ |
| 6373 |
consumeReferenceType1(); |
7300 |
consumeReferenceType1(); |
| 6374 |
break; |
7301 |
break; |
| 6375 |
|
7302 |
|
| 6376 |
case 541 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ |
7303 |
case 589 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ |
| 6377 |
consumeTypeArgumentReferenceType1(); |
7304 |
consumeTypeArgumentReferenceType1(); |
| 6378 |
break; |
7305 |
break; |
| 6379 |
|
7306 |
|
| 6380 |
case 543 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
7307 |
case 590 : if (DEBUG) { System.out.println("ReferenceType1 ::= Modifiers ClassOrInterface LESS..."); } //$NON-NLS-1$ |
|
|
7308 |
consumeTypeArgumentReferenceType1WithTypeAnnotations(); |
| 7309 |
break; |
| 7310 |
|
| 7311 |
case 592 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
| 6381 |
consumeTypeArgumentList2(); |
7312 |
consumeTypeArgumentList2(); |
| 6382 |
break; |
7313 |
break; |
| 6383 |
|
7314 |
|
| 6384 |
case 546 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ |
7315 |
case 595 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ |
| 6385 |
consumeReferenceType2(); |
7316 |
consumeReferenceType2(); |
| 6386 |
break; |
7317 |
break; |
| 6387 |
|
7318 |
|
| 6388 |
case 547 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ |
7319 |
case 596 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ |
| 6389 |
consumeTypeArgumentReferenceType2(); |
7320 |
consumeTypeArgumentReferenceType2(); |
| 6390 |
break; |
7321 |
break; |
| 6391 |
|
7322 |
|
| 6392 |
case 549 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
7323 |
case 597 : if (DEBUG) { System.out.println("ReferenceType2 ::= Modifiers ClassOrInterface LESS..."); } //$NON-NLS-1$ |
|
|
7324 |
consumeTypeArgumentReferenceType2WithTypeAnnotations(); |
| 7325 |
break; |
| 7326 |
|
| 7327 |
case 599 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
| 6393 |
consumeTypeArgumentList3(); |
7328 |
consumeTypeArgumentList3(); |
| 6394 |
break; |
7329 |
break; |
| 6395 |
|
7330 |
|
| 6396 |
case 552 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
7331 |
case 602 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
| 6397 |
consumeReferenceType3(); |
7332 |
consumeReferenceType3(); |
| 6398 |
break; |
7333 |
break; |
| 6399 |
|
7334 |
|
| 6400 |
case 553 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ |
7335 |
case 603 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ |
| 6401 |
consumeWildcard(); |
7336 |
consumeWildcard(); |
| 6402 |
break; |
7337 |
break; |
| 6403 |
|
7338 |
|
| 6404 |
case 554 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ |
7339 |
case 604 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ |
| 6405 |
consumeWildcardWithBounds(); |
7340 |
consumeWildcardWithBounds(); |
| 6406 |
break; |
7341 |
break; |
| 6407 |
|
7342 |
|
| 6408 |
case 555 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ |
7343 |
case 605 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ |
| 6409 |
consumeWildcardBoundsExtends(); |
7344 |
consumeWildcardBoundsExtends(); |
| 6410 |
break; |
7345 |
break; |
| 6411 |
|
7346 |
|
| 6412 |
case 556 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ |
7347 |
case 606 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ |
| 6413 |
consumeWildcardBoundsSuper(); |
7348 |
consumeWildcardBoundsSuper(); |
| 6414 |
break; |
7349 |
break; |
| 6415 |
|
7350 |
|
| 6416 |
case 557 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ |
7351 |
case 607 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ |
| 6417 |
consumeWildcard1(); |
7352 |
consumeWildcard1(); |
| 6418 |
break; |
7353 |
break; |
| 6419 |
|
7354 |
|
| 6420 |
case 558 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ |
7355 |
case 608 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ |
| 6421 |
consumeWildcard1WithBounds(); |
7356 |
consumeWildcard1WithBounds(); |
| 6422 |
break; |
7357 |
break; |
| 6423 |
|
7358 |
|
| 6424 |
case 559 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ |
7359 |
case 609 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ |
| 6425 |
consumeWildcardBounds1Extends(); |
7360 |
consumeWildcardBounds1Extends(); |
| 6426 |
break; |
7361 |
break; |
| 6427 |
|
7362 |
|
| 6428 |
case 560 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ |
7363 |
case 610 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ |
| 6429 |
consumeWildcardBounds1Super(); |
7364 |
consumeWildcardBounds1Super(); |
| 6430 |
break; |
7365 |
break; |
| 6431 |
|
7366 |
|
| 6432 |
case 561 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ |
7367 |
case 611 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ |
| 6433 |
consumeWildcard2(); |
7368 |
consumeWildcard2(); |
| 6434 |
break; |
7369 |
break; |
| 6435 |
|
7370 |
|
| 6436 |
case 562 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ |
7371 |
case 612 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ |
| 6437 |
consumeWildcard2WithBounds(); |
7372 |
consumeWildcard2WithBounds(); |
| 6438 |
break; |
7373 |
break; |
| 6439 |
|
7374 |
|
| 6440 |
case 563 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ |
7375 |
case 613 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ |
| 6441 |
consumeWildcardBounds2Extends(); |
7376 |
consumeWildcardBounds2Extends(); |
| 6442 |
break; |
7377 |
break; |
| 6443 |
|
7378 |
|
| 6444 |
case 564 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ |
7379 |
case 614 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ |
| 6445 |
consumeWildcardBounds2Super(); |
7380 |
consumeWildcardBounds2Super(); |
| 6446 |
break; |
7381 |
break; |
| 6447 |
|
7382 |
|
| 6448 |
case 565 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
7383 |
case 615 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
| 6449 |
consumeWildcard3(); |
7384 |
consumeWildcard3(); |
| 6450 |
break; |
7385 |
break; |
| 6451 |
|
7386 |
|
| 6452 |
case 566 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ |
7387 |
case 616 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ |
| 6453 |
consumeWildcard3WithBounds(); |
7388 |
consumeWildcard3WithBounds(); |
| 6454 |
break; |
7389 |
break; |
| 6455 |
|
7390 |
|
| 6456 |
case 567 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ |
7391 |
case 617 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ |
| 6457 |
consumeWildcardBounds3Extends(); |
7392 |
consumeWildcardBounds3Extends(); |
| 6458 |
break; |
7393 |
break; |
| 6459 |
|
7394 |
|
| 6460 |
case 568 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ |
7395 |
case 618 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ |
| 6461 |
consumeWildcardBounds3Super(); |
7396 |
consumeWildcardBounds3Super(); |
| 6462 |
break; |
7397 |
break; |
| 6463 |
|
7398 |
|
| 6464 |
case 569 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ |
7399 |
case 619 : if (DEBUG) { System.out.println("PushZeroTypeAnnotations ::="); } //$NON-NLS-1$ |
|
|
7400 |
consumeZeroTypeAnnotations(true); |
| 7401 |
break; |
| 7402 |
|
| 7403 |
case 620 : if (DEBUG) { System.out.println("TypeParameterHeader ::= PushZeroTypeAnnotations..."); } //$NON-NLS-1$ |
| 7404 |
consumeTypeParameterHeader(); |
| 7405 |
break; |
| 7406 |
|
| 7407 |
case 621 : if (DEBUG) { System.out.println("TypeParameterHeader ::= TypeAnnotations Identifier"); } //$NON-NLS-1$ |
| 6465 |
consumeTypeParameterHeader(); |
7408 |
consumeTypeParameterHeader(); |
| 6466 |
break; |
7409 |
break; |
| 6467 |
|
7410 |
|
| 6468 |
case 570 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ |
7411 |
case 622 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ |
| 6469 |
consumeTypeParameters(); |
7412 |
consumeTypeParameters(); |
| 6470 |
break; |
7413 |
break; |
| 6471 |
|
7414 |
|
| 6472 |
case 572 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ |
7415 |
case 624 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ |
| 6473 |
consumeTypeParameterList(); |
7416 |
consumeTypeParameterList(); |
| 6474 |
break; |
7417 |
break; |
| 6475 |
|
7418 |
|
| 6476 |
case 574 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
7419 |
case 626 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
| 6477 |
consumeTypeParameterWithExtends(); |
7420 |
consumeTypeParameterWithExtends(); |
| 6478 |
break; |
7421 |
break; |
| 6479 |
|
7422 |
|
| 6480 |
case 575 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
7423 |
case 627 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
| 6481 |
consumeTypeParameterWithExtendsAndBounds(); |
7424 |
consumeTypeParameterWithExtendsAndBounds(); |
| 6482 |
break; |
7425 |
break; |
| 6483 |
|
7426 |
|
| 6484 |
case 577 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ |
7427 |
case 629 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ |
| 6485 |
consumeAdditionalBoundList(); |
7428 |
consumeAdditionalBoundList(); |
| 6486 |
break; |
7429 |
break; |
| 6487 |
|
7430 |
|
| 6488 |
case 578 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ |
7431 |
case 630 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ |
| 6489 |
consumeAdditionalBound(); |
7432 |
consumeAdditionalBound(); |
| 6490 |
break; |
7433 |
break; |
| 6491 |
|
7434 |
|
| 6492 |
case 580 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ |
7435 |
case 632 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ |
| 6493 |
consumeTypeParameterList1(); |
7436 |
consumeTypeParameterList1(); |
| 6494 |
break; |
7437 |
break; |
| 6495 |
|
7438 |
|
| 6496 |
case 581 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ |
7439 |
case 633 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ |
| 6497 |
consumeTypeParameter1(); |
7440 |
consumeTypeParameter1(); |
| 6498 |
break; |
7441 |
break; |
| 6499 |
|
7442 |
|
| 6500 |
case 582 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
7443 |
case 634 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
| 6501 |
consumeTypeParameter1WithExtends(); |
7444 |
consumeTypeParameter1WithExtends(); |
| 6502 |
break; |
7445 |
break; |
| 6503 |
|
7446 |
|
| 6504 |
case 583 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
7447 |
case 635 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
| 6505 |
consumeTypeParameter1WithExtendsAndBounds(); |
7448 |
consumeTypeParameter1WithExtendsAndBounds(); |
| 6506 |
break; |
7449 |
break; |
| 6507 |
|
7450 |
|
| 6508 |
case 585 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ |
7451 |
case 637 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ |
| 6509 |
consumeAdditionalBoundList1(); |
7452 |
consumeAdditionalBoundList1(); |
| 6510 |
break; |
7453 |
break; |
| 6511 |
|
7454 |
|
| 6512 |
case 586 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ |
7455 |
case 638 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ |
| 6513 |
consumeAdditionalBound1(); |
7456 |
consumeAdditionalBound1(); |
| 6514 |
break; |
7457 |
break; |
| 6515 |
|
7458 |
|
| 6516 |
case 592 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ |
7459 |
case 644 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ |
| 6517 |
consumeUnaryExpression(OperatorIds.PLUS); |
7460 |
consumeUnaryExpression(OperatorIds.PLUS); |
| 6518 |
break; |
7461 |
break; |
| 6519 |
|
7462 |
|
| 6520 |
case 593 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ |
7463 |
case 645 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ |
| 6521 |
consumeUnaryExpression(OperatorIds.MINUS); |
7464 |
consumeUnaryExpression(OperatorIds.MINUS); |
| 6522 |
break; |
7465 |
break; |
| 6523 |
|
7466 |
|
| 6524 |
case 596 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ |
7467 |
case 648 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ |
| 6525 |
consumeUnaryExpression(OperatorIds.TWIDDLE); |
7468 |
consumeUnaryExpression(OperatorIds.TWIDDLE); |
| 6526 |
break; |
7469 |
break; |
| 6527 |
|
7470 |
|
| 6528 |
case 597 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ |
7471 |
case 649 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ |
| 6529 |
consumeUnaryExpression(OperatorIds.NOT); |
7472 |
consumeUnaryExpression(OperatorIds.NOT); |
| 6530 |
break; |
7473 |
break; |
| 6531 |
|
7474 |
|
| 6532 |
case 600 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
7475 |
case 652 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6533 |
consumeBinaryExpression(OperatorIds.MULTIPLY); |
7476 |
consumeBinaryExpression(OperatorIds.MULTIPLY); |
| 6534 |
break; |
7477 |
break; |
| 6535 |
|
7478 |
|
| 6536 |
case 601 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ |
7479 |
case 653 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ |
| 6537 |
consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); |
7480 |
consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); |
| 6538 |
break; |
7481 |
break; |
| 6539 |
|
7482 |
|
| 6540 |
case 602 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
7483 |
case 654 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6541 |
consumeBinaryExpression(OperatorIds.DIVIDE); |
7484 |
consumeBinaryExpression(OperatorIds.DIVIDE); |
| 6542 |
break; |
7485 |
break; |
| 6543 |
|
7486 |
|
| 6544 |
case 603 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ |
7487 |
case 655 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ |
| 6545 |
consumeBinaryExpressionWithName(OperatorIds.DIVIDE); |
7488 |
consumeBinaryExpressionWithName(OperatorIds.DIVIDE); |
| 6546 |
break; |
7489 |
break; |
| 6547 |
|
7490 |
|
| 6548 |
case 604 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
7491 |
case 656 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6549 |
consumeBinaryExpression(OperatorIds.REMAINDER); |
7492 |
consumeBinaryExpression(OperatorIds.REMAINDER); |
| 6550 |
break; |
7493 |
break; |
| 6551 |
|
7494 |
|
| 6552 |
case 605 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ |
7495 |
case 657 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ |
| 6553 |
consumeBinaryExpressionWithName(OperatorIds.REMAINDER); |
7496 |
consumeBinaryExpressionWithName(OperatorIds.REMAINDER); |
| 6554 |
break; |
7497 |
break; |
| 6555 |
|
7498 |
|
| 6556 |
case 607 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ |
7499 |
case 659 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6557 |
consumeBinaryExpression(OperatorIds.PLUS); |
7500 |
consumeBinaryExpression(OperatorIds.PLUS); |
| 6558 |
break; |
7501 |
break; |
| 6559 |
|
7502 |
|
| 6560 |
case 608 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ |
7503 |
case 660 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ |
| 6561 |
consumeBinaryExpressionWithName(OperatorIds.PLUS); |
7504 |
consumeBinaryExpressionWithName(OperatorIds.PLUS); |
| 6562 |
break; |
7505 |
break; |
| 6563 |
|
7506 |
|
| 6564 |
case 609 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ |
7507 |
case 661 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6565 |
consumeBinaryExpression(OperatorIds.MINUS); |
7508 |
consumeBinaryExpression(OperatorIds.MINUS); |
| 6566 |
break; |
7509 |
break; |
| 6567 |
|
7510 |
|
| 6568 |
case 610 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ |
7511 |
case 662 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ |
| 6569 |
consumeBinaryExpressionWithName(OperatorIds.MINUS); |
7512 |
consumeBinaryExpressionWithName(OperatorIds.MINUS); |
| 6570 |
break; |
7513 |
break; |
| 6571 |
|
7514 |
|
| 6572 |
case 612 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
7515 |
case 664 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
| 6573 |
consumeBinaryExpression(OperatorIds.LEFT_SHIFT); |
7516 |
consumeBinaryExpression(OperatorIds.LEFT_SHIFT); |
| 6574 |
break; |
7517 |
break; |
| 6575 |
|
7518 |
|
| 6576 |
case 613 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ |
7519 |
case 665 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ |
| 6577 |
consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); |
7520 |
consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); |
| 6578 |
break; |
7521 |
break; |
| 6579 |
|
7522 |
|
| 6580 |
case 614 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
7523 |
case 666 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
| 6581 |
consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); |
7524 |
consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); |
| 6582 |
break; |
7525 |
break; |
| 6583 |
|
7526 |
|
| 6584 |
case 615 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ |
7527 |
case 667 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ |
| 6585 |
consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); |
7528 |
consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); |
| 6586 |
break; |
7529 |
break; |
| 6587 |
|
7530 |
|
| 6588 |
case 616 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
7531 |
case 668 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
| 6589 |
consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
7532 |
consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
| 6590 |
break; |
7533 |
break; |
| 6591 |
|
7534 |
|
| 6592 |
case 617 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ |
7535 |
case 669 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ |
| 6593 |
consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
7536 |
consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
| 6594 |
break; |
7537 |
break; |
| 6595 |
|
7538 |
|
| 6596 |
case 619 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ |
7539 |
case 671 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ |
| 6597 |
consumeBinaryExpression(OperatorIds.LESS); |
7540 |
consumeBinaryExpression(OperatorIds.LESS); |
| 6598 |
break; |
7541 |
break; |
| 6599 |
|
7542 |
|
| 6600 |
case 620 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ |
7543 |
case 672 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ |
| 6601 |
consumeBinaryExpressionWithName(OperatorIds.LESS); |
7544 |
consumeBinaryExpressionWithName(OperatorIds.LESS); |
| 6602 |
break; |
7545 |
break; |
| 6603 |
|
7546 |
|
| 6604 |
case 621 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ |
7547 |
case 673 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ |
| 6605 |
consumeBinaryExpression(OperatorIds.GREATER); |
7548 |
consumeBinaryExpression(OperatorIds.GREATER); |
| 6606 |
break; |
7549 |
break; |
| 6607 |
|
7550 |
|
| 6608 |
case 622 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ |
7551 |
case 674 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ |
| 6609 |
consumeBinaryExpressionWithName(OperatorIds.GREATER); |
7552 |
consumeBinaryExpressionWithName(OperatorIds.GREATER); |
| 6610 |
break; |
7553 |
break; |
| 6611 |
|
7554 |
|
| 6612 |
case 623 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ |
7555 |
case 675 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6613 |
consumeBinaryExpression(OperatorIds.LESS_EQUAL); |
7556 |
consumeBinaryExpression(OperatorIds.LESS_EQUAL); |
| 6614 |
break; |
7557 |
break; |
| 6615 |
|
7558 |
|
| 6616 |
case 624 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ |
7559 |
case 676 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ |
| 6617 |
consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); |
7560 |
consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); |
| 6618 |
break; |
7561 |
break; |
| 6619 |
|
7562 |
|
| 6620 |
case 625 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ |
7563 |
case 677 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6621 |
consumeBinaryExpression(OperatorIds.GREATER_EQUAL); |
7564 |
consumeBinaryExpression(OperatorIds.GREATER_EQUAL); |
| 6622 |
break; |
7565 |
break; |
| 6623 |
|
7566 |
|
| 6624 |
case 626 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ |
7567 |
case 678 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ |
| 6625 |
consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); |
7568 |
consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); |
| 6626 |
break; |
7569 |
break; |
| 6627 |
|
7570 |
|
| 6628 |
case 628 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ |
7571 |
case 680 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ |
| 6629 |
consumeInstanceOfExpressionWithName(); |
7572 |
consumeInstanceOfExpressionWithName(); |
| 6630 |
break; |
7573 |
break; |
| 6631 |
|
7574 |
|
| 6632 |
case 629 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ |
7575 |
case 681 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6633 |
consumeInstanceOfExpression(); |
7576 |
consumeInstanceOfExpression(); |
| 6634 |
break; |
7577 |
break; |
| 6635 |
|
7578 |
|
| 6636 |
case 631 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ |
7579 |
case 683 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6637 |
consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); |
7580 |
consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); |
| 6638 |
break; |
7581 |
break; |
| 6639 |
|
7582 |
|
| 6640 |
case 632 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ |
7583 |
case 684 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ |
| 6641 |
consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); |
7584 |
consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); |
| 6642 |
break; |
7585 |
break; |
| 6643 |
|
7586 |
|
| 6644 |
case 633 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ |
7587 |
case 685 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6645 |
consumeEqualityExpression(OperatorIds.NOT_EQUAL); |
7588 |
consumeEqualityExpression(OperatorIds.NOT_EQUAL); |
| 6646 |
break; |
7589 |
break; |
| 6647 |
|
7590 |
|
| 6648 |
case 634 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ |
7591 |
case 686 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ |
| 6649 |
consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); |
7592 |
consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); |
| 6650 |
break; |
7593 |
break; |
| 6651 |
|
7594 |
|
| 6652 |
case 636 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ |
7595 |
case 688 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ |
| 6653 |
consumeBinaryExpression(OperatorIds.AND); |
7596 |
consumeBinaryExpression(OperatorIds.AND); |
| 6654 |
break; |
7597 |
break; |
| 6655 |
|
7598 |
|
| 6656 |
case 637 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ |
7599 |
case 689 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ |
| 6657 |
consumeBinaryExpressionWithName(OperatorIds.AND); |
7600 |
consumeBinaryExpressionWithName(OperatorIds.AND); |
| 6658 |
break; |
7601 |
break; |
| 6659 |
|
7602 |
|
| 6660 |
case 639 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
7603 |
case 691 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6661 |
consumeBinaryExpression(OperatorIds.XOR); |
7604 |
consumeBinaryExpression(OperatorIds.XOR); |
| 6662 |
break; |
7605 |
break; |
| 6663 |
|
7606 |
|
| 6664 |
case 640 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ |
7607 |
case 692 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ |
| 6665 |
consumeBinaryExpressionWithName(OperatorIds.XOR); |
7608 |
consumeBinaryExpressionWithName(OperatorIds.XOR); |
| 6666 |
break; |
7609 |
break; |
| 6667 |
|
7610 |
|
| 6668 |
case 642 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
7611 |
case 694 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6669 |
consumeBinaryExpression(OperatorIds.OR); |
7612 |
consumeBinaryExpression(OperatorIds.OR); |
| 6670 |
break; |
7613 |
break; |
| 6671 |
|
7614 |
|
| 6672 |
case 643 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ |
7615 |
case 695 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ |
| 6673 |
consumeBinaryExpressionWithName(OperatorIds.OR); |
7616 |
consumeBinaryExpressionWithName(OperatorIds.OR); |
| 6674 |
break; |
7617 |
break; |
| 6675 |
|
7618 |
|
| 6676 |
case 645 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ |
7619 |
case 697 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6677 |
consumeBinaryExpression(OperatorIds.AND_AND); |
7620 |
consumeBinaryExpression(OperatorIds.AND_AND); |
| 6678 |
break; |
7621 |
break; |
| 6679 |
|
7622 |
|
| 6680 |
case 646 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ |
7623 |
case 698 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ |
| 6681 |
consumeBinaryExpressionWithName(OperatorIds.AND_AND); |
7624 |
consumeBinaryExpressionWithName(OperatorIds.AND_AND); |
| 6682 |
break; |
7625 |
break; |
| 6683 |
|
7626 |
|
| 6684 |
case 648 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
7627 |
case 700 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6685 |
consumeBinaryExpression(OperatorIds.OR_OR); |
7628 |
consumeBinaryExpression(OperatorIds.OR_OR); |
| 6686 |
break; |
7629 |
break; |
| 6687 |
|
7630 |
|
| 6688 |
case 649 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ |
7631 |
case 701 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ |
| 6689 |
consumeBinaryExpressionWithName(OperatorIds.OR_OR); |
7632 |
consumeBinaryExpressionWithName(OperatorIds.OR_OR); |
| 6690 |
break; |
7633 |
break; |
| 6691 |
|
7634 |
|
| 6692 |
case 651 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ |
7635 |
case 703 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6693 |
consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; |
7636 |
consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; |
| 6694 |
break; |
7637 |
break; |
| 6695 |
|
7638 |
|
| 6696 |
case 652 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ |
7639 |
case 704 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ |
| 6697 |
consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; |
7640 |
consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; |
| 6698 |
break; |
7641 |
break; |
| 6699 |
|
7642 |
|
| 6700 |
case 656 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ |
7643 |
case 708 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ |
| 6701 |
consumeAnnotationTypeDeclarationHeaderName() ; |
7644 |
consumeAnnotationTypeDeclarationHeaderName() ; |
| 6702 |
break; |
7645 |
break; |
| 6703 |
|
7646 |
|
| 6704 |
case 657 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ |
7647 |
case 709 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ |
| 6705 |
consumeAnnotationTypeDeclarationHeaderNameWithTypeParameters() ; |
7648 |
consumeAnnotationTypeDeclarationHeaderNameWithTypeParameters() ; |
| 6706 |
break; |
7649 |
break; |
| 6707 |
|
7650 |
|
| 6708 |
case 658 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ |
7651 |
case 710 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ |
| 6709 |
consumeAnnotationTypeDeclarationHeaderNameWithTypeParameters() ; |
7652 |
consumeAnnotationTypeDeclarationHeaderNameWithTypeParameters() ; |
| 6710 |
break; |
7653 |
break; |
| 6711 |
|
7654 |
|
| 6712 |
case 659 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ |
7655 |
case 711 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ |
| 6713 |
consumeAnnotationTypeDeclarationHeaderName() ; |
7656 |
consumeAnnotationTypeDeclarationHeaderName() ; |
| 6714 |
break; |
7657 |
break; |
| 6715 |
|
7658 |
|
| 6716 |
case 660 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::=..."); } //$NON-NLS-1$ |
7659 |
case 712 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::=..."); } //$NON-NLS-1$ |
| 6717 |
consumeAnnotationTypeDeclarationHeader() ; |
7660 |
consumeAnnotationTypeDeclarationHeader() ; |
| 6718 |
break; |
7661 |
break; |
| 6719 |
|
7662 |
|
| 6720 |
case 661 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ |
7663 |
case 713 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ |
| 6721 |
consumeAnnotationTypeDeclaration() ; |
7664 |
consumeAnnotationTypeDeclaration() ; |
| 6722 |
break; |
7665 |
break; |
| 6723 |
|
7666 |
|
| 6724 |
case 663 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ |
7667 |
case 715 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ |
| 6725 |
consumeEmptyAnnotationTypeMemberDeclarationsopt() ; |
7668 |
consumeEmptyAnnotationTypeMemberDeclarationsopt() ; |
| 6726 |
break; |
7669 |
break; |
| 6727 |
|
7670 |
|
| 6728 |
case 664 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
7671 |
case 716 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
| 6729 |
consumeAnnotationTypeMemberDeclarationsopt() ; |
7672 |
consumeAnnotationTypeMemberDeclarationsopt() ; |
| 6730 |
break; |
7673 |
break; |
| 6731 |
|
7674 |
|
| 6732 |
case 666 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ |
7675 |
case 718 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ |
| 6733 |
consumeAnnotationTypeMemberDeclarations() ; |
7676 |
consumeAnnotationTypeMemberDeclarations() ; |
| 6734 |
break; |
7677 |
break; |
| 6735 |
|
7678 |
|
| 6736 |
case 667 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt..."); } //$NON-NLS-1$ |
7679 |
case 719 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt..."); } //$NON-NLS-1$ |
| 6737 |
consumeMethodHeaderNameWithTypeParameters(true); |
7680 |
consumeMethodHeaderNameWithTypeParameters(true); |
| 6738 |
break; |
7681 |
break; |
| 6739 |
|
7682 |
|
| 6740 |
case 668 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ |
7683 |
case 720 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt Type0..."); } //$NON-NLS-1$ |
| 6741 |
consumeMethodHeaderName(true); |
7684 |
consumeMethodHeaderName(true); |
| 6742 |
break; |
7685 |
break; |
| 6743 |
|
7686 |
|
| 6744 |
case 669 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::="); } //$NON-NLS-1$ |
7687 |
case 721 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::="); } //$NON-NLS-1$ |
| 6745 |
consumeEmptyMethodHeaderDefaultValue() ; |
7688 |
consumeEmptyMethodHeaderDefaultValue() ; |
| 6746 |
break; |
7689 |
break; |
| 6747 |
|
7690 |
|
| 6748 |
case 670 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::= DefaultValue"); } //$NON-NLS-1$ |
7691 |
case 722 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::= DefaultValue"); } //$NON-NLS-1$ |
| 6749 |
consumeMethodHeaderDefaultValue(); |
7692 |
consumeMethodHeaderDefaultValue(); |
| 6750 |
break; |
7693 |
break; |
| 6751 |
|
7694 |
|
| 6752 |
case 671 : if (DEBUG) { System.out.println("AnnotationMethodHeader ::= AnnotationMethodHeaderName..."); } //$NON-NLS-1$ |
7695 |
case 723 : if (DEBUG) { System.out.println("AnnotationMethodHeader ::= AnnotationMethodHeaderName..."); } //$NON-NLS-1$ |
| 6753 |
consumeMethodHeader(); |
7696 |
consumeMethodHeader(); |
| 6754 |
break; |
7697 |
break; |
| 6755 |
|
7698 |
|
| 6756 |
case 672 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ |
7699 |
case 724 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ |
| 6757 |
consumeAnnotationTypeMemberDeclaration() ; |
7700 |
consumeAnnotationTypeMemberDeclaration() ; |
| 6758 |
break; |
7701 |
break; |
| 6759 |
|
7702 |
|
| 6760 |
case 680 : if (DEBUG) { System.out.println("AnnotationName ::= AT Name"); } //$NON-NLS-1$ |
7703 |
case 732 : if (DEBUG) { System.out.println("AnnotationName ::= AT Name"); } //$NON-NLS-1$ |
| 6761 |
consumeAnnotationName() ; |
7704 |
consumeAnnotationName() ; |
| 6762 |
break; |
7705 |
break; |
| 6763 |
|
7706 |
|
| 6764 |
case 681 : if (DEBUG) { System.out.println("NormalAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ |
7707 |
case 733 : if (DEBUG) { System.out.println("NormalAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ |
| 6765 |
consumeNormalAnnotation() ; |
7708 |
consumeNormalAnnotation() ; |
| 6766 |
break; |
7709 |
break; |
| 6767 |
|
7710 |
|
| 6768 |
case 682 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ |
7711 |
case 734 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ |
| 6769 |
consumeEmptyMemberValuePairsopt() ; |
7712 |
consumeEmptyMemberValuePairsopt() ; |
| 6770 |
break; |
7713 |
break; |
| 6771 |
|
7714 |
|
| 6772 |
case 685 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ |
7715 |
case 737 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ |
| 6773 |
consumeMemberValuePairs() ; |
7716 |
consumeMemberValuePairs() ; |
| 6774 |
break; |
7717 |
break; |
| 6775 |
|
7718 |
|
| 6776 |
case 686 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL EnterMemberValue..."); } //$NON-NLS-1$ |
7719 |
case 738 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL EnterMemberValue..."); } //$NON-NLS-1$ |
| 6777 |
consumeMemberValuePair() ; |
7720 |
consumeMemberValuePair() ; |
| 6778 |
break; |
7721 |
break; |
| 6779 |
|
7722 |
|
| 6780 |
case 687 : if (DEBUG) { System.out.println("EnterMemberValue ::="); } //$NON-NLS-1$ |
7723 |
case 739 : if (DEBUG) { System.out.println("EnterMemberValue ::="); } //$NON-NLS-1$ |
| 6781 |
consumeEnterMemberValue() ; |
7724 |
consumeEnterMemberValue() ; |
| 6782 |
break; |
7725 |
break; |
| 6783 |
|
7726 |
|
| 6784 |
case 688 : if (DEBUG) { System.out.println("ExitMemberValue ::="); } //$NON-NLS-1$ |
7727 |
case 740 : if (DEBUG) { System.out.println("ExitMemberValue ::="); } //$NON-NLS-1$ |
| 6785 |
consumeExitMemberValue() ; |
7728 |
consumeExitMemberValue() ; |
| 6786 |
break; |
7729 |
break; |
| 6787 |
|
7730 |
|
| 6788 |
case 690 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ |
7731 |
case 742 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ |
| 6789 |
consumeMemberValueAsName() ; |
7732 |
consumeMemberValueAsName() ; |
| 6790 |
break; |
7733 |
break; |
| 6791 |
|
7734 |
|
| 6792 |
case 693 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
7735 |
case 745 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
| 6793 |
consumeMemberValueArrayInitializer() ; |
7736 |
consumeMemberValueArrayInitializer() ; |
| 6794 |
break; |
7737 |
break; |
| 6795 |
|
7738 |
|
| 6796 |
case 694 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
7739 |
case 746 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
| 6797 |
consumeMemberValueArrayInitializer() ; |
7740 |
consumeMemberValueArrayInitializer() ; |
| 6798 |
break; |
7741 |
break; |
| 6799 |
|
7742 |
|
| 6800 |
case 695 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
7743 |
case 747 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
| 6801 |
consumeEmptyMemberValueArrayInitializer() ; |
7744 |
consumeEmptyMemberValueArrayInitializer() ; |
| 6802 |
break; |
7745 |
break; |
| 6803 |
|
7746 |
|
| 6804 |
case 696 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
7747 |
case 748 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
| 6805 |
consumeEmptyMemberValueArrayInitializer() ; |
7748 |
consumeEmptyMemberValueArrayInitializer() ; |
| 6806 |
break; |
7749 |
break; |
| 6807 |
|
7750 |
|
| 6808 |
case 697 : if (DEBUG) { System.out.println("EnterMemberValueArrayInitializer ::="); } //$NON-NLS-1$ |
7751 |
case 749 : if (DEBUG) { System.out.println("EnterMemberValueArrayInitializer ::="); } //$NON-NLS-1$ |
| 6809 |
consumeEnterMemberValueArrayInitializer() ; |
7752 |
consumeEnterMemberValueArrayInitializer() ; |
| 6810 |
break; |
7753 |
break; |
| 6811 |
|
7754 |
|
| 6812 |
case 699 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ |
7755 |
case 751 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ |
| 6813 |
consumeMemberValues() ; |
7756 |
consumeMemberValues() ; |
| 6814 |
break; |
7757 |
break; |
| 6815 |
|
7758 |
|
| 6816 |
case 700 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AnnotationName"); } //$NON-NLS-1$ |
7759 |
case 752 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AnnotationName"); } //$NON-NLS-1$ |
| 6817 |
consumeMarkerAnnotation() ; |
7760 |
consumeMarkerAnnotation() ; |
| 6818 |
break; |
7761 |
break; |
| 6819 |
|
7762 |
|
| 6820 |
case 701 : if (DEBUG) { System.out.println("SingleMemberAnnotationMemberValue ::= MemberValue"); } //$NON-NLS-1$ |
7763 |
case 753 : if (DEBUG) { System.out.println("SingleMemberAnnotationMemberValue ::= MemberValue"); } //$NON-NLS-1$ |
| 6821 |
consumeSingleMemberAnnotationMemberValue() ; |
7764 |
consumeSingleMemberAnnotationMemberValue() ; |
| 6822 |
break; |
7765 |
break; |
| 6823 |
|
7766 |
|
| 6824 |
case 702 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ |
7767 |
case 754 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ |
| 6825 |
consumeSingleMemberAnnotation() ; |
7768 |
consumeSingleMemberAnnotation() ; |
| 6826 |
break; |
7769 |
break; |
| 6827 |
|
7770 |
|
| 6828 |
case 703 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt TypeParameters"); } //$NON-NLS-1$ |
7771 |
case 755 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt TypeParameters"); } //$NON-NLS-1$ |
| 6829 |
consumeRecoveryMethodHeaderNameWithTypeParameters(); |
7772 |
consumeRecoveryMethodHeaderNameWithTypeParameters(); |
| 6830 |
break; |
7773 |
break; |
| 6831 |
|
7774 |
|
| 6832 |
case 704 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ |
7775 |
case 756 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt Type0..."); } //$NON-NLS-1$ |
| 6833 |
consumeRecoveryMethodHeaderName(); |
7776 |
consumeRecoveryMethodHeaderName(); |
| 6834 |
break; |
7777 |
break; |
| 6835 |
|
7778 |
|
| 6836 |
case 705 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ |
7779 |
case 757 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ |
| 6837 |
consumeMethodHeader(); |
7780 |
consumeMethodHeader(); |
| 6838 |
break; |
7781 |
break; |
| 6839 |
|
7782 |
|
| 6840 |
case 706 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ |
7783 |
case 758 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ |
| 6841 |
consumeMethodHeader(); |
7784 |
consumeMethodHeader(); |
| 6842 |
break; |
7785 |
break; |
| 6843 |
|
7786 |
|
|
Lines 7736-7746
Link Here
|
| 7736 |
pushOnGenericsStack(getTypeReference(0)); |
8679 |
pushOnGenericsStack(getTypeReference(0)); |
| 7737 |
this.intPtr--; |
8680 |
this.intPtr--; |
| 7738 |
} |
8681 |
} |
|
|
8682 |
protected void consumeTypeArgumentReferenceType1WithTypeAnnotations() { |
| 8683 |
concatGenericsLists(); |
| 8684 |
TypeReference typeReference = getUnannotatedTypeReference(0); |
| 8685 |
// copy from expression stack to type annotation stack |
| 8686 |
int length; |
| 8687 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 8688 |
System.arraycopy( |
| 8689 |
this.expressionStack, |
| 8690 |
(this.expressionPtr -= length) + 1, |
| 8691 |
typeReference.annotations = new Annotation[length], |
| 8692 |
0, |
| 8693 |
length); |
| 8694 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 8695 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 8696 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 8697 |
} |
| 8698 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 8699 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 8700 |
} |
| 8701 |
pushOnGenericsStack(typeReference); |
| 8702 |
// remove the 0 pushed by ZeroTypeAnnotation |
| 8703 |
this.typeAnnotationLengthPtr--; |
| 8704 |
this.intPtr--; |
| 8705 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 8706 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 8707 |
} |
| 8708 |
resetModifiers(); |
| 8709 |
} |
| 7739 |
protected void consumeTypeArgumentReferenceType2() { |
8710 |
protected void consumeTypeArgumentReferenceType2() { |
| 7740 |
concatGenericsLists(); |
8711 |
concatGenericsLists(); |
| 7741 |
pushOnGenericsStack(getTypeReference(0)); |
8712 |
pushOnGenericsStack(getTypeReference(0)); |
| 7742 |
this.intPtr--; |
8713 |
this.intPtr--; |
| 7743 |
} |
8714 |
} |
|
|
8715 |
protected void consumeTypeArgumentReferenceType2WithTypeAnnotations() { |
| 8716 |
concatGenericsLists(); |
| 8717 |
TypeReference typeReference = getUnannotatedTypeReference(0); |
| 8718 |
// copy from expression stack to type annotation stack |
| 8719 |
int length; |
| 8720 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 8721 |
System.arraycopy( |
| 8722 |
this.expressionStack, |
| 8723 |
(this.expressionPtr -= length) + 1, |
| 8724 |
typeReference.annotations = new Annotation[length], |
| 8725 |
0, |
| 8726 |
length); |
| 8727 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 8728 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 8729 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 8730 |
} |
| 8731 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 8732 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 8733 |
} |
| 8734 |
pushOnGenericsStack(typeReference); |
| 8735 |
this.intPtr--; |
| 8736 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 8737 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 8738 |
} |
| 8739 |
resetModifiers(); |
| 8740 |
} |
| 7744 |
protected void consumeTypeArguments() { |
8741 |
protected void consumeTypeArguments() { |
| 7745 |
concatGenericsLists(); |
8742 |
concatGenericsLists(); |
| 7746 |
this.intPtr--; |
8743 |
this.intPtr--; |
|
Lines 7829-7834
Link Here
|
| 7829 |
typeParameter.declarationSourceEnd = superType.sourceEnd; |
8826 |
typeParameter.declarationSourceEnd = superType.sourceEnd; |
| 7830 |
typeParameter.type = superType; |
8827 |
typeParameter.type = superType; |
| 7831 |
superType.bits |= ASTNode.IsSuperType; |
8828 |
superType.bits |= ASTNode.IsSuperType; |
|
|
8829 |
typeParameter.bits |= (superType.bits & ASTNode.HasTypeAnnotations); |
| 7832 |
this.genericsStack[this.genericsPtr] = typeParameter; |
8830 |
this.genericsStack[this.genericsPtr] = typeParameter; |
| 7833 |
} |
8831 |
} |
| 7834 |
protected void consumeTypeParameter1WithExtendsAndBounds() { |
8832 |
protected void consumeTypeParameter1WithExtendsAndBounds() { |
|
Lines 7841-7855
Link Here
|
| 7841 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
8839 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
| 7842 |
typeParameter.declarationSourceEnd = bounds[additionalBoundsLength - 1].sourceEnd; |
8840 |
typeParameter.declarationSourceEnd = bounds[additionalBoundsLength - 1].sourceEnd; |
| 7843 |
typeParameter.type = superType; |
8841 |
typeParameter.type = superType; |
|
|
8842 |
typeParameter.bits |= (superType.bits & ASTNode.HasTypeAnnotations); |
| 7844 |
superType.bits |= ASTNode.IsSuperType; |
8843 |
superType.bits |= ASTNode.IsSuperType; |
| 7845 |
typeParameter.bounds = bounds; |
8844 |
typeParameter.bounds = bounds; |
| 7846 |
for (int i = 0, max = bounds.length; i < max; i++) { |
8845 |
for (int i = 0, max = bounds.length; i < max; i++) { |
| 7847 |
bounds[i].bits |= ASTNode.IsSuperType; |
8846 |
TypeReference bound = bounds[i]; |
|
|
8847 |
bound.bits |= ASTNode.IsSuperType; |
| 8848 |
typeParameter.bits |= (bound.bits & ASTNode.HasTypeAnnotations); |
| 7848 |
} |
8849 |
} |
| 7849 |
} |
8850 |
} |
| 7850 |
protected void consumeTypeParameterHeader() { |
8851 |
protected void consumeTypeParameterHeader() { |
| 7851 |
//TypeParameterHeader ::= Identifier |
8852 |
//TypeParameterHeader ::= Identifier |
| 7852 |
TypeParameter typeParameter = new TypeParameter(); |
8853 |
TypeParameter typeParameter = new TypeParameter(); |
|
|
8854 |
int length; |
| 8855 |
if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 8856 |
System.arraycopy( |
| 8857 |
this.typeAnnotationStack, |
| 8858 |
(this.typeAnnotationPtr -= length) + 1, |
| 8859 |
typeParameter.annotations = new Annotation[length], |
| 8860 |
0, |
| 8861 |
length); |
| 8862 |
typeParameter.bits |= ASTNode.HasTypeAnnotations; |
| 8863 |
} |
| 7853 |
long pos = this.identifierPositionStack[this.identifierPtr]; |
8864 |
long pos = this.identifierPositionStack[this.identifierPtr]; |
| 7854 |
final int end = (int) pos; |
8865 |
final int end = (int) pos; |
| 7855 |
typeParameter.declarationSourceEnd = end; |
8866 |
typeParameter.declarationSourceEnd = end; |
|
Lines 7901-7906
Link Here
|
| 7901 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
8912 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
| 7902 |
typeParameter.declarationSourceEnd = superType.sourceEnd; |
8913 |
typeParameter.declarationSourceEnd = superType.sourceEnd; |
| 7903 |
typeParameter.type = superType; |
8914 |
typeParameter.type = superType; |
|
|
8915 |
typeParameter.bits |= (superType.bits & ASTNode.HasTypeAnnotations); |
| 7904 |
superType.bits |= ASTNode.IsSuperType; |
8916 |
superType.bits |= ASTNode.IsSuperType; |
| 7905 |
} |
8917 |
} |
| 7906 |
protected void consumeTypeParameterWithExtendsAndBounds() { |
8918 |
protected void consumeTypeParameterWithExtendsAndBounds() { |
|
Lines 7912-7922
Link Here
|
| 7912 |
TypeReference superType = getTypeReference(this.intStack[this.intPtr--]); |
8924 |
TypeReference superType = getTypeReference(this.intStack[this.intPtr--]); |
| 7913 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
8925 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
| 7914 |
typeParameter.type = superType; |
8926 |
typeParameter.type = superType; |
|
|
8927 |
typeParameter.bits |= (superType.bits & ASTNode.HasTypeAnnotations); |
| 7915 |
superType.bits |= ASTNode.IsSuperType; |
8928 |
superType.bits |= ASTNode.IsSuperType; |
| 7916 |
typeParameter.bounds = bounds; |
8929 |
typeParameter.bounds = bounds; |
| 7917 |
typeParameter.declarationSourceEnd = bounds[additionalBoundsLength - 1].sourceEnd; |
8930 |
typeParameter.declarationSourceEnd = bounds[additionalBoundsLength - 1].sourceEnd; |
| 7918 |
for (int i = 0, max = bounds.length; i < max; i++) { |
8931 |
for (int i = 0, max = bounds.length; i < max; i++) { |
| 7919 |
bounds[i].bits |= ASTNode.IsSuperType; |
8932 |
TypeReference bound = bounds[i]; |
|
|
8933 |
bound.bits |= ASTNode.IsSuperType; |
| 8934 |
typeParameter.bits |= (bound.bits & ASTNode.HasTypeAnnotations); |
| 7920 |
} |
8935 |
} |
| 7921 |
} |
8936 |
} |
| 7922 |
protected void consumeUnaryExpression(int op) { |
8937 |
protected void consumeUnaryExpression(int op) { |
|
Lines 8141-8152
Link Here
|
| 8141 |
m.explicitDeclarations = c.explicitDeclarations; |
9156 |
m.explicitDeclarations = c.explicitDeclarations; |
| 8142 |
m.returnType = null; |
9157 |
m.returnType = null; |
| 8143 |
m.javadoc = c.javadoc; |
9158 |
m.javadoc = c.javadoc; |
|
|
9159 |
m.bits = c.bits; |
| 8144 |
return m; |
9160 |
return m; |
| 8145 |
} |
9161 |
} |
| 8146 |
|
9162 |
|
| 8147 |
protected TypeReference copyDims(TypeReference typeRef, int dim) { |
9163 |
protected TypeReference copyDims(TypeReference typeRef, int dim) { |
| 8148 |
return typeRef.copyDims(dim); |
9164 |
return typeRef.copyDims(dim); |
| 8149 |
} |
9165 |
} |
|
|
9166 |
|
| 9167 |
protected TypeReference copyDims(TypeReference typeRef, int dim, Annotation[][]annotationsOnDimensions) { |
| 9168 |
return typeRef.copyDims(dim, annotationsOnDimensions); |
| 9169 |
} |
| 9170 |
|
| 8150 |
protected FieldDeclaration createFieldDeclaration(char[] fieldDeclarationName, int sourceStart, int sourceEnd) { |
9171 |
protected FieldDeclaration createFieldDeclaration(char[] fieldDeclarationName, int sourceStart, int sourceEnd) { |
| 8151 |
return new FieldDeclaration(fieldDeclarationName, sourceStart, sourceEnd); |
9172 |
return new FieldDeclaration(fieldDeclarationName, sourceStart, sourceEnd); |
| 8152 |
} |
9173 |
} |
|
Lines 8379-8385
Link Here
|
| 8379 |
} else if (this.currentElement != null){ |
9400 |
} else if (this.currentElement != null){ |
| 8380 |
if (VERBOSE_RECOVERY){ |
9401 |
if (VERBOSE_RECOVERY){ |
| 8381 |
System.out.print(Messages.parser_syntaxRecovery); |
9402 |
System.out.print(Messages.parser_syntaxRecovery); |
| 8382 |
System.out.println("--------------------------"); //$NON-NLS-1$ |
9403 |
System.out.println("--------------------------"); //$NON-NLS-1$ |
| 8383 |
System.out.println(this.compilationUnit); |
9404 |
System.out.println(this.compilationUnit); |
| 8384 |
System.out.println("----------------------------------"); //$NON-NLS-1$ |
9405 |
System.out.println("----------------------------------"); //$NON-NLS-1$ |
| 8385 |
} |
9406 |
} |
|
Lines 8628-8640
Link Here
|
| 8628 |
return exp; |
9649 |
return exp; |
| 8629 |
} |
9650 |
} |
| 8630 |
protected TypeReference getTypeReference(int dim) { |
9651 |
protected TypeReference getTypeReference(int dim) { |
|
|
9652 |
TypeReference ref = getUnannotatedTypeReference(dim); |
| 9653 |
int length; |
| 9654 |
if (this.typeAnnotationLengthPtr >= 0 |
| 9655 |
&& (length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 9656 |
// if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 9657 |
|
| 9658 |
System.arraycopy( |
| 9659 |
this.typeAnnotationStack, |
| 9660 |
(this.typeAnnotationPtr -= length) + 1, |
| 9661 |
ref.annotations = new Annotation[length], |
| 9662 |
0, |
| 9663 |
length); |
| 9664 |
ref.sourceStart = ref.annotations[0].sourceStart; |
| 9665 |
ref.bits |= ASTNode.HasTypeAnnotations; |
| 9666 |
} |
| 9667 |
return ref; |
| 9668 |
} |
| 9669 |
protected TypeReference getUnannotatedTypeReference(int dim) { |
| 8631 |
/* build a Reference on a variable that may be qualified or not |
9670 |
/* build a Reference on a variable that may be qualified or not |
| 8632 |
This variable is a type reference and dim will be its dimensions*/ |
9671 |
This variable is a type reference and dim will be its dimensions*/ |
| 8633 |
|
9672 |
|
| 8634 |
TypeReference ref; |
9673 |
TypeReference ref; |
|
|
9674 |
Annotation [][] annotationsOnDimensions = null; |
| 8635 |
int length = this.identifierLengthStack[this.identifierLengthPtr--]; |
9675 |
int length = this.identifierLengthStack[this.identifierLengthPtr--]; |
| 8636 |
if (length < 0) { //flag for precompiled type reference on base types |
9676 |
if (length < 0) { //flag for precompiled type reference on base types |
| 8637 |
ref = TypeReference.baseTypeReference(-length, dim); |
9677 |
if (dim > 0) { |
|
|
9678 |
annotationsOnDimensions = getAnnotationsOnDimensions(dim); |
| 9679 |
} |
| 9680 |
ref = TypeReference.baseTypeReference(-length, dim, annotationsOnDimensions); |
| 8638 |
ref.sourceStart = this.intStack[this.intPtr--]; |
9681 |
ref.sourceStart = this.intStack[this.intPtr--]; |
| 8639 |
if (dim == 0) { |
9682 |
if (dim == 0) { |
| 8640 |
ref.sourceEnd = this.intStack[this.intPtr--]; |
9683 |
ref.sourceEnd = this.intStack[this.intPtr--]; |
|
Lines 8656-8667
Link Here
|
| 8656 |
this.identifierStack[this.identifierPtr], |
9699 |
this.identifierStack[this.identifierPtr], |
| 8657 |
this.identifierPositionStack[this.identifierPtr--]); |
9700 |
this.identifierPositionStack[this.identifierPtr--]); |
| 8658 |
} else { |
9701 |
} else { |
|
|
9702 |
annotationsOnDimensions = getAnnotationsOnDimensions(dim); |
| 8659 |
ref = |
9703 |
ref = |
| 8660 |
new ArrayTypeReference( |
9704 |
new ArrayTypeReference( |
| 8661 |
this.identifierStack[this.identifierPtr], |
9705 |
this.identifierStack[this.identifierPtr], |
| 8662 |
dim, |
9706 |
dim, |
|
|
9707 |
annotationsOnDimensions, |
| 8663 |
this.identifierPositionStack[this.identifierPtr--]); |
9708 |
this.identifierPositionStack[this.identifierPtr--]); |
| 8664 |
ref.sourceEnd = this.endPosition; |
9709 |
ref.sourceEnd = this.endPosition; |
|
|
9710 |
if (annotationsOnDimensions != null) { |
| 9711 |
ref.bits |= ASTNode.HasTypeAnnotations; |
| 9712 |
} |
| 8665 |
} |
9713 |
} |
| 8666 |
} else { |
9714 |
} else { |
| 8667 |
this.genericsLengthPtr--; |
9715 |
this.genericsLengthPtr--; |
|
Lines 8679-8698
Link Here
|
| 8679 |
if (dim == 0) { |
9727 |
if (dim == 0) { |
| 8680 |
ref = new QualifiedTypeReference(tokens, positions); |
9728 |
ref = new QualifiedTypeReference(tokens, positions); |
| 8681 |
} else { |
9729 |
} else { |
| 8682 |
ref = new ArrayQualifiedTypeReference(tokens, dim, positions); |
9730 |
annotationsOnDimensions = getAnnotationsOnDimensions(dim); |
|
|
9731 |
ref = new ArrayQualifiedTypeReference(tokens, dim, annotationsOnDimensions, positions); |
| 8683 |
ref.sourceEnd = this.endPosition; |
9732 |
ref.sourceEnd = this.endPosition; |
|
|
9733 |
ref.bits |= ASTNode.HasTypeAnnotations; |
| 8684 |
} |
9734 |
} |
| 8685 |
} |
9735 |
} |
| 8686 |
} |
9736 |
} |
| 8687 |
return ref; |
9737 |
return ref; |
| 8688 |
} |
9738 |
} |
| 8689 |
protected TypeReference getTypeReferenceForGenericType(int dim, int identifierLength, int numberOfIdentifiers) { |
9739 |
protected TypeReference getTypeReferenceForGenericType(int dim, int identifierLength, int numberOfIdentifiers) { |
|
|
9740 |
Annotation[][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim); |
| 8690 |
if (identifierLength == 1 && numberOfIdentifiers == 1) { |
9741 |
if (identifierLength == 1 && numberOfIdentifiers == 1) { |
| 8691 |
int currentTypeArgumentsLength = this.genericsLengthStack[this.genericsLengthPtr--]; |
9742 |
int currentTypeArgumentsLength = this.genericsLengthStack[this.genericsLengthPtr--]; |
| 8692 |
TypeReference[] typeArguments = new TypeReference[currentTypeArgumentsLength]; |
9743 |
TypeReference[] typeArguments = new TypeReference[currentTypeArgumentsLength]; |
| 8693 |
this.genericsPtr -= currentTypeArgumentsLength; |
9744 |
this.genericsPtr -= currentTypeArgumentsLength; |
| 8694 |
System.arraycopy(this.genericsStack, this.genericsPtr + 1, typeArguments, 0, currentTypeArgumentsLength); |
9745 |
System.arraycopy(this.genericsStack, this.genericsPtr + 1, typeArguments, 0, currentTypeArgumentsLength); |
| 8695 |
ParameterizedSingleTypeReference parameterizedSingleTypeReference = new ParameterizedSingleTypeReference(this.identifierStack[this.identifierPtr], typeArguments, dim, this.identifierPositionStack[this.identifierPtr--]); |
9746 |
ParameterizedSingleTypeReference parameterizedSingleTypeReference = new ParameterizedSingleTypeReference(this.identifierStack[this.identifierPtr], typeArguments, dim, annotationsOnDimensions, this.identifierPositionStack[this.identifierPtr--]); |
| 8696 |
if (dim != 0) { |
9747 |
if (dim != 0) { |
| 8697 |
parameterizedSingleTypeReference.sourceEnd = this.endStatementPosition; |
9748 |
parameterizedSingleTypeReference.sourceEnd = this.endStatementPosition; |
| 8698 |
} |
9749 |
} |
|
Lines 8726-8732
Link Here
|
| 8726 |
currentIdentifiersLength = this.identifierLengthStack[this.identifierLengthPtr--]; |
9777 |
currentIdentifiersLength = this.identifierLengthStack[this.identifierLengthPtr--]; |
| 8727 |
} |
9778 |
} |
| 8728 |
} |
9779 |
} |
| 8729 |
ParameterizedQualifiedTypeReference parameterizedQualifiedTypeReference = new ParameterizedQualifiedTypeReference(tokens, typeArguments, dim, positions); |
9780 |
ParameterizedQualifiedTypeReference parameterizedQualifiedTypeReference = new ParameterizedQualifiedTypeReference(tokens, typeArguments, dim, annotationsOnDimensions, positions); |
| 8730 |
if (dim != 0) { |
9781 |
if (dim != 0) { |
| 8731 |
parameterizedQualifiedTypeReference.sourceEnd = this.endStatementPosition; |
9782 |
parameterizedQualifiedTypeReference.sourceEnd = this.endStatementPosition; |
| 8732 |
} |
9783 |
} |
|
Lines 8947-8952
Link Here
|
| 8947 |
this.astLengthPtr = -1; |
9998 |
this.astLengthPtr = -1; |
| 8948 |
this.expressionPtr = -1; |
9999 |
this.expressionPtr = -1; |
| 8949 |
this.expressionLengthPtr = -1; |
10000 |
this.expressionLengthPtr = -1; |
|
|
10001 |
this.unattachedAnnotationPtr = -1; |
| 10002 |
this.typeAnnotationLengthPtr = -1; |
| 10003 |
this.typeAnnotationPtr = -1; |
| 8950 |
this.identifierPtr = -1; |
10004 |
this.identifierPtr = -1; |
| 8951 |
this.identifierLengthPtr = -1; |
10005 |
this.identifierLengthPtr = -1; |
| 8952 |
this.intPtr = -1; |
10006 |
this.intPtr = -1; |
|
Lines 10087-10092
Link Here
|
| 10087 |
} |
11141 |
} |
| 10088 |
this.astLengthStack[this.astLengthPtr] = 1; |
11142 |
this.astLengthStack[this.astLengthPtr] = 1; |
| 10089 |
} |
11143 |
} |
|
|
11144 |
protected void pushOnTypeAnnotationStack(Annotation annotation) { |
| 11145 |
|
| 11146 |
int stackLength = this.typeAnnotationStack.length; |
| 11147 |
if (++this.typeAnnotationPtr >= stackLength) { |
| 11148 |
System.arraycopy( |
| 11149 |
this.typeAnnotationStack, 0, |
| 11150 |
this.typeAnnotationStack = new Annotation[stackLength + TypeAnnotationStackIncrement], 0, |
| 11151 |
stackLength); |
| 11152 |
} |
| 11153 |
this.typeAnnotationStack[this.typeAnnotationPtr] = annotation; |
| 11154 |
|
| 11155 |
stackLength = this.typeAnnotationLengthStack.length; |
| 11156 |
if (++this.typeAnnotationLengthPtr >= stackLength) { |
| 11157 |
System.arraycopy( |
| 11158 |
this.typeAnnotationLengthStack, 0, |
| 11159 |
this.typeAnnotationLengthStack = new int[stackLength + TypeAnnotationStackIncrement], 0, |
| 11160 |
stackLength); |
| 11161 |
} |
| 11162 |
this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr] = 1; |
| 11163 |
} |
| 11164 |
protected void pushOnTypeAnnotationLengthStack(int pos) { |
| 11165 |
|
| 11166 |
int stackLength = this.typeAnnotationLengthStack.length; |
| 11167 |
if (++this.typeAnnotationLengthPtr >= stackLength) { |
| 11168 |
System.arraycopy( |
| 11169 |
this.typeAnnotationLengthStack, 0, |
| 11170 |
this.typeAnnotationLengthStack = new int[stackLength + TypeAnnotationStackIncrement], 0, |
| 11171 |
stackLength); |
| 11172 |
} |
| 11173 |
this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr] = pos; |
| 11174 |
} |
| 10090 |
protected void pushOnExpressionStack(Expression expr) { |
11175 |
protected void pushOnExpressionStack(Expression expr) { |
| 10091 |
|
11176 |
|
| 10092 |
int stackLength = this.expressionStack.length; |
11177 |
int stackLength = this.expressionStack.length; |
|
Lines 10510-10515
Link Here
|
| 10510 |
this.astLengthPtr = -1; |
11595 |
this.astLengthPtr = -1; |
| 10511 |
this.expressionPtr = -1; |
11596 |
this.expressionPtr = -1; |
| 10512 |
this.expressionLengthPtr = -1; |
11597 |
this.expressionLengthPtr = -1; |
|
|
11598 |
this.unattachedAnnotationPtr = -1; |
| 11599 |
this.typeAnnotationLengthPtr = -1; |
| 11600 |
this.typeAnnotationPtr = -1; |
| 10513 |
this.identifierPtr = -1; |
11601 |
this.identifierPtr = -1; |
| 10514 |
this.identifierLengthPtr = -1; |
11602 |
this.identifierLengthPtr = -1; |
| 10515 |
this.intPtr = -1; |
11603 |
this.intPtr = -1; |