|
Lines 71-76
Link Here
|
| 71 |
//expression stack |
71 |
//expression stack |
| 72 |
protected final static int ExpressionStackIncrement = 100; |
72 |
protected final static int ExpressionStackIncrement = 100; |
| 73 |
|
73 |
|
|
|
74 |
// annotation stack |
| 75 |
protected final static int TypeAnnotationStackIncrement = 100; |
| 76 |
|
| 74 |
protected final static int GenericsStackIncrement = 10; |
77 |
protected final static int GenericsStackIncrement = 10; |
| 75 |
|
78 |
|
| 76 |
private final static String FILEPREFIX = "parser"; //$NON-NLS-1$ |
79 |
private final static String FILEPREFIX = "parser"; //$NON-NLS-1$ |
|
Lines 788-794
Link Here
|
| 788 |
protected int[] expressionLengthStack; |
791 |
protected int[] expressionLengthStack; |
| 789 |
protected int expressionPtr; |
792 |
protected int expressionPtr; |
| 790 |
protected Expression[] expressionStack = new Expression[ExpressionStackIncrement]; |
793 |
protected Expression[] expressionStack = new Expression[ExpressionStackIncrement]; |
|
|
794 |
protected int unattachedAnnotationPtr; // used for figuring out whether some set of annotations are annotating a dimension or not. |
| 791 |
public int firstToken ; // handle for multiple parsing goals |
795 |
public int firstToken ; // handle for multiple parsing goals |
|
|
796 |
|
| 797 |
/* jsr308 -- Type annotation management, we now maintain type annotations in a separate stack |
| 798 |
as otherwise they get interspersed with other expressions and some of the code is not prepared |
| 799 |
to handle such interleaving and will look ugly if changed. |
| 800 |
|
| 801 |
See consumeArrayCreationExpressionWithoutInitializer for example. |
| 802 |
|
| 803 |
See that annotations gets pushed into expression stack the moment an annotation is discovered and |
| 804 |
get moved to the new type annotations stack only later when the annotation is recognized to be a |
| 805 |
type annotation. Where ambiguities exist (i.e 1.7 annotation occurs in a place sanctioned for an |
| 806 |
1.5 type annotation, the annotation continues to stay in the expression stack, but in these case |
| 807 |
interleaving is not an issue. |
| 808 |
*/ |
| 809 |
protected int typeAnnotationPtr; |
| 810 |
protected int typeAnnotationLengthPtr; |
| 811 |
protected Annotation [] typeAnnotationStack = new Annotation[TypeAnnotationStackIncrement]; |
| 812 |
protected int [] typeAnnotationLengthStack; |
| 792 |
// generics management |
813 |
// generics management |
| 793 |
protected int genericsIdentifiersLengthPtr; |
814 |
protected int genericsIdentifiersLengthPtr; |
| 794 |
protected int[] genericsIdentifiersLengthStack = new int[GenericsStackIncrement]; |
815 |
protected int[] genericsIdentifiersLengthStack = new int[GenericsStackIncrement]; |
|
Lines 884-889
Link Here
|
| 884 |
this.parsingJava8Plus = this.options.sourceLevel >= ClassFileConstants.JDK1_8; |
905 |
this.parsingJava8Plus = this.options.sourceLevel >= ClassFileConstants.JDK1_8; |
| 885 |
this.astLengthStack = new int[50]; |
906 |
this.astLengthStack = new int[50]; |
| 886 |
this.expressionLengthStack = new int[30]; |
907 |
this.expressionLengthStack = new int[30]; |
|
|
908 |
this.typeAnnotationLengthStack = new int[30]; |
| 887 |
this.intStack = new int[50]; |
909 |
this.intStack = new int[50]; |
| 888 |
this.identifierStack = new char[30][]; |
910 |
this.identifierStack = new char[30][]; |
| 889 |
this.identifierLengthStack = new int[30]; |
911 |
this.identifierLengthStack = new int[30]; |
|
Lines 1232-1237
Link Here
|
| 1232 |
} |
1254 |
} |
| 1233 |
} |
1255 |
} |
| 1234 |
protected ParameterizedQualifiedTypeReference computeQualifiedGenericsFromRightSide(TypeReference rightSide, int dim) { |
1256 |
protected ParameterizedQualifiedTypeReference computeQualifiedGenericsFromRightSide(TypeReference rightSide, int dim) { |
|
|
1257 |
Annotation [][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim); |
| 1235 |
int nameSize = this.identifierLengthStack[this.identifierLengthPtr]; |
1258 |
int nameSize = this.identifierLengthStack[this.identifierLengthPtr]; |
| 1236 |
int tokensSize = nameSize; |
1259 |
int tokensSize = nameSize; |
| 1237 |
if (rightSide instanceof ParameterizedSingleTypeReference) { |
1260 |
if (rightSide instanceof ParameterizedSingleTypeReference) { |
|
Lines 1287-1293
Link Here
|
| 1287 |
typeArguments[nameSize - 1] = currentTypeArguments; |
1310 |
typeArguments[nameSize - 1] = currentTypeArguments; |
| 1288 |
} |
1311 |
} |
| 1289 |
this.identifierLengthPtr--; |
1312 |
this.identifierLengthPtr--; |
| 1290 |
return new ParameterizedQualifiedTypeReference(tokens, typeArguments, dim, positions); |
1313 |
ParameterizedQualifiedTypeReference typeRef = new ParameterizedQualifiedTypeReference(tokens, typeArguments, dim, annotationsOnDimensions, positions); |
|
|
1314 |
int length; |
| 1315 |
if (this.typeAnnotationLengthPtr >= 0 && (length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 1316 |
System.arraycopy( |
| 1317 |
this.typeAnnotationStack, |
| 1318 |
(this.typeAnnotationPtr -= length) + 1, |
| 1319 |
typeRef.annotations = new Annotation[length], |
| 1320 |
0, |
| 1321 |
length); |
| 1322 |
typeRef.sourceStart = typeRef.annotations[0].sourceStart; |
| 1323 |
typeRef.bits |= ASTNode.HasTypeAnnotations; |
| 1324 |
} |
| 1325 |
return typeRef; |
| 1291 |
} |
1326 |
} |
| 1292 |
protected void concatExpressionLists() { |
1327 |
protected void concatExpressionLists() { |
| 1293 |
this.expressionLengthStack[--this.expressionLengthPtr]++; |
1328 |
this.expressionLengthStack[--this.expressionLengthPtr]++; |
|
Lines 1630-1637
Link Here
|
| 1630 |
this.expressionLengthPtr -- ; |
1665 |
this.expressionLengthPtr -- ; |
| 1631 |
arrayAllocation.initializer = (ArrayInitializer) this.expressionStack[this.expressionPtr--]; |
1666 |
arrayAllocation.initializer = (ArrayInitializer) this.expressionStack[this.expressionPtr--]; |
| 1632 |
|
1667 |
|
| 1633 |
arrayAllocation.type = getTypeReference(0); |
|
|
| 1634 |
arrayAllocation.type.bits |= ASTNode.IgnoreRawTypeCheck; // no need to worry about raw type usage |
| 1635 |
length = (this.expressionLengthStack[this.expressionLengthPtr--]); |
1668 |
length = (this.expressionLengthStack[this.expressionLengthPtr--]); |
| 1636 |
this.expressionPtr -= length ; |
1669 |
this.expressionPtr -= length ; |
| 1637 |
System.arraycopy( |
1670 |
System.arraycopy( |
|
Lines 1640-1645
Link Here
|
| 1640 |
arrayAllocation.dimensions = new Expression[length], |
1673 |
arrayAllocation.dimensions = new Expression[length], |
| 1641 |
0, |
1674 |
0, |
| 1642 |
length); |
1675 |
length); |
|
|
1676 |
Annotation[][] annotationsOnDimensions = getAnnotationsOnDimensions(length); |
| 1677 |
arrayAllocation.annotationsOnDimensions = annotationsOnDimensions; |
| 1678 |
if (annotationsOnDimensions != null) { |
| 1679 |
arrayAllocation.bits |= ASTNode.HasTypeAnnotations; |
| 1680 |
} |
| 1681 |
arrayAllocation.type = getTypeReference(0); |
| 1682 |
arrayAllocation.type.bits |= ASTNode.IgnoreRawTypeCheck; // no need to worry about raw type usage |
| 1683 |
|
| 1643 |
arrayAllocation.sourceStart = this.intStack[this.intPtr--]; |
1684 |
arrayAllocation.sourceStart = this.intStack[this.intPtr--]; |
| 1644 |
if (arrayAllocation.initializer == null) { |
1685 |
if (arrayAllocation.initializer == null) { |
| 1645 |
arrayAllocation.sourceEnd = this.endStatementPosition; |
1686 |
arrayAllocation.sourceEnd = this.endStatementPosition; |
|
Lines 1654-1661
Link Here
|
| 1654 |
|
1695 |
|
| 1655 |
int length; |
1696 |
int length; |
| 1656 |
ArrayAllocationExpression arrayAllocation = new ArrayAllocationExpression(); |
1697 |
ArrayAllocationExpression arrayAllocation = new ArrayAllocationExpression(); |
| 1657 |
arrayAllocation.type = getTypeReference(0); |
|
|
| 1658 |
arrayAllocation.type.bits |= ASTNode.IgnoreRawTypeCheck; // no need to worry about raw type usage |
| 1659 |
length = (this.expressionLengthStack[this.expressionLengthPtr--]); |
1698 |
length = (this.expressionLengthStack[this.expressionLengthPtr--]); |
| 1660 |
this.expressionPtr -= length ; |
1699 |
this.expressionPtr -= length ; |
| 1661 |
System.arraycopy( |
1700 |
System.arraycopy( |
|
Lines 1664-1669
Link Here
|
| 1664 |
arrayAllocation.dimensions = new Expression[length], |
1703 |
arrayAllocation.dimensions = new Expression[length], |
| 1665 |
0, |
1704 |
0, |
| 1666 |
length); |
1705 |
length); |
|
|
1706 |
Annotation[][] annotationsOnDimensions = getAnnotationsOnDimensions(length); |
| 1707 |
arrayAllocation.annotationsOnDimensions = annotationsOnDimensions; |
| 1708 |
if (annotationsOnDimensions != null) { |
| 1709 |
arrayAllocation.bits |= ASTNode.HasTypeAnnotations; |
| 1710 |
} |
| 1711 |
arrayAllocation.type = getTypeReference(0); |
| 1712 |
arrayAllocation.type.bits |= ASTNode.IgnoreRawTypeCheck; // no need to worry about raw type usage |
| 1667 |
arrayAllocation.sourceStart = this.intStack[this.intPtr--]; |
1713 |
arrayAllocation.sourceStart = this.intStack[this.intPtr--]; |
| 1668 |
if (arrayAllocation.initializer == null) { |
1714 |
if (arrayAllocation.initializer == null) { |
| 1669 |
arrayAllocation.sourceEnd = this.endStatementPosition; |
1715 |
arrayAllocation.sourceEnd = this.endStatementPosition; |
|
Lines 2059-2065
Link Here
|
| 2059 |
pushOnAstStack(caseStatement); |
2105 |
pushOnAstStack(caseStatement); |
| 2060 |
} |
2106 |
} |
| 2061 |
protected void consumeCastExpressionLL1() { |
2107 |
protected void consumeCastExpressionLL1() { |
| 2062 |
//CastExpression ::= '(' Expression ')' InsideCastExpressionLL1 UnaryExpressionNotPlusMinus |
2108 |
//CastExpression ::= '(' Name ')' InsideCastExpressionLL1 UnaryExpressionNotPlusMinus |
| 2063 |
// Expression is used in order to make the grammar LL1 |
2109 |
// Expression is used in order to make the grammar LL1 |
| 2064 |
|
2110 |
|
| 2065 |
//optimize push/pop |
2111 |
//optimize push/pop |
|
Lines 2074-2079
Link Here
|
| 2074 |
this.expressionLengthPtr -- ; |
2120 |
this.expressionLengthPtr -- ; |
| 2075 |
updateSourcePosition(cast); |
2121 |
updateSourcePosition(cast); |
| 2076 |
cast.sourceEnd=exp.sourceEnd; |
2122 |
cast.sourceEnd=exp.sourceEnd; |
|
|
2123 |
} |
| 2124 |
protected void consumeCastExpressionLL1WithTypeAnnotations() { |
| 2125 |
// CastExpression ::= '(' Modifiers Name ')' InsideCastExpressionLL1 UnaryExpressionNotPlusMinus |
| 2126 |
// Expression is used in order to make the grammar LL1 |
| 2127 |
|
| 2128 |
//optimize push/pop |
| 2129 |
|
| 2130 |
// pop the expression |
| 2131 |
Expression expression = this.expressionStack[this.expressionPtr--]; |
| 2132 |
this.expressionLengthPtr--; |
| 2133 |
// pop the type reference |
| 2134 |
TypeReference typeReference = (TypeReference) this.expressionStack[this.expressionPtr--]; |
| 2135 |
this.expressionLengthPtr--; |
| 2136 |
|
| 2137 |
int length; |
| 2138 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 2139 |
System.arraycopy( |
| 2140 |
this.expressionStack, |
| 2141 |
(this.expressionPtr -= length) + 1, |
| 2142 |
typeReference.annotations = new Annotation[length], |
| 2143 |
0, |
| 2144 |
length); |
| 2145 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 2146 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 2147 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 2148 |
} |
| 2149 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 2150 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 2151 |
} |
| 2152 |
Expression cast; |
| 2153 |
pushOnExpressionStack(cast = new CastExpression(expression, typeReference)); |
| 2154 |
// pop the two positions for left and right parenthesis |
| 2155 |
updateSourcePosition(cast); |
| 2156 |
cast.sourceEnd = expression.sourceEnd; |
| 2157 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 2158 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 2159 |
} |
| 2160 |
resetModifiers(); |
| 2077 |
} |
2161 |
} |
| 2078 |
protected void consumeCastExpressionWithGenericsArray() { |
2162 |
protected void consumeCastExpressionWithGenericsArray() { |
| 2079 |
// CastExpression ::= PushLPAREN Name TypeArguments Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
2163 |
// CastExpression ::= PushLPAREN Name TypeArguments Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
|
Lines 2092-2097
Link Here
|
| 2092 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
2176 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2093 |
cast.sourceEnd = exp.sourceEnd; |
2177 |
cast.sourceEnd = exp.sourceEnd; |
| 2094 |
} |
2178 |
} |
|
|
2179 |
protected void consumeCastExpressionWithGenericsArrayWithTypeAnnotations() { |
| 2180 |
// CastExpression ::= PushLPAREN Modifiers Name OnlyTypeArgumentsForCastExpression Dimsopt PushRPARENForAnnotatedTypeCast InsideCastExpression UnaryExpressionNotPlusMinus |
| 2181 |
int end = this.intStack[this.intPtr--]; |
| 2182 |
int dim = this.intStack[this.intPtr--]; |
| 2183 |
|
| 2184 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 2185 |
TypeReference typeReference = getTypeReference(dim); |
| 2186 |
|
| 2187 |
// pop expression |
| 2188 |
Expression expression = 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.bits |= ASTNode.HasTypeAnnotations; |
| 2204 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 2205 |
} |
| 2206 |
Expression cast; |
| 2207 |
pushOnExpressionStack(cast = new CastExpression(expression, typeReference)); |
| 2208 |
this.intPtr--; |
| 2209 |
typeReference.sourceEnd = end - 1; |
| 2210 |
typeReference.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2211 |
cast.sourceEnd = expression.sourceEnd; |
| 2212 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 2213 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 2214 |
} |
| 2215 |
resetModifiers(); |
| 2216 |
} |
| 2095 |
protected void consumeCastExpressionWithNameArray() { |
2217 |
protected void consumeCastExpressionWithNameArray() { |
| 2096 |
// CastExpression ::= PushLPAREN Name Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
2218 |
// CastExpression ::= PushLPAREN Name Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
| 2097 |
|
2219 |
|
|
Lines 2109-2114
Link Here
|
| 2109 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
2231 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2110 |
cast.sourceEnd = exp.sourceEnd; |
2232 |
cast.sourceEnd = exp.sourceEnd; |
| 2111 |
} |
2233 |
} |
|
|
2234 |
protected void consumeCastExpressionWithNameArrayWithTypeAnnotations() { |
| 2235 |
// CastExpression ::= PushLPAREN Modifiers Name Dims PushRPARENForAnnotatedTypeCast InsideCastExpression UnaryExpressionNotPlusMinus |
| 2236 |
|
| 2237 |
int end = this.intStack[this.intPtr--]; |
| 2238 |
|
| 2239 |
// handle type arguments |
| 2240 |
pushOnGenericsLengthStack(0); |
| 2241 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 2242 |
|
| 2243 |
// pop expression |
| 2244 |
Expression expression = this.expressionStack[this.expressionPtr--]; |
| 2245 |
this.expressionLengthPtr--; |
| 2246 |
TypeReference typeReference = getTypeReference(this.intStack[this.intPtr--]); |
| 2247 |
|
| 2248 |
int length; |
| 2249 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 2250 |
System.arraycopy( |
| 2251 |
this.expressionStack, |
| 2252 |
(this.expressionPtr -= length) + 1, |
| 2253 |
typeReference.annotations = new Annotation[length], |
| 2254 |
0, |
| 2255 |
length); |
| 2256 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 2257 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 2258 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 2259 |
} |
| 2260 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 2261 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 2262 |
} |
| 2263 |
Expression cast; |
| 2264 |
pushOnExpressionStack(cast = new CastExpression(expression, typeReference)); |
| 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 |
} |
| 2112 |
protected void consumeCastExpressionWithPrimitiveType() { |
2273 |
protected void consumeCastExpressionWithPrimitiveType() { |
| 2113 |
// CastExpression ::= PushLPAREN PrimitiveType Dimsopt PushRPAREN InsideCastExpression UnaryExpression |
2274 |
// CastExpression ::= PushLPAREN PrimitiveType Dimsopt PushRPAREN InsideCastExpression UnaryExpression |
| 2114 |
|
2275 |
|
|
Lines 2125-2130
Link Here
|
| 2125 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
2286 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2126 |
cast.sourceEnd = exp.sourceEnd; |
2287 |
cast.sourceEnd = exp.sourceEnd; |
| 2127 |
} |
2288 |
} |
|
|
2289 |
protected void consumeCastExpressionWithPrimitiveTypeWithTypeAnnotations() { |
| 2290 |
// CastExpression ::= PushLPAREN Modifiers PrimitiveType Dimsopt PushRPARENForAnnotatedTypeCast InsideCastExpression UnaryExpression |
| 2291 |
|
| 2292 |
//this.intStack : posOfLeftParen dim posOfRightParen |
| 2293 |
int end = this.intStack[this.intPtr--]; |
| 2294 |
|
| 2295 |
// pop expression |
| 2296 |
Expression expression = this.expressionStack[this.expressionPtr--]; |
| 2297 |
this.expressionLengthPtr--; |
| 2298 |
|
| 2299 |
TypeReference typeReference = getTypeReference(this.intStack[this.intPtr--]); |
| 2300 |
int length; |
| 2301 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 2302 |
System.arraycopy( |
| 2303 |
this.expressionStack, |
| 2304 |
(this.expressionPtr -= length) + 1, |
| 2305 |
typeReference.annotations = new Annotation[length], |
| 2306 |
0, |
| 2307 |
length); |
| 2308 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 2309 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 2310 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 2311 |
} |
| 2312 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 2313 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 2314 |
} |
| 2315 |
|
| 2316 |
Expression cast; |
| 2317 |
pushOnExpressionStack(cast = new CastExpression(expression, typeReference)); |
| 2318 |
|
| 2319 |
typeReference.sourceEnd = end - 1; |
| 2320 |
typeReference.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2321 |
cast.sourceEnd = expression.sourceEnd; |
| 2322 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 2323 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 2324 |
} |
| 2325 |
resetModifiers(); |
| 2326 |
} |
| 2128 |
protected void consumeCastExpressionWithQualifiedGenericsArray() { |
2327 |
protected void consumeCastExpressionWithQualifiedGenericsArray() { |
| 2129 |
// CastExpression ::= PushLPAREN Name OnlyTypeArguments '.' ClassOrInterfaceType Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
2328 |
// CastExpression ::= PushLPAREN Name OnlyTypeArguments '.' ClassOrInterfaceType Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
| 2130 |
Expression exp; |
2329 |
Expression exp; |
|
Lines 2133-2139
Link Here
|
| 2133 |
int end = this.intStack[this.intPtr--]; |
2332 |
int end = this.intStack[this.intPtr--]; |
| 2134 |
|
2333 |
|
| 2135 |
int dim = this.intStack[this.intPtr--]; |
2334 |
int dim = this.intStack[this.intPtr--]; |
| 2136 |
TypeReference rightSide = getTypeReference(0); |
2335 |
TypeReference rightSide = getUnannotatedTypeReference(0); // by design the type after . is not annotated. |
| 2137 |
|
2336 |
|
| 2138 |
ParameterizedQualifiedTypeReference qualifiedParameterizedTypeReference = computeQualifiedGenericsFromRightSide(rightSide, dim); |
2337 |
ParameterizedQualifiedTypeReference qualifiedParameterizedTypeReference = computeQualifiedGenericsFromRightSide(rightSide, dim); |
| 2139 |
this.intPtr--; |
2338 |
this.intPtr--; |
|
Lines 2141-2146
Link Here
|
| 2141 |
castType.sourceEnd = end - 1; |
2340 |
castType.sourceEnd = end - 1; |
| 2142 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
2341 |
castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2143 |
cast.sourceEnd = exp.sourceEnd; |
2342 |
cast.sourceEnd = exp.sourceEnd; |
|
|
2343 |
} |
| 2344 |
protected void consumeCastExpressionWithQualifiedGenericsArrayWithTypeAnnotations() { |
| 2345 |
// CastExpression ::= PushLPAREN Name OnlyTypeArguments '.' ClassOrInterfaceType Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus |
| 2346 |
int end = this.intStack[this.intPtr--]; |
| 2347 |
|
| 2348 |
int dim = this.intStack[this.intPtr--]; |
| 2349 |
// pop expression |
| 2350 |
Expression expression = this.expressionStack[this.expressionPtr--]; |
| 2351 |
this.expressionLengthPtr--; |
| 2352 |
|
| 2353 |
TypeReference rightSide = getUnannotatedTypeReference(0); // by design the type after . is not annotated. |
| 2354 |
|
| 2355 |
ParameterizedQualifiedTypeReference typeReference = computeQualifiedGenericsFromRightSide(rightSide, dim); |
| 2356 |
this.intPtr--; |
| 2357 |
int length; |
| 2358 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 2359 |
System.arraycopy( |
| 2360 |
this.expressionStack, |
| 2361 |
(this.expressionPtr -= length) + 1, |
| 2362 |
typeReference.annotations = new Annotation[length], |
| 2363 |
0, |
| 2364 |
length); |
| 2365 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 2366 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 2367 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 2368 |
} |
| 2369 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 2370 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 2371 |
} |
| 2372 |
Expression cast; |
| 2373 |
pushOnExpressionStack(cast = new CastExpression(expression, typeReference)); |
| 2374 |
typeReference.sourceEnd = end - 1; |
| 2375 |
typeReference.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1; |
| 2376 |
cast.sourceEnd = expression.sourceEnd; |
| 2377 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 2378 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 2379 |
} |
| 2380 |
resetModifiers(); |
| 2144 |
} |
2381 |
} |
| 2145 |
protected void consumeCatches() { |
2382 |
protected void consumeCatches() { |
| 2146 |
// Catches ::= Catches CatchClause |
2383 |
// Catches ::= Catches CatchClause |
|
Lines 2334-2339
Link Here
|
| 2334 |
TypeReference superClass = getTypeReference(0); |
2571 |
TypeReference superClass = getTypeReference(0); |
| 2335 |
// There is a class declaration on the top of stack |
2572 |
// There is a class declaration on the top of stack |
| 2336 |
TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr]; |
2573 |
TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr]; |
|
|
2574 |
typeDecl.bits |= (superClass.bits & ASTNode.HasTypeAnnotations); |
| 2337 |
typeDecl.superclass = superClass; |
2575 |
typeDecl.superclass = superClass; |
| 2338 |
superClass.bits |= ASTNode.IsSuperType; |
2576 |
superClass.bits |= ASTNode.IsSuperType; |
| 2339 |
typeDecl.bodyStart = typeDecl.superclass.sourceEnd + 1; |
2577 |
typeDecl.bodyStart = typeDecl.superclass.sourceEnd + 1; |
|
Lines 2355-2362
Link Here
|
| 2355 |
typeDecl.superInterfaces = new TypeReference[length], |
2593 |
typeDecl.superInterfaces = new TypeReference[length], |
| 2356 |
0, |
2594 |
0, |
| 2357 |
length); |
2595 |
length); |
| 2358 |
for (int i = 0, max = typeDecl.superInterfaces.length; i < max; i++) { |
2596 |
TypeReference[] superinterfaces = typeDecl.superInterfaces; |
| 2359 |
typeDecl.superInterfaces[i].bits |= ASTNode.IsSuperType; |
2597 |
for (int i = 0, max = superinterfaces.length; i < max; i++) { |
|
|
2598 |
TypeReference typeReference = superinterfaces[i]; |
| 2599 |
typeDecl.bits |= (typeReference.bits & ASTNode.HasTypeAnnotations); |
| 2600 |
typeReference.bits |= ASTNode.IsSuperType; |
| 2360 |
} |
2601 |
} |
| 2361 |
typeDecl.bodyStart = typeDecl.superInterfaces[length-1].sourceEnd + 1; |
2602 |
typeDecl.bodyStart = typeDecl.superInterfaces[length-1].sourceEnd + 1; |
| 2362 |
this.listLength = 0; // reset after having read super-interfaces |
2603 |
this.listLength = 0; // reset after having read super-interfaces |
|
Lines 2690-2698
Link Here
|
| 2690 |
} |
2931 |
} |
| 2691 |
} |
2932 |
} |
| 2692 |
|
2933 |
|
| 2693 |
if (!this.diet || insideFieldInitializer){ |
2934 |
if (!this.options.ignoreMethodBodies) { |
| 2694 |
// add it only in non-diet mode, if diet_bodies, then constructor call will be added elsewhere. |
2935 |
if (!this.diet || insideFieldInitializer){ |
| 2695 |
constructorCall = SuperReference.implicitSuperConstructorCall(); |
2936 |
// add it only in non-diet mode, if diet_bodies, then constructor call will be added elsewhere. |
|
|
2937 |
constructorCall = SuperReference.implicitSuperConstructorCall(); |
| 2938 |
} |
| 2696 |
} |
2939 |
} |
| 2697 |
} |
2940 |
} |
| 2698 |
|
2941 |
|
|
Lines 2724-2729
Link Here
|
| 2724 |
// ConstructorHeader ::= ConstructorHeaderName MethodHeaderParameters MethodHeaderThrowsClauseopt |
2967 |
// ConstructorHeader ::= ConstructorHeaderName MethodHeaderParameters MethodHeaderThrowsClauseopt |
| 2725 |
|
2968 |
|
| 2726 |
AbstractMethodDeclaration method = (AbstractMethodDeclaration)this.astStack[this.astPtr]; |
2969 |
AbstractMethodDeclaration method = (AbstractMethodDeclaration)this.astStack[this.astPtr]; |
|
|
2970 |
|
| 2971 |
// jsr308 -- consume receiver annotations |
| 2972 |
method.receiverAnnotations = null; |
| 2973 |
int length; |
| 2974 |
if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 2975 |
System.arraycopy( |
| 2976 |
this.typeAnnotationStack, |
| 2977 |
(this.typeAnnotationPtr -= length) + 1, |
| 2978 |
method.receiverAnnotations = new Annotation[length], |
| 2979 |
0, |
| 2980 |
length); |
| 2981 |
method.bits |= ASTNode.HasTypeAnnotations; |
| 2982 |
} |
| 2727 |
|
2983 |
|
| 2728 |
if (this.currentToken == TokenNameLBRACE){ |
2984 |
if (this.currentToken == TokenNameLBRACE){ |
| 2729 |
method.bodyStart = this.scanner.currentPosition; |
2985 |
method.bodyStart = this.scanner.currentPosition; |
|
Lines 2888-2893
Link Here
|
| 2888 |
} |
3144 |
} |
| 2889 |
protected void consumeDimWithOrWithOutExpr() { |
3145 |
protected void consumeDimWithOrWithOutExpr() { |
| 2890 |
// DimWithOrWithOutExpr ::= '[' ']' |
3146 |
// DimWithOrWithOutExpr ::= '[' ']' |
|
|
3147 |
// DimWithOrWithOutExpr ::= OneOrMoreAnnotations '[' ']' |
| 2891 |
pushOnExpressionStack(null); |
3148 |
pushOnExpressionStack(null); |
| 2892 |
|
3149 |
|
| 2893 |
if(this.currentElement != null && this.currentToken == TokenNameLBRACE) { |
3150 |
if(this.currentElement != null && this.currentToken == TokenNameLBRACE) { |
|
Lines 3097-3102
Link Here
|
| 3097 |
localDeclaration.annotations = new Annotation[length], |
3354 |
localDeclaration.annotations = new Annotation[length], |
| 3098 |
0, |
3355 |
0, |
| 3099 |
length); |
3356 |
length); |
|
|
3357 |
localDeclaration.bits |= ASTNode.HasTypeAnnotations; |
| 3100 |
} |
3358 |
} |
| 3101 |
if (hasModifiers) { |
3359 |
if (hasModifiers) { |
| 3102 |
localDeclaration.declarationSourceStart = declarationSourceStart; |
3360 |
localDeclaration.declarationSourceStart = declarationSourceStart; |
|
Lines 3105-3110
Link Here
|
| 3105 |
localDeclaration.declarationSourceStart = type.sourceStart; |
3363 |
localDeclaration.declarationSourceStart = type.sourceStart; |
| 3106 |
} |
3364 |
} |
| 3107 |
localDeclaration.type = type; |
3365 |
localDeclaration.type = type; |
|
|
3366 |
localDeclaration.bits |= (type.bits & ASTNode.HasTypeAnnotations); |
| 3108 |
|
3367 |
|
| 3109 |
ForeachStatement iteratorForStatement = |
3368 |
ForeachStatement iteratorForStatement = |
| 3110 |
new ForeachStatement( |
3369 |
new ForeachStatement( |
|
Lines 3195-3200
Link Here
|
| 3195 |
char[] identifierName = this.identifierStack[this.identifierPtr]; |
3454 |
char[] identifierName = this.identifierStack[this.identifierPtr]; |
| 3196 |
long namePosition = this.identifierPositionStack[this.identifierPtr]; |
3455 |
long namePosition = this.identifierPositionStack[this.identifierPtr]; |
| 3197 |
int extendedDimension = this.intStack[this.intPtr--]; |
3456 |
int extendedDimension = this.intStack[this.intPtr--]; |
|
|
3457 |
// pop any annotations on extended dimensions now, so they don't pollute the base dimensions. |
| 3458 |
Annotation [][] annotationsOnExtendedDimensions = extendedDimension == 0 ? null : getAnnotationsOnDimensions(extendedDimension); |
| 3198 |
AbstractVariableDeclaration declaration; |
3459 |
AbstractVariableDeclaration declaration; |
| 3199 |
// create the ast node |
3460 |
// create the ast node |
| 3200 |
boolean isLocalDeclaration = this.nestedMethod[this.nestedType] != 0; |
3461 |
boolean isLocalDeclaration = this.nestedMethod[this.nestedType] != 0; |
|
Lines 3227-3232
Link Here
|
| 3227 |
declaration.annotations = new Annotation[length], |
3488 |
declaration.annotations = new Annotation[length], |
| 3228 |
0, |
3489 |
0, |
| 3229 |
length); |
3490 |
length); |
|
|
3491 |
declaration.bits |= ASTNode.HasTypeAnnotations; |
| 3230 |
} |
3492 |
} |
| 3231 |
type = getTypeReference(typeDim = this.intStack[this.intPtr--]); // type dimension |
3493 |
type = getTypeReference(typeDim = this.intStack[this.intPtr--]); // type dimension |
| 3232 |
if (declaration.declarationSourceStart == -1) { |
3494 |
if (declaration.declarationSourceStart == -1) { |
|
Lines 3248-3253
Link Here
|
| 3248 |
declaration.annotations = new Annotation[length], |
3510 |
declaration.annotations = new Annotation[length], |
| 3249 |
0, |
3511 |
0, |
| 3250 |
length); |
3512 |
length); |
|
|
3513 |
declaration.bits |= ASTNode.HasTypeAnnotations; |
| 3251 |
} |
3514 |
} |
| 3252 |
// Store javadoc only on first declaration as it is the same for all ones |
3515 |
// Store javadoc only on first declaration as it is the same for all ones |
| 3253 |
FieldDeclaration fieldDeclaration = (FieldDeclaration) declaration; |
3516 |
FieldDeclaration fieldDeclaration = (FieldDeclaration) declaration; |
|
Lines 3265-3278
Link Here
|
| 3265 |
if (annotations != null) { |
3528 |
if (annotations != null) { |
| 3266 |
final int annotationsLength = annotations.length; |
3529 |
final int annotationsLength = annotations.length; |
| 3267 |
System.arraycopy(annotations, 0, declaration.annotations = new Annotation[annotationsLength], 0, annotationsLength); |
3530 |
System.arraycopy(annotations, 0, declaration.annotations = new Annotation[annotationsLength], 0, annotationsLength); |
|
|
3531 |
declaration.bits |= ASTNode.HasTypeAnnotations; |
| 3268 |
} |
3532 |
} |
| 3269 |
} |
3533 |
} |
| 3270 |
|
3534 |
|
| 3271 |
if (extendedDimension == 0) { |
3535 |
if (extendedDimension == 0) { |
| 3272 |
declaration.type = type; |
3536 |
declaration.type = type; |
|
|
3537 |
declaration.bits |= (type.bits & ASTNode.HasTypeAnnotations); |
| 3273 |
} else { |
3538 |
} else { |
| 3274 |
int dimension = typeDim + extendedDimension; |
3539 |
int dimension = typeDim + extendedDimension; |
| 3275 |
declaration.type = copyDims(type, dimension); |
3540 |
Annotation [][] annotationsOnAllDimensions = null; |
|
|
3541 |
Annotation[][] annotationsOnDimensions = type.getAnnotationsOnDimensions(); |
| 3542 |
if (annotationsOnDimensions != null || annotationsOnExtendedDimensions != null) { |
| 3543 |
annotationsOnAllDimensions = getMergedAnnotationsOnDimensions(typeDim, annotationsOnDimensions, extendedDimension, annotationsOnExtendedDimensions); |
| 3544 |
declaration.bits |= (type.bits & ASTNode.HasTypeAnnotations); |
| 3545 |
} |
| 3546 |
declaration.type = copyDims(type, dimension, annotationsOnAllDimensions); |
| 3276 |
} |
3547 |
} |
| 3277 |
this.variablesCounter[this.nestedType]++; |
3548 |
this.variablesCounter[this.nestedType]++; |
| 3278 |
pushOnAstStack(declaration); |
3549 |
pushOnAstStack(declaration); |
|
Lines 3298-3303
Link Here
|
| 3298 |
} |
3569 |
} |
| 3299 |
this.lastIgnoredToken = -1; |
3570 |
this.lastIgnoredToken = -1; |
| 3300 |
} |
3571 |
} |
|
|
3572 |
} |
| 3573 |
protected Annotation[][] getMergedAnnotationsOnDimensions(int dims, Annotation[][] annotationsOnDimensions, |
| 3574 |
int extendedDims, Annotation[][] annotationsOnExtendedDimensions) { |
| 3575 |
|
| 3576 |
if (annotationsOnDimensions == null && annotationsOnExtendedDimensions == null) |
| 3577 |
return null; |
| 3578 |
|
| 3579 |
Annotation [][] mergedAnnotations = new Annotation[dims + extendedDims][]; |
| 3580 |
for (int i = 0; i < dims; i++) { |
| 3581 |
if (annotationsOnDimensions != null) { |
| 3582 |
mergedAnnotations[i] = annotationsOnDimensions[i]; |
| 3583 |
} else { |
| 3584 |
mergedAnnotations[i] = null; |
| 3585 |
} |
| 3586 |
} |
| 3587 |
for (int i = dims, j = 0; i < dims + extendedDims; i++, j++) { |
| 3588 |
if (annotationsOnExtendedDimensions != null) { |
| 3589 |
mergedAnnotations[i] = annotationsOnExtendedDimensions[j]; |
| 3590 |
} else { |
| 3591 |
mergedAnnotations[i] = null; |
| 3592 |
} |
| 3593 |
} |
| 3594 |
|
| 3595 |
return mergedAnnotations; |
| 3301 |
} |
3596 |
} |
| 3302 |
protected void consumeEnumBodyNoConstants() { |
3597 |
protected void consumeEnumBodyNoConstants() { |
| 3303 |
// nothing to do |
3598 |
// nothing to do |
|
Lines 3409-3414
Link Here
|
| 3409 |
enumConstant.annotations = new Annotation[length], |
3704 |
enumConstant.annotations = new Annotation[length], |
| 3410 |
0, |
3705 |
0, |
| 3411 |
length); |
3706 |
length); |
|
|
3707 |
enumConstant.bits |= ASTNode.HasTypeAnnotations; |
| 3412 |
} |
3708 |
} |
| 3413 |
pushOnAstStack(enumConstant); |
3709 |
pushOnAstStack(enumConstant); |
| 3414 |
if (this.currentElement != null){ |
3710 |
if (this.currentElement != null){ |
|
Lines 3928-3937
Link Here
|
| 3928 |
endOfEllipsis = this.intStack[this.intPtr--]; |
4224 |
endOfEllipsis = this.intStack[this.intPtr--]; |
| 3929 |
} |
4225 |
} |
| 3930 |
int firstDimensions = this.intStack[this.intPtr--]; |
4226 |
int firstDimensions = this.intStack[this.intPtr--]; |
| 3931 |
final int typeDimensions = firstDimensions + extendedDimensions; |
4227 |
TypeReference type = getUnannotatedTypeReference(extendedDimensions); |
| 3932 |
TypeReference type = getTypeReference(typeDimensions); |
4228 |
Annotation [] varArgsAnnotations = null; |
|
|
4229 |
int length; |
| 4230 |
if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 4231 |
System.arraycopy( |
| 4232 |
this.typeAnnotationStack, |
| 4233 |
(this.typeAnnotationPtr -= length) + 1, |
| 4234 |
varArgsAnnotations = new Annotation[length], |
| 4235 |
0, |
| 4236 |
length); |
| 4237 |
} |
| 4238 |
final int typeDimensions = firstDimensions + extendedDimensions + (isVarArgs ? 1 : 0); |
| 4239 |
|
| 4240 |
if (typeDimensions != extendedDimensions) { |
| 4241 |
// jsr308 type annotations management |
| 4242 |
Annotation [][] annotationsOnFirstDimensions = firstDimensions == 0 ? null : getAnnotationsOnDimensions(firstDimensions); |
| 4243 |
Annotation [][] annotationsOnExtendedDimensions = extendedDimensions == 0 ? null : type.getAnnotationsOnDimensions(); |
| 4244 |
Annotation [][] annotationsOnAllDimensions = null; |
| 4245 |
if (annotationsOnFirstDimensions != null || annotationsOnExtendedDimensions != null || varArgsAnnotations != null) { |
| 4246 |
annotationsOnAllDimensions = getMergedAnnotationsOnDimensions(firstDimensions, annotationsOnFirstDimensions, extendedDimensions, annotationsOnExtendedDimensions); |
| 4247 |
annotationsOnAllDimensions = getMergedAnnotationsOnDimensions(firstDimensions + extendedDimensions, annotationsOnAllDimensions, isVarArgs ? 1 : 0, isVarArgs ? new Annotation[][]{varArgsAnnotations} : null); |
| 4248 |
} |
| 4249 |
type = copyDims(type, typeDimensions, annotationsOnAllDimensions); |
| 4250 |
type.sourceEnd = type.isParameterizedTypeReference() ? this.endStatementPosition : this.endPosition; |
| 4251 |
} |
| 3933 |
if (isVarArgs) { |
4252 |
if (isVarArgs) { |
| 3934 |
type = copyDims(type, typeDimensions + 1); |
|
|
| 3935 |
if (extendedDimensions == 0) { |
4253 |
if (extendedDimensions == 0) { |
| 3936 |
type.sourceEnd = endOfEllipsis; |
4254 |
type.sourceEnd = endOfEllipsis; |
| 3937 |
} |
4255 |
} |
|
Lines 3946-3953
Link Here
|
| 3946 |
type, |
4264 |
type, |
| 3947 |
this.intStack[this.intPtr + 1] & ~ClassFileConstants.AccDeprecated); // modifiers |
4265 |
this.intStack[this.intPtr + 1] & ~ClassFileConstants.AccDeprecated); // modifiers |
| 3948 |
arg.declarationSourceStart = modifierPositions; |
4266 |
arg.declarationSourceStart = modifierPositions; |
|
|
4267 |
arg.bits |= (type.bits & ASTNode.HasTypeAnnotations); |
| 3949 |
// consume annotations |
4268 |
// consume annotations |
| 3950 |
int length; |
|
|
| 3951 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
4269 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 3952 |
System.arraycopy( |
4270 |
System.arraycopy( |
| 3953 |
this.expressionStack, |
4271 |
this.expressionStack, |
|
Lines 3955-3960
Link Here
|
| 3955 |
arg.annotations = new Annotation[length], |
4273 |
arg.annotations = new Annotation[length], |
| 3956 |
0, |
4274 |
0, |
| 3957 |
length); |
4275 |
length); |
|
|
4276 |
arg.bits |= ASTNode.HasTypeAnnotations; |
| 3958 |
RecoveredType currentRecoveryType = this.currentRecoveryType(); |
4277 |
RecoveredType currentRecoveryType = this.currentRecoveryType(); |
| 3959 |
if (currentRecoveryType != null) |
4278 |
if (currentRecoveryType != null) |
| 3960 |
currentRecoveryType.annotationsConsumed(arg.annotations); |
4279 |
currentRecoveryType.annotationsConsumed(arg.annotations); |
|
Lines 3974-3980
Link Here
|
| 3974 |
extendedDimensions > 0) { |
4293 |
extendedDimensions > 0) { |
| 3975 |
problemReporter().illegalExtendedDimensions(arg); |
4294 |
problemReporter().illegalExtendedDimensions(arg); |
| 3976 |
} |
4295 |
} |
|
|
4296 |
} else { |
| 4297 |
// The grammar allows trailing annotations in FormalParameter as in |
| 4298 |
// "int @NonNull[] @Misplaced parameter" in order to allow for constructs such as |
| 4299 |
// "Object @NonNull[] @Correct ... objects" -- we prune these here. |
| 4300 |
if (varArgsAnnotations != null) { |
| 4301 |
problemReporter().misplacedTypeAnnotations(varArgsAnnotations[0], |
| 4302 |
varArgsAnnotations[varArgsAnnotations.length-1]); |
| 4303 |
} |
| 3977 |
} |
4304 |
} |
|
|
4305 |
} |
| 4306 |
protected Annotation[][] getAnnotationsOnDimensions(int dimensionsCount) { |
| 4307 |
Annotation [][] dimensionsAnnotations = null; |
| 4308 |
if (dimensionsCount > 0) { |
| 4309 |
for (int i = 0; i < dimensionsCount; i++) { |
| 4310 |
Annotation [] annotations = null; |
| 4311 |
int length; |
| 4312 |
if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 4313 |
System.arraycopy( |
| 4314 |
this.typeAnnotationStack, |
| 4315 |
(this.typeAnnotationPtr -= length) + 1, |
| 4316 |
annotations = new Annotation[length], |
| 4317 |
0, |
| 4318 |
length); |
| 4319 |
if (dimensionsAnnotations == null) { |
| 4320 |
dimensionsAnnotations = new Annotation[dimensionsCount][]; |
| 4321 |
} |
| 4322 |
dimensionsAnnotations[dimensionsCount - i - 1] = annotations; |
| 4323 |
} |
| 4324 |
} |
| 4325 |
} |
| 4326 |
return dimensionsAnnotations; |
| 3978 |
} |
4327 |
} |
| 3979 |
protected void consumeFormalParameterList() { |
4328 |
protected void consumeFormalParameterList() { |
| 3980 |
// FormalParameterList ::= FormalParameterList ',' FormalParameter |
4329 |
// FormalParameterList ::= FormalParameterList ',' FormalParameter |
|
Lines 4036-4041
Link Here
|
| 4036 |
} |
4385 |
} |
| 4037 |
protected void consumeInsideCastExpressionWithQualifiedGenerics() { |
4386 |
protected void consumeInsideCastExpressionWithQualifiedGenerics() { |
| 4038 |
// InsideCastExpressionWithQualifiedGenerics ::= $empty |
4387 |
// InsideCastExpressionWithQualifiedGenerics ::= $empty |
|
|
4388 |
} |
| 4389 |
protected void consumeInsideCastExpressionWithAnnotatedQualifiedGenerics() { |
| 4390 |
// InsideCastExpressionWithAnnotatedQualifiedGenerics ::= $empty |
| 4039 |
} |
4391 |
} |
| 4040 |
protected void consumeInstanceOfExpression() { |
4392 |
protected void consumeInstanceOfExpression() { |
| 4041 |
// RelationalExpression ::= RelationalExpression 'instanceof' ReferenceType |
4393 |
// RelationalExpression ::= RelationalExpression 'instanceof' ReferenceType |
|
Lines 4133-4140
Link Here
|
| 4133 |
typeDecl.superInterfaces = new TypeReference[length], |
4485 |
typeDecl.superInterfaces = new TypeReference[length], |
| 4134 |
0, |
4486 |
0, |
| 4135 |
length); |
4487 |
length); |
| 4136 |
for (int i = 0, max = typeDecl.superInterfaces.length; i < max; i++) { |
4488 |
TypeReference[] superinterfaces = typeDecl.superInterfaces; |
| 4137 |
typeDecl.superInterfaces[i].bits |= ASTNode.IsSuperType; |
4489 |
for (int i = 0, max = superinterfaces.length; i < max; i++) { |
|
|
4490 |
TypeReference typeReference = superinterfaces[i]; |
| 4491 |
typeDecl.bits |= (typeReference.bits & ASTNode.HasTypeAnnotations); |
| 4492 |
typeReference.bits |= ASTNode.IsSuperType; |
| 4138 |
} |
4493 |
} |
| 4139 |
typeDecl.bodyStart = typeDecl.superInterfaces[length-1].sourceEnd + 1; |
4494 |
typeDecl.bodyStart = typeDecl.superInterfaces[length-1].sourceEnd + 1; |
| 4140 |
this.listLength = 0; // reset after having read super-interfaces |
4495 |
this.listLength = 0; // reset after having read super-interfaces |
|
Lines 4494-4501
Link Here
|
| 4494 |
if (isNotAbstract) { |
4849 |
if (isNotAbstract) { |
| 4495 |
//statements |
4850 |
//statements |
| 4496 |
explicitDeclarations = this.realBlockStack[this.realBlockPtr--]; |
4851 |
explicitDeclarations = this.realBlockStack[this.realBlockPtr--]; |
| 4497 |
if (!this.options.ignoreMethodBodies) { |
4852 |
if ((length = this.astLengthStack[this.astLengthPtr--]) != 0) { |
| 4498 |
if ((length = this.astLengthStack[this.astLengthPtr--]) != 0) { |
4853 |
if (this.options.ignoreMethodBodies) { |
|
|
4854 |
this.astPtr -= length; |
| 4855 |
} else { |
| 4499 |
System.arraycopy( |
4856 |
System.arraycopy( |
| 4500 |
this.astStack, |
4857 |
this.astStack, |
| 4501 |
(this.astPtr -= length) + 1, |
4858 |
(this.astPtr -= length) + 1, |
|
Lines 4503-4511
Link Here
|
| 4503 |
0, |
4860 |
0, |
| 4504 |
length); |
4861 |
length); |
| 4505 |
} |
4862 |
} |
| 4506 |
} else { |
|
|
| 4507 |
length = this.astLengthStack[this.astLengthPtr--]; |
| 4508 |
this.astPtr -= length; |
| 4509 |
} |
4863 |
} |
| 4510 |
} |
4864 |
} |
| 4511 |
|
4865 |
|
|
Lines 4590-4595
Link Here
|
| 4590 |
// MethodHeaderExtendedDims ::= Dimsopt |
4944 |
// MethodHeaderExtendedDims ::= Dimsopt |
| 4591 |
// now we update the returnType of the method |
4945 |
// now we update the returnType of the method |
| 4592 |
MethodDeclaration md = (MethodDeclaration) this.astStack[this.astPtr]; |
4946 |
MethodDeclaration md = (MethodDeclaration) this.astStack[this.astPtr]; |
|
|
4947 |
// jsr308 -- consume receiver annotations |
| 4948 |
md.receiverAnnotations = null; |
| 4949 |
int length; |
| 4950 |
if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 4951 |
System.arraycopy( |
| 4952 |
this.typeAnnotationStack, |
| 4953 |
(this.typeAnnotationPtr -= length) + 1, |
| 4954 |
md.receiverAnnotations = new Annotation[length], |
| 4955 |
0, |
| 4956 |
length); |
| 4957 |
md.bits |= ASTNode.HasTypeAnnotations; |
| 4958 |
} |
| 4593 |
int extendedDims = this.intStack[this.intPtr--]; |
4959 |
int extendedDims = this.intStack[this.intPtr--]; |
| 4594 |
if(md.isAnnotationMethod()) { |
4960 |
if(md.isAnnotationMethod()) { |
| 4595 |
((AnnotationMethodDeclaration)md).extendedDimensions = extendedDims; |
4961 |
((AnnotationMethodDeclaration)md).extendedDimensions = extendedDims; |
|
Lines 4598-4604
Link Here
|
| 4598 |
TypeReference returnType = md.returnType; |
4964 |
TypeReference returnType = md.returnType; |
| 4599 |
md.sourceEnd = this.endPosition; |
4965 |
md.sourceEnd = this.endPosition; |
| 4600 |
int dims = returnType.dimensions() + extendedDims; |
4966 |
int dims = returnType.dimensions() + extendedDims; |
| 4601 |
md.returnType = copyDims(returnType, dims); |
4967 |
Annotation [][] annotationsOnDimensions = returnType.getAnnotationsOnDimensions(); |
|
|
4968 |
Annotation [][] annotationsOnExtendedDimensions = getAnnotationsOnDimensions(extendedDims); |
| 4969 |
Annotation [][] annotationsOnAllDimensions = null; |
| 4970 |
if (annotationsOnDimensions != null || annotationsOnExtendedDimensions != null) { |
| 4971 |
annotationsOnAllDimensions = getMergedAnnotationsOnDimensions(returnType.dimensions(), annotationsOnDimensions, extendedDims, annotationsOnExtendedDimensions); |
| 4972 |
} |
| 4973 |
md.returnType = copyDims(returnType, dims, annotationsOnAllDimensions); |
| 4602 |
if (this.currentToken == TokenNameLBRACE){ |
4974 |
if (this.currentToken == TokenNameLBRACE){ |
| 4603 |
md.bodyStart = this.endPosition + 1; |
4975 |
md.bodyStart = this.endPosition + 1; |
| 4604 |
} |
4976 |
} |
|
Lines 4682-4688
Link Here
|
| 4682 |
long selectorSource = this.identifierPositionStack[this.identifierPtr--]; |
5054 |
long selectorSource = this.identifierPositionStack[this.identifierPtr--]; |
| 4683 |
this.identifierLengthPtr--; |
5055 |
this.identifierLengthPtr--; |
| 4684 |
//type |
5056 |
//type |
| 4685 |
md.returnType = getTypeReference(this.intStack[this.intPtr--]); |
5057 |
TypeReference returnType = getTypeReference(this.intStack[this.intPtr--]); |
|
|
5058 |
md.returnType = returnType; |
| 5059 |
md.bits |= (returnType.bits & ASTNode.HasTypeAnnotations); |
| 4686 |
|
5060 |
|
| 4687 |
// consume type parameters |
5061 |
// consume type parameters |
| 4688 |
int length = this.genericsLengthStack[this.genericsLengthPtr--]; |
5062 |
int length = this.genericsLengthStack[this.genericsLengthPtr--]; |
|
Lines 4908-4913
Link Here
|
| 4908 |
// Resources ::= Resources ';' Resource |
5282 |
// Resources ::= Resources ';' Resource |
| 4909 |
concatNodeLists(); |
5283 |
concatNodeLists(); |
| 4910 |
} |
5284 |
} |
|
|
5285 |
protected void consumeOneMoreTypeAnnotation() { |
| 5286 |
// OneOrMoreAnnotations ::= OneOrMoreAnnotations Annotation |
| 5287 |
this.expressionLengthPtr --; |
| 5288 |
Annotation annotation = (Annotation) this.expressionStack[this.expressionPtr--]; |
| 5289 |
pushOnTypeAnnotationStack(annotation); |
| 5290 |
this.typeAnnotationLengthStack[--this.typeAnnotationLengthPtr]++; |
| 5291 |
if(!this.statementRecoveryActivated && |
| 5292 |
this.options.sourceLevel < ClassFileConstants.JDK1_7 && |
| 5293 |
this.lastErrorEndPositionBeforeRecovery < this.scanner.currentPosition) { |
| 5294 |
problemReporter().invalidUsageOfTypeAnnotations(annotation); |
| 5295 |
} |
| 5296 |
} |
| 5297 |
protected void consumePotentialNameArrayType () { |
| 5298 |
|
| 5299 |
// FormalParameter ::= Modifiersopt Name DimsoptAnnotsopt PotentialNameArray VariableDeclaratorId |
| 5300 |
// FormalParameter ::= Modifiersopt Name DimsoptAnnotsopt PotentialNameArray '...' VariableDeclaratorId |
| 5301 |
// PotentialNameArray -> $empty |
| 5302 |
// Dimensions including lack of have been pushed appropriately by action attached to DimsoptAnnotsopt |
| 5303 |
pushOnGenericsLengthStack(0); // handle type arguments |
| 5304 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5305 |
} |
| 5306 |
|
| 4911 |
protected void consumeNameArrayType() { |
5307 |
protected void consumeNameArrayType() { |
| 4912 |
pushOnGenericsLengthStack(0); // handle type arguments |
5308 |
pushOnGenericsLengthStack(0); // handle type arguments |
| 4913 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
5309 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
|
Lines 4971-4979
Link Here
|
| 4971 |
} |
5367 |
} |
| 4972 |
this.recordStringLiterals = true; |
5368 |
this.recordStringLiterals = true; |
| 4973 |
} |
5369 |
} |
| 4974 |
protected void consumeOneDimLoop() { |
5370 |
protected void consumeOneDimLoop(boolean expressionStackMayHaveAnnotations) { |
| 4975 |
// OneDimLoop ::= '[' ']' |
5371 |
// OneDimLoop ::= '[' ']' |
|
|
5372 |
// OneDimOrAnnot -> '[' ']' |
| 4976 |
this.dimensions++; |
5373 |
this.dimensions++; |
|
|
5374 |
if (!expressionStackMayHaveAnnotations || this.unattachedAnnotationPtr == -1 ) { |
| 5375 |
pushOnTypeAnnotationLengthStack(0); // no annotations for the current dimension. |
| 5376 |
} else { |
| 5377 |
this.unattachedAnnotationPtr = -1; // Leave type annotation stacks they are. |
| 5378 |
} |
| 5379 |
} |
| 5380 |
protected void consumeOneDimLoopWithAnnotations() { |
| 5381 |
// OneDimLoop ::= OneOrMoreAnnotations '[' ']' |
| 5382 |
this.dimensions++; |
| 5383 |
// Top of expression stack contains annotations of length specified |
| 5384 |
// by top of expression length stack that apply to this dimension. |
| 4977 |
} |
5385 |
} |
| 4978 |
protected void consumeOnlySynchronized() { |
5386 |
protected void consumeOnlySynchronized() { |
| 4979 |
// OnlySynchronized ::= 'synchronized' |
5387 |
// OnlySynchronized ::= 'synchronized' |
|
Lines 5143-5149
Link Here
|
| 5143 |
pushOnGenericsLengthStack(0); |
5551 |
pushOnGenericsLengthStack(0); |
| 5144 |
|
5552 |
|
| 5145 |
pushOnExpressionStack( |
5553 |
pushOnExpressionStack( |
| 5146 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getTypeReference(this.intStack[this.intPtr--]))); |
5554 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getUnannotatedTypeReference(this.intStack[this.intPtr--]))); |
|
|
5555 |
} |
| 5556 |
protected void consumePrimaryNoNewArrayArrayTypeWithTypeAnnotations() { |
| 5557 |
// PrimaryNoNewArray ::= Modifiers Name Dims '.' 'class' |
| 5558 |
this.intPtr--; // remove the class start position |
| 5559 |
|
| 5560 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5561 |
pushOnGenericsLengthStack(0); |
| 5562 |
|
| 5563 |
int classTokenSourceEnd = this.intStack[this.intPtr--]; |
| 5564 |
TypeReference typeReference = getUnannotatedTypeReference(this.intStack[this.intPtr--]); |
| 5565 |
int length; |
| 5566 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 5567 |
System.arraycopy( |
| 5568 |
this.expressionStack, |
| 5569 |
(this.expressionPtr -= length) + 1, |
| 5570 |
typeReference.annotations = new Annotation[length], |
| 5571 |
0, |
| 5572 |
length); |
| 5573 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 5574 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 5575 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 5576 |
} |
| 5577 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 5578 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 5579 |
} |
| 5580 |
pushOnExpressionStack(new ClassLiteralAccess(classTokenSourceEnd, typeReference)); |
| 5581 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 5582 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 5583 |
} |
| 5584 |
resetModifiers(); |
| 5147 |
} |
5585 |
} |
| 5148 |
protected void consumePrimaryNoNewArrayName() { |
5586 |
protected void consumePrimaryNoNewArrayName() { |
| 5149 |
// PrimaryNoNewArray ::= Name '.' 'class' |
5587 |
// PrimaryNoNewArray ::= Name '.' 'class' |
|
Lines 5152-5167
Link Here
|
| 5152 |
// handle type arguments |
5590 |
// handle type arguments |
| 5153 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
5591 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5154 |
pushOnGenericsLengthStack(0); |
5592 |
pushOnGenericsLengthStack(0); |
| 5155 |
TypeReference typeReference = getTypeReference(0); |
5593 |
TypeReference typeReference = getUnannotatedTypeReference(0); // TODO (Srikanth) needs fix |
| 5156 |
|
5594 |
|
| 5157 |
pushOnExpressionStack( |
5595 |
pushOnExpressionStack( |
| 5158 |
new ClassLiteralAccess(this.intStack[this.intPtr--], typeReference)); |
5596 |
new ClassLiteralAccess(this.intStack[this.intPtr--], typeReference)); |
|
|
5597 |
} |
| 5598 |
protected void consumePrimaryNoNewArrayNameWithTypeAnnotations() { |
| 5599 |
// PrimaryNoNewArray ::= Modifiers Name '.' 'class' |
| 5600 |
this.intPtr--; // remove the class start position |
| 5601 |
|
| 5602 |
// handle type arguments |
| 5603 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5604 |
pushOnGenericsLengthStack(0); |
| 5605 |
TypeReference typeReference = getUnannotatedTypeReference(0); // TODO (Srikanth) needs fix |
| 5606 |
int length; |
| 5607 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 5608 |
System.arraycopy( |
| 5609 |
this.expressionStack, |
| 5610 |
(this.expressionPtr -= length) + 1, |
| 5611 |
typeReference.annotations = new Annotation[length], |
| 5612 |
0, |
| 5613 |
length); |
| 5614 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 5615 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 5616 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 5617 |
} |
| 5618 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 5619 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 5620 |
} |
| 5621 |
|
| 5622 |
pushOnExpressionStack(new ClassLiteralAccess(this.intStack[this.intPtr--], typeReference)); |
| 5623 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 5624 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 5625 |
} |
| 5626 |
resetModifiers(); |
| 5159 |
} |
5627 |
} |
| 5160 |
protected void consumePrimaryNoNewArrayNameSuper() { |
5628 |
protected void consumePrimaryNoNewArrayNameSuper() { |
| 5161 |
// PrimaryNoNewArray ::= Name '.' 'super' |
5629 |
// PrimaryNoNewArray ::= Name '.' 'super' |
| 5162 |
// handle type arguments |
5630 |
// handle type arguments |
| 5163 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
5631 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5164 |
pushOnGenericsLengthStack(0); |
5632 |
pushOnGenericsLengthStack(0); |
|
|
5633 |
pushOnTypeAnnotationLengthStack(0); // javac complains on annotations here. |
| 5165 |
TypeReference typeReference = getTypeReference(0); |
5634 |
TypeReference typeReference = getTypeReference(0); |
| 5166 |
|
5635 |
|
| 5167 |
pushOnExpressionStack( |
5636 |
pushOnExpressionStack( |
|
Lines 5175-5181
Link Here
|
| 5175 |
// handle type arguments |
5644 |
// handle type arguments |
| 5176 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
5645 |
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]); |
| 5177 |
pushOnGenericsLengthStack(0); // handle type arguments |
5646 |
pushOnGenericsLengthStack(0); // handle type arguments |
| 5178 |
|
5647 |
pushOnTypeAnnotationLengthStack(0); // javac complains on annotations here. |
| 5179 |
TypeReference typeReference = getTypeReference(0); |
5648 |
TypeReference typeReference = getTypeReference(0); |
| 5180 |
|
5649 |
|
| 5181 |
pushOnExpressionStack( |
5650 |
pushOnExpressionStack( |
|
Lines 5188-5200
Link Here
|
| 5188 |
// PrimaryNoNewArray ::= PrimitiveType Dims '.' 'class' |
5657 |
// PrimaryNoNewArray ::= PrimitiveType Dims '.' 'class' |
| 5189 |
this.intPtr--; // remove the class start position |
5658 |
this.intPtr--; // remove the class start position |
| 5190 |
pushOnExpressionStack( |
5659 |
pushOnExpressionStack( |
| 5191 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getTypeReference(this.intStack[this.intPtr--]))); |
5660 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getUnannotatedTypeReference(this.intStack[this.intPtr--]))); |
|
|
5661 |
} |
| 5662 |
protected void consumePrimaryNoNewArrayPrimitiveArrayTypeWithTypeAnnotations() { |
| 5663 |
// PrimaryNoNewArray ::= Modifiers PrimitiveType Dims '.' 'class' |
| 5664 |
this.intPtr--; // remove the class start position |
| 5665 |
int classTokeSourceEnd = this.intStack[this.intPtr--]; |
| 5666 |
TypeReference typeReference = getUnannotatedTypeReference(this.intStack[this.intPtr--]); |
| 5667 |
int length; |
| 5668 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 5669 |
System.arraycopy( |
| 5670 |
this.expressionStack, |
| 5671 |
(this.expressionPtr -= length) + 1, |
| 5672 |
typeReference.annotations = new Annotation[length], |
| 5673 |
0, |
| 5674 |
length); |
| 5675 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 5676 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 5677 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 5678 |
} |
| 5679 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 5680 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 5681 |
} |
| 5682 |
pushOnExpressionStack(new ClassLiteralAccess(classTokeSourceEnd, typeReference)); |
| 5683 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 5684 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 5685 |
} |
| 5686 |
resetModifiers(); |
| 5192 |
} |
5687 |
} |
| 5193 |
protected void consumePrimaryNoNewArrayPrimitiveType() { |
5688 |
protected void consumePrimaryNoNewArrayPrimitiveType() { |
| 5194 |
// PrimaryNoNewArray ::= PrimitiveType '.' 'class' |
5689 |
// PrimaryNoNewArray ::= PrimitiveType '.' 'class' |
| 5195 |
this.intPtr--; // remove the class start position |
5690 |
this.intPtr--; // remove the class start position |
| 5196 |
pushOnExpressionStack( |
5691 |
pushOnExpressionStack( |
| 5197 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getTypeReference(0))); |
5692 |
new ClassLiteralAccess(this.intStack[this.intPtr--], getUnannotatedTypeReference(0))); |
|
|
5693 |
} |
| 5694 |
protected void consumePrimaryNoNewArrayPrimitiveTypeWithTypeAnnotations() { |
| 5695 |
// PrimaryNoNewArray ::= Modifiers PrimitiveType '.' 'class' |
| 5696 |
this.intPtr--; // remove the class start position |
| 5697 |
int classTokenSourceEnd = this.intStack[this.intPtr--]; |
| 5698 |
TypeReference typeReference = getUnannotatedTypeReference(0); |
| 5699 |
int length; |
| 5700 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 5701 |
System.arraycopy( |
| 5702 |
this.expressionStack, |
| 5703 |
(this.expressionPtr -= length) + 1, |
| 5704 |
typeReference.annotations = new Annotation[length], |
| 5705 |
0, |
| 5706 |
length); |
| 5707 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 5708 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 5709 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 5710 |
} |
| 5711 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 5712 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 5713 |
} |
| 5714 |
pushOnExpressionStack(new ClassLiteralAccess(classTokenSourceEnd, typeReference)); |
| 5715 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 5716 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 5717 |
} |
| 5718 |
resetModifiers(); |
| 5198 |
} |
5719 |
} |
| 5199 |
protected void consumePrimaryNoNewArrayThis() { |
5720 |
protected void consumePrimaryNoNewArrayThis() { |
| 5200 |
// PrimaryNoNewArray ::= 'this' |
5721 |
// PrimaryNoNewArray ::= 'this' |
|
Lines 5325-7136
Link Here
|
| 5325 |
// PushRPAREN ::= ')' |
5846 |
// PushRPAREN ::= ')' |
| 5326 |
pushOnIntStack(this.rParenPos); |
5847 |
pushOnIntStack(this.rParenPos); |
| 5327 |
} |
5848 |
} |
|
|
5849 |
protected void consumeUnannotatedType() { |
| 5850 |
/* We go through some song & dance here to get the type annotations stacks |
| 5851 |
to reflect the fact that this type was unannotated. Using a dummy non-terminal |
| 5852 |
with an empty rhs leads to conflicts in many places :-( |
| 5853 |
*/ |
| 5854 |
pushOnTypeAnnotationLengthStack(0); // either done or else made room. |
| 5855 |
int dims = this.intStack[this.intPtr]; |
| 5856 |
if (dims != 0) { |
| 5857 |
System.arraycopy( |
| 5858 |
this.typeAnnotationLengthStack, |
| 5859 |
this.typeAnnotationLengthPtr - dims, |
| 5860 |
this.typeAnnotationLengthStack, |
| 5861 |
this.typeAnnotationLengthPtr - dims + 1, |
| 5862 |
dims); |
| 5863 |
this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr - dims] = 0; // tag type as unannotated |
| 5864 |
} |
| 5865 |
} |
| 5866 |
protected void consumeAnnotatedType() { |
| 5867 |
/* We go through some song & dance here to get the type annotations stacks |
| 5868 |
to reflect the fact that this type was unannotated. Using a dummy non-terminal |
| 5869 |
with an empty rhs leads to conflicts in many places :-( |
| 5870 |
*/ |
| 5871 |
int dims = this.intStack[this.intPtr]; |
| 5872 |
if (dims != 0) { |
| 5873 |
int counter = 0; |
| 5874 |
for (int i = 0; i < dims; i++) { |
| 5875 |
// we count existing dimensions with annotations |
| 5876 |
counter += this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr - dims + 1 + i]; |
| 5877 |
} |
| 5878 |
System.arraycopy( |
| 5879 |
this.typeAnnotationLengthStack, |
| 5880 |
this.typeAnnotationLengthPtr - dims + 1, |
| 5881 |
this.typeAnnotationLengthStack, |
| 5882 |
this.typeAnnotationLengthPtr - dims + 2, |
| 5883 |
dims); |
| 5884 |
int length = this.expressionLengthStack[this.expressionLengthPtr--]; |
| 5885 |
this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr - dims + 1] = length; |
| 5886 |
int typeAnnotationStackLength = this.typeAnnotationStack.length; |
| 5887 |
if (this.typeAnnotationPtr + counter + length >= typeAnnotationStackLength) { |
| 5888 |
System.arraycopy( |
| 5889 |
this.typeAnnotationStack, |
| 5890 |
0, |
| 5891 |
this.typeAnnotationStack = new Annotation[typeAnnotationStackLength + TypeAnnotationStackIncrement], |
| 5892 |
0, |
| 5893 |
typeAnnotationStackLength); |
| 5894 |
} |
| 5895 |
System.arraycopy( |
| 5896 |
this.typeAnnotationStack, |
| 5897 |
this.typeAnnotationPtr - counter + 1, |
| 5898 |
this.typeAnnotationStack, |
| 5899 |
this.typeAnnotationPtr - counter + 1 + length, |
| 5900 |
counter); |
| 5901 |
System.arraycopy( |
| 5902 |
this.expressionStack, |
| 5903 |
(this.expressionPtr -= length) + 1, |
| 5904 |
this.typeAnnotationStack, |
| 5905 |
this.typeAnnotationPtr - counter + 1, |
| 5906 |
length); |
| 5907 |
this.typeAnnotationPtr += length; |
| 5908 |
this.typeAnnotationLengthPtr++; |
| 5909 |
} else { |
| 5910 |
int length = this.expressionLengthStack[this.expressionLengthPtr--]; |
| 5911 |
int typeAnnotationStackLength = this.typeAnnotationStack.length; |
| 5912 |
if (this.typeAnnotationPtr + length >= typeAnnotationStackLength) { |
| 5913 |
System.arraycopy( |
| 5914 |
this.typeAnnotationStack, |
| 5915 |
0, |
| 5916 |
this.typeAnnotationStack = new Annotation[typeAnnotationStackLength + TypeAnnotationStackIncrement], |
| 5917 |
0, |
| 5918 |
typeAnnotationStackLength); |
| 5919 |
} |
| 5920 |
System.arraycopy( |
| 5921 |
this.expressionStack, |
| 5922 |
(this.expressionPtr -= length) + 1, |
| 5923 |
this.typeAnnotationStack, |
| 5924 |
this.typeAnnotationPtr + 1, |
| 5925 |
length); |
| 5926 |
this.typeAnnotationPtr += length; |
| 5927 |
pushOnTypeAnnotationLengthStack(length); |
| 5928 |
} |
| 5929 |
// if (this.modifiers != ClassFileConstants.AccDefault) { |
| 5930 |
// problemReporter().invalidLocationForModifiers(typeReference); |
| 5931 |
// } |
| 5932 |
// resetModifiers(); |
| 5933 |
} |
| 5934 |
protected void consumeTypeAnnotation (boolean markAsUnattached) { |
| 5935 |
if(!this.statementRecoveryActivated && |
| 5936 |
this.options.sourceLevel < ClassFileConstants.JDK1_7 && |
| 5937 |
this.lastErrorEndPositionBeforeRecovery < this.scanner.currentPosition) { |
| 5938 |
problemReporter().invalidUsageOfTypeAnnotations((Annotation) this.expressionStack[this.expressionPtr]); |
| 5939 |
} |
| 5940 |
this.expressionLengthPtr --; |
| 5941 |
Annotation annotation = (Annotation) this.expressionStack[this.expressionPtr--]; |
| 5942 |
pushOnTypeAnnotationStack(annotation); |
| 5943 |
if (markAsUnattached) { |
| 5944 |
if (this.unattachedAnnotationPtr == -1) { |
| 5945 |
this.unattachedAnnotationPtr = this.typeAnnotationPtr; |
| 5946 |
} else { |
| 5947 |
this.typeAnnotationLengthStack[--this.typeAnnotationLengthPtr]++; |
| 5948 |
} |
| 5949 |
} |
| 5950 |
} |
| 5951 |
protected void consumeDimsWithTrailingAnnotsopt() { |
| 5952 |
// DimsoptAnnotsopt -> DimsAnnotLoop |
| 5953 |
pushOnIntStack(this.dimensions); |
| 5954 |
this.dimensions = 0; |
| 5955 |
if (this.unattachedAnnotationPtr == -1) { |
| 5956 |
pushOnTypeAnnotationLengthStack(0); // no trailing annotations (receiver/vararg) |
| 5957 |
} else { |
| 5958 |
this.unattachedAnnotationPtr = -1; // reset this and leave the annotation stacks as they are. |
| 5959 |
} |
| 5960 |
} |
| 5961 |
protected void consumeZeroTypeAnnotations(boolean shouldPush) { |
| 5962 |
if (shouldPush) { |
| 5963 |
pushOnTypeAnnotationLengthStack(0); |
| 5964 |
} else { |
| 5965 |
this.typeAnnotationLengthPtr --; // pop the 0 from the length stack |
| 5966 |
} |
| 5967 |
} |
| 5968 |
protected void consumeEmptyDimsoptAnnotsopt() { |
| 5969 |
// DimsoptAnnotsopt ::= $empty |
| 5970 |
pushOnIntStack(0); // signal a non array |
| 5971 |
pushOnTypeAnnotationLengthStack(0); // no trailing annotations (receiver/vararg) |
| 5972 |
} |
| 5973 |
protected void consumeRightParenForUnannotatedTypeCast() { |
| 5974 |
consumeUnannotatedType(); |
| 5975 |
// PushRPAREN ::= ')' |
| 5976 |
pushOnIntStack(this.rParenPos); |
| 5977 |
} |
| 5978 |
protected void consumeRightParenForNameUnannotatedTypeCast() { |
| 5979 |
pushOnIntStack(0); // signal a non array |
| 5980 |
consumeUnannotatedType(); |
| 5981 |
// remove the fake dimension |
| 5982 |
this.intPtr--; |
| 5983 |
// PushRPAREN ::= ')' |
| 5984 |
pushOnIntStack(this.rParenPos); |
| 5985 |
} |
| 5986 |
protected void consumeRightParenForAnnotatedTypeCast() { |
| 5987 |
consumeUnannotatedType(); |
| 5988 |
// PushRPAREN ::= ')' |
| 5989 |
pushOnIntStack(this.rParenPos); |
| 5990 |
} |
| 5991 |
protected void consumeRightParenForNameAndAnnotatedTypeCast() { |
| 5992 |
// push a zero for dimensions |
| 5993 |
pushOnIntStack(0); |
| 5994 |
consumeUnannotatedType(); |
| 5995 |
// remove the fake dimension |
| 5996 |
this.intPtr--; |
| 5997 |
// PushRPAREN ::= ')' |
| 5998 |
pushOnIntStack(this.rParenPos); |
| 5999 |
} |
| 5328 |
// This method is part of an automatic generation : do NOT edit-modify |
6000 |
// This method is part of an automatic generation : do NOT edit-modify |
| 5329 |
protected void consumeRule(int act) { |
6001 |
protected void consumeRule(int act) { |
| 5330 |
switch ( act ) { |
6002 |
switch ( act ) { |
| 5331 |
case 30 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ |
6003 |
case 32 : if (DEBUG) { System.out.println("Type ::= TypeInternal"); } //$NON-NLS-1$ |
|
|
6004 |
consumeUnannotatedType(); |
| 6005 |
break; |
| 6006 |
|
| 6007 |
case 34 : if (DEBUG) { System.out.println("Type0 ::= TypeInternal"); } //$NON-NLS-1$ |
| 6008 |
consumeUnannotatedType(); |
| 6009 |
break; |
| 6010 |
|
| 6011 |
case 35 : if (DEBUG) { System.out.println("TypeInternal ::= PrimitiveType"); } //$NON-NLS-1$ |
| 5332 |
consumePrimitiveType(); |
6012 |
consumePrimitiveType(); |
| 5333 |
break; |
6013 |
break; |
| 5334 |
|
6014 |
|
| 5335 |
case 44 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ |
6015 |
case 49 : if (DEBUG) { System.out.println("ReferenceType ::= ReferenceType0"); } //$NON-NLS-1$ |
| 5336 |
consumeReferenceType(); |
6016 |
consumeUnannotatedType(); |
| 5337 |
break; |
6017 |
break; |
| 5338 |
|
6018 |
|
| 5339 |
case 48 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ |
6019 |
case 50 : if (DEBUG) { System.out.println("ReferenceType ::= Modifiers ReferenceType0"); } //$NON-NLS-1$ |
| 5340 |
consumeClassOrInterfaceName(); |
6020 |
consumeAnnotatedType(); |
| 5341 |
break; |
6021 |
break; |
| 5342 |
|
6022 |
|
| 5343 |
case 49 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ |
6023 |
case 51 : if (DEBUG) { System.out.println("ReferenceType0 ::= ClassOrInterfaceType0"); } //$NON-NLS-1$ |
| 5344 |
consumeClassOrInterface(); |
6024 |
consumeReferenceType(); |
| 5345 |
break; |
6025 |
break; |
| 5346 |
|
6026 |
|
| 5347 |
case 50 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ |
6027 |
case 53 : if (DEBUG) { System.out.println("Annotationsopt ::="); } //$NON-NLS-1$ |
| 5348 |
consumeGenericType(); |
6028 |
consumeZeroTypeAnnotations(true); |
| 5349 |
break; |
6029 |
break; |
| 5350 |
|
6030 |
|
| 5351 |
case 51 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface LESS GREATER"); } //$NON-NLS-1$ |
6031 |
case 58 : if (DEBUG) { System.out.println("ClassOrInterface ::= ClassOrInterface0"); } //$NON-NLS-1$ |
|
|
6032 |
consumeZeroTypeAnnotations(true); |
| 6033 |
break; |
| 6034 |
|
| 6035 |
case 59 : if (DEBUG) { System.out.println("ClassOrInterface0 ::= Name"); } //$NON-NLS-1$ |
| 6036 |
consumeClassOrInterfaceName(); |
| 6037 |
break; |
| 6038 |
|
| 6039 |
case 61 : if (DEBUG) { System.out.println("PopZeroTypeAnnotations ::="); } //$NON-NLS-1$ |
| 6040 |
consumeZeroTypeAnnotations(false); |
| 6041 |
break; |
| 6042 |
|
| 6043 |
case 62 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments..."); } //$NON-NLS-1$ |
| 6044 |
consumeGenericType(); |
| 6045 |
break; |
| 6046 |
|
| 6047 |
case 63 : if (DEBUG) { System.out.println("GenericTypeDotName ::= GenericType DOT Name"); } //$NON-NLS-1$ |
| 6048 |
consumeClassOrInterface(); |
| 6049 |
break; |
| 6050 |
|
| 6051 |
case 64 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface LESS GREATER"); } //$NON-NLS-1$ |
| 5352 |
consumeGenericTypeWithDiamond(); |
6052 |
consumeGenericTypeWithDiamond(); |
| 5353 |
break; |
6053 |
break; |
| 5354 |
|
6054 |
|
| 5355 |
case 52 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ |
6055 |
case 66 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ |
| 5356 |
consumeArrayTypeWithTypeArgumentsName(); |
|
|
| 5357 |
break; |
| 5358 |
|
| 5359 |
case 53 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ |
| 5360 |
consumePrimitiveArrayType(); |
6056 |
consumePrimitiveArrayType(); |
| 5361 |
break; |
6057 |
break; |
| 5362 |
|
6058 |
|
| 5363 |
case 54 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ |
6059 |
case 67 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ |
| 5364 |
consumeNameArrayType(); |
6060 |
consumeNameArrayType(); |
| 5365 |
break; |
6061 |
break; |
| 5366 |
|
6062 |
|
| 5367 |
case 55 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ |
6063 |
case 68 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ |
| 5368 |
consumeGenericTypeNameArrayType(); |
6064 |
consumeGenericTypeNameArrayType(); |
| 5369 |
break; |
6065 |
break; |
| 5370 |
|
6066 |
|
| 5371 |
case 56 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ |
6067 |
case 69 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ |
| 5372 |
consumeGenericTypeArrayType(); |
6068 |
consumeGenericTypeArrayType(); |
| 5373 |
break; |
6069 |
break; |
| 5374 |
|
6070 |
|
| 5375 |
case 61 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ |
6071 |
case 74 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ |
| 5376 |
consumeQualifiedName(); |
6072 |
consumeQualifiedName(); |
| 5377 |
break; |
6073 |
break; |
| 5378 |
|
6074 |
|
| 5379 |
case 62 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ |
6075 |
case 75 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ |
| 5380 |
consumeCompilationUnit(); |
6076 |
consumeCompilationUnit(); |
| 5381 |
break; |
6077 |
break; |
| 5382 |
|
6078 |
|
| 5383 |
case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ |
6079 |
case 76 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ |
| 5384 |
consumeInternalCompilationUnit(); |
6080 |
consumeInternalCompilationUnit(); |
| 5385 |
break; |
6081 |
break; |
| 5386 |
|
6082 |
|
| 5387 |
case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
6083 |
case 77 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
| 5388 |
consumeInternalCompilationUnit(); |
6084 |
consumeInternalCompilationUnit(); |
| 5389 |
break; |
6085 |
break; |
| 5390 |
|
6086 |
|
| 5391 |
case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
6087 |
case 78 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
| 5392 |
consumeInternalCompilationUnitWithTypes(); |
6088 |
consumeInternalCompilationUnitWithTypes(); |
| 5393 |
break; |
6089 |
break; |
| 5394 |
|
6090 |
|
| 5395 |
case 66 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
6091 |
case 79 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ |
| 5396 |
consumeInternalCompilationUnitWithTypes(); |
6092 |
consumeInternalCompilationUnitWithTypes(); |
| 5397 |
break; |
6093 |
break; |
| 5398 |
|
6094 |
|
| 5399 |
case 67 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ |
6095 |
case 80 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ |
| 5400 |
consumeInternalCompilationUnit(); |
6096 |
consumeInternalCompilationUnit(); |
| 5401 |
break; |
6097 |
break; |
| 5402 |
|
6098 |
|
| 5403 |
case 68 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ |
6099 |
case 81 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ |
| 5404 |
consumeInternalCompilationUnitWithTypes(); |
6100 |
consumeInternalCompilationUnitWithTypes(); |
| 5405 |
break; |
6101 |
break; |
| 5406 |
|
6102 |
|
| 5407 |
case 69 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ |
6103 |
case 82 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ |
| 5408 |
consumeInternalCompilationUnitWithTypes(); |
6104 |
consumeInternalCompilationUnitWithTypes(); |
| 5409 |
break; |
6105 |
break; |
| 5410 |
|
6106 |
|
| 5411 |
case 70 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ |
6107 |
case 83 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ |
| 5412 |
consumeEmptyInternalCompilationUnit(); |
6108 |
consumeEmptyInternalCompilationUnit(); |
| 5413 |
break; |
6109 |
break; |
| 5414 |
|
6110 |
|
| 5415 |
case 71 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ |
6111 |
case 84 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ |
| 5416 |
consumeReduceImports(); |
6112 |
consumeReduceImports(); |
| 5417 |
break; |
6113 |
break; |
| 5418 |
|
6114 |
|
| 5419 |
case 72 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ |
6115 |
case 85 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ |
| 5420 |
consumeEnterCompilationUnit(); |
6116 |
consumeEnterCompilationUnit(); |
| 5421 |
break; |
6117 |
break; |
| 5422 |
|
6118 |
|
| 5423 |
case 88 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN CatchFormalParameter RPAREN"); } //$NON-NLS-1$ |
6119 |
case 104 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN CatchFormalParameter RPAREN"); } //$NON-NLS-1$ |
| 5424 |
consumeCatchHeader(); |
6120 |
consumeCatchHeader(); |
| 5425 |
break; |
6121 |
break; |
| 5426 |
|
6122 |
|
| 5427 |
case 90 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ |
6123 |
case 106 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ |
| 5428 |
consumeImportDeclarations(); |
6124 |
consumeImportDeclarations(); |
| 5429 |
break; |
6125 |
break; |
| 5430 |
|
6126 |
|
| 5431 |
case 92 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ |
6127 |
case 108 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ |
| 5432 |
consumeTypeDeclarations(); |
6128 |
consumeTypeDeclarations(); |
| 5433 |
break; |
6129 |
break; |
| 5434 |
|
6130 |
|
| 5435 |
case 93 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ |
6131 |
case 109 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ |
| 5436 |
consumePackageDeclaration(); |
6132 |
consumePackageDeclaration(); |
| 5437 |
break; |
6133 |
break; |
| 5438 |
|
6134 |
|
| 5439 |
case 94 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ |
6135 |
case 110 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ |
| 5440 |
consumePackageDeclarationNameWithModifiers(); |
6136 |
consumePackageDeclarationNameWithModifiers(); |
| 5441 |
break; |
6137 |
break; |
| 5442 |
|
6138 |
|
| 5443 |
case 95 : if (DEBUG) { System.out.println("PackageDeclarationName ::= PackageComment package Name"); } //$NON-NLS-1$ |
6139 |
case 111 : if (DEBUG) { System.out.println("PackageDeclarationName ::= PackageComment package Name"); } //$NON-NLS-1$ |
| 5444 |
consumePackageDeclarationName(); |
6140 |
consumePackageDeclarationName(); |
| 5445 |
break; |
6141 |
break; |
| 5446 |
|
6142 |
|
| 5447 |
case 96 : if (DEBUG) { System.out.println("PackageComment ::="); } //$NON-NLS-1$ |
6143 |
case 112 : if (DEBUG) { System.out.println("PackageComment ::="); } //$NON-NLS-1$ |
| 5448 |
consumePackageComment(); |
6144 |
consumePackageComment(); |
| 5449 |
break; |
6145 |
break; |
| 5450 |
|
6146 |
|
| 5451 |
case 101 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ |
6147 |
case 117 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ |
| 5452 |
consumeImportDeclaration(); |
6148 |
consumeImportDeclaration(); |
| 5453 |
break; |
6149 |
break; |
| 5454 |
|
6150 |
|
| 5455 |
case 102 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ |
6151 |
case 118 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ |
| 5456 |
consumeSingleTypeImportDeclarationName(); |
6152 |
consumeSingleTypeImportDeclarationName(); |
| 5457 |
break; |
6153 |
break; |
| 5458 |
|
6154 |
|
| 5459 |
case 103 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ |
6155 |
case 119 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ |
| 5460 |
consumeImportDeclaration(); |
6156 |
consumeImportDeclaration(); |
| 5461 |
break; |
6157 |
break; |
| 5462 |
|
6158 |
|
| 5463 |
case 104 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ |
6159 |
case 120 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ |
| 5464 |
consumeTypeImportOnDemandDeclarationName(); |
6160 |
consumeTypeImportOnDemandDeclarationName(); |
| 5465 |
break; |
6161 |
break; |
| 5466 |
|
6162 |
|
| 5467 |
case 107 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
6163 |
case 123 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
| 5468 |
consumeEmptyTypeDeclaration(); |
6164 |
consumeEmptyTypeDeclaration(); |
| 5469 |
break; |
6165 |
break; |
| 5470 |
|
6166 |
|
| 5471 |
case 111 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ |
6167 |
case 127 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ |
| 5472 |
consumeModifiers2(); |
6168 |
consumeModifiers2(); |
| 5473 |
break; |
6169 |
break; |
| 5474 |
|
6170 |
|
| 5475 |
case 123 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ |
6171 |
case 139 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ |
| 5476 |
consumeAnnotationAsModifier(); |
6172 |
consumeAnnotationAsModifier(); |
| 5477 |
break; |
6173 |
break; |
| 5478 |
|
6174 |
|
| 5479 |
case 124 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ |
6175 |
case 140 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ |
| 5480 |
consumeClassDeclaration(); |
6176 |
consumeClassDeclaration(); |
| 5481 |
break; |
6177 |
break; |
| 5482 |
|
6178 |
|
| 5483 |
case 125 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ |
6179 |
case 141 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ |
| 5484 |
consumeClassHeader(); |
6180 |
consumeClassHeader(); |
| 5485 |
break; |
6181 |
break; |
| 5486 |
|
6182 |
|
| 5487 |
case 126 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ |
6183 |
case 142 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ |
| 5488 |
consumeTypeHeaderNameWithTypeParameters(); |
6184 |
consumeTypeHeaderNameWithTypeParameters(); |
| 5489 |
break; |
6185 |
break; |
| 5490 |
|
6186 |
|
| 5491 |
case 128 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ |
6187 |
case 144 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ |
| 5492 |
consumeClassHeaderName1(); |
6188 |
consumeClassHeaderName1(); |
| 5493 |
break; |
6189 |
break; |
| 5494 |
|
6190 |
|
| 5495 |
case 129 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ |
6191 |
case 145 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ |
| 5496 |
consumeClassHeaderExtends(); |
6192 |
consumeClassHeaderExtends(); |
| 5497 |
break; |
6193 |
break; |
| 5498 |
|
6194 |
|
| 5499 |
case 130 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ |
6195 |
case 146 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ |
| 5500 |
consumeClassHeaderImplements(); |
6196 |
consumeClassHeaderImplements(); |
| 5501 |
break; |
6197 |
break; |
| 5502 |
|
6198 |
|
| 5503 |
case 132 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ |
6199 |
case 148 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ |
| 5504 |
consumeInterfaceTypeList(); |
6200 |
consumeInterfaceTypeList(); |
| 5505 |
break; |
6201 |
break; |
| 5506 |
|
6202 |
|
| 5507 |
case 133 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ |
6203 |
case 149 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ |
| 5508 |
consumeInterfaceType(); |
6204 |
consumeInterfaceType(); |
| 5509 |
break; |
6205 |
break; |
| 5510 |
|
6206 |
|
| 5511 |
case 136 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ |
6207 |
case 152 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ |
| 5512 |
consumeClassBodyDeclarations(); |
6208 |
consumeClassBodyDeclarations(); |
| 5513 |
break; |
6209 |
break; |
| 5514 |
|
6210 |
|
| 5515 |
case 140 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod..."); } //$NON-NLS-1$ |
6211 |
case 156 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod..."); } //$NON-NLS-1$ |
| 5516 |
consumeClassBodyDeclaration(); |
6212 |
consumeClassBodyDeclaration(); |
| 5517 |
break; |
6213 |
break; |
| 5518 |
|
6214 |
|
| 5519 |
case 141 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ |
6215 |
case 157 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ |
| 5520 |
consumeDiet(); |
6216 |
consumeDiet(); |
| 5521 |
break; |
6217 |
break; |
| 5522 |
|
6218 |
|
| 5523 |
case 142 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod CreateInitializer..."); } //$NON-NLS-1$ |
6219 |
case 158 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod CreateInitializer..."); } //$NON-NLS-1$ |
| 5524 |
consumeClassBodyDeclaration(); |
6220 |
consumeClassBodyDeclaration(); |
| 5525 |
break; |
6221 |
break; |
| 5526 |
|
6222 |
|
| 5527 |
case 143 : if (DEBUG) { System.out.println("CreateInitializer ::="); } //$NON-NLS-1$ |
6223 |
case 159 : if (DEBUG) { System.out.println("CreateInitializer ::="); } //$NON-NLS-1$ |
| 5528 |
consumeCreateInitializer(); |
6224 |
consumeCreateInitializer(); |
| 5529 |
break; |
6225 |
break; |
| 5530 |
|
6226 |
|
| 5531 |
case 150 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
6227 |
case 166 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
| 5532 |
consumeEmptyTypeDeclaration(); |
6228 |
consumeEmptyTypeDeclaration(); |
| 5533 |
break; |
6229 |
break; |
| 5534 |
|
6230 |
|
| 5535 |
case 153 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ |
6231 |
case 169 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type0..."); } //$NON-NLS-1$ |
| 5536 |
consumeFieldDeclaration(); |
6232 |
consumeFieldDeclaration(); |
| 5537 |
break; |
6233 |
break; |
| 5538 |
|
6234 |
|
| 5539 |
case 155 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ |
6235 |
case 171 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ |
| 5540 |
consumeVariableDeclarators(); |
6236 |
consumeVariableDeclarators(); |
| 5541 |
break; |
6237 |
break; |
| 5542 |
|
6238 |
|
| 5543 |
case 158 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ |
6239 |
case 174 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ |
| 5544 |
consumeEnterVariable(); |
6240 |
consumeEnterVariable(); |
| 5545 |
break; |
6241 |
break; |
| 5546 |
|
6242 |
|
| 5547 |
case 159 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ |
6243 |
case 175 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ |
| 5548 |
consumeExitVariableWithInitialization(); |
6244 |
consumeExitVariableWithInitialization(); |
| 5549 |
break; |
6245 |
break; |
| 5550 |
|
6246 |
|
| 5551 |
case 160 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ |
6247 |
case 176 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ |
| 5552 |
consumeExitVariableWithoutInitialization(); |
6248 |
consumeExitVariableWithoutInitialization(); |
| 5553 |
break; |
6249 |
break; |
| 5554 |
|
6250 |
|
| 5555 |
case 161 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ |
6251 |
case 177 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ |
| 5556 |
consumeForceNoDiet(); |
6252 |
consumeForceNoDiet(); |
| 5557 |
break; |
6253 |
break; |
| 5558 |
|
6254 |
|
| 5559 |
case 162 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ |
6255 |
case 178 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ |
| 5560 |
consumeRestoreDiet(); |
6256 |
consumeRestoreDiet(); |
| 5561 |
break; |
6257 |
break; |
| 5562 |
|
6258 |
|
| 5563 |
case 167 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ |
6259 |
case 183 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ |
| 5564 |
// set to true to consume a method with a body |
6260 |
// set to true to consume a method with a body |
| 5565 |
consumeMethodDeclaration(true); |
6261 |
consumeMethodDeclaration(true); |
| 5566 |
break; |
6262 |
break; |
| 5567 |
|
6263 |
|
| 5568 |
case 168 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ |
6264 |
case 184 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ |
| 5569 |
// set to false to consume a method without body |
6265 |
// set to false to consume a method without body |
| 5570 |
consumeMethodDeclaration(false); |
6266 |
consumeMethodDeclaration(false); |
| 5571 |
break; |
6267 |
break; |
| 5572 |
|
6268 |
|
| 5573 |
case 169 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ |
6269 |
case 185 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ |
| 5574 |
consumeMethodHeader(); |
6270 |
consumeMethodHeader(); |
| 5575 |
break; |
6271 |
break; |
| 5576 |
|
6272 |
|
| 5577 |
case 170 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ |
6273 |
case 186 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ |
| 5578 |
consumeMethodHeaderNameWithTypeParameters(false); |
6274 |
consumeMethodHeaderNameWithTypeParameters(false); |
| 5579 |
break; |
6275 |
break; |
| 5580 |
|
6276 |
|
| 5581 |
case 171 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ |
6277 |
case 187 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type0 Identifier..."); } //$NON-NLS-1$ |
| 5582 |
consumeMethodHeaderName(false); |
6278 |
consumeMethodHeaderName(false); |
| 5583 |
break; |
6279 |
break; |
| 5584 |
|
6280 |
|
| 5585 |
case 172 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ |
6281 |
case 188 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ |
| 5586 |
consumeMethodHeaderRightParen(); |
6282 |
consumeMethodHeaderRightParen(); |
| 5587 |
break; |
6283 |
break; |
| 5588 |
|
6284 |
|
| 5589 |
case 173 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ |
6285 |
case 189 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= DimsoptAnnotsopt"); } //$NON-NLS-1$ |
| 5590 |
consumeMethodHeaderExtendedDims(); |
6286 |
consumeMethodHeaderExtendedDims(); |
| 5591 |
break; |
6287 |
break; |
| 5592 |
|
6288 |
|
| 5593 |
case 174 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ |
6289 |
case 190 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ |
| 5594 |
consumeMethodHeaderThrowsClause(); |
6290 |
consumeMethodHeaderThrowsClause(); |
| 5595 |
break; |
6291 |
break; |
| 5596 |
|
6292 |
|
| 5597 |
case 175 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ |
6293 |
case 191 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ |
| 5598 |
consumeConstructorHeader(); |
6294 |
consumeConstructorHeader(); |
| 5599 |
break; |
6295 |
break; |
| 5600 |
|
6296 |
|
| 5601 |
case 176 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ |
6297 |
case 192 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ |
| 5602 |
consumeConstructorHeaderNameWithTypeParameters(); |
6298 |
consumeConstructorHeaderNameWithTypeParameters(); |
| 5603 |
break; |
6299 |
break; |
| 5604 |
|
6300 |
|
| 5605 |
case 177 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ |
6301 |
case 193 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ |
| 5606 |
consumeConstructorHeaderName(); |
6302 |
consumeConstructorHeaderName(); |
| 5607 |
break; |
6303 |
break; |
| 5608 |
|
6304 |
|
| 5609 |
case 179 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ |
6305 |
case 195 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ |
| 5610 |
consumeFormalParameterList(); |
6306 |
consumeFormalParameterList(); |
| 5611 |
break; |
6307 |
break; |
| 5612 |
|
6308 |
|
| 5613 |
case 180 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ |
6309 |
case 196 : if (DEBUG) { System.out.println("PotentialNameArray ::="); } //$NON-NLS-1$ |
|
|
6310 |
consumePotentialNameArrayType(); |
| 6311 |
break; |
| 6312 |
|
| 6313 |
case 197 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt PrimitiveType..."); } //$NON-NLS-1$ |
| 5614 |
consumeFormalParameter(false); |
6314 |
consumeFormalParameter(false); |
| 5615 |
break; |
6315 |
break; |
| 5616 |
|
6316 |
|
| 5617 |
case 181 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ |
6317 |
case 198 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt PrimitiveType..."); } //$NON-NLS-1$ |
| 5618 |
consumeFormalParameter(true); |
6318 |
consumeFormalParameter(true); |
| 5619 |
break; |
6319 |
break; |
| 5620 |
|
6320 |
|
| 5621 |
case 182 : if (DEBUG) { System.out.println("CatchFormalParameter ::= Modifiersopt CatchType..."); } //$NON-NLS-1$ |
6321 |
case 199 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Name DimsoptAnnotsopt"); } //$NON-NLS-1$ |
|
|
6322 |
consumeFormalParameter(false); |
| 6323 |
break; |
| 6324 |
|
| 6325 |
case 200 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Name DimsoptAnnotsopt"); } //$NON-NLS-1$ |
| 6326 |
consumeFormalParameter(true); |
| 6327 |
break; |
| 6328 |
|
| 6329 |
case 201 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt GenericType..."); } //$NON-NLS-1$ |
| 6330 |
consumeFormalParameter(false); |
| 6331 |
break; |
| 6332 |
|
| 6333 |
case 202 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt GenericType..."); } //$NON-NLS-1$ |
| 6334 |
consumeFormalParameter(true); |
| 6335 |
break; |
| 6336 |
|
| 6337 |
case 203 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt GenericTypeDotName..."); } //$NON-NLS-1$ |
| 6338 |
consumeFormalParameter(false); |
| 6339 |
break; |
| 6340 |
|
| 6341 |
case 204 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt GenericTypeDotName..."); } //$NON-NLS-1$ |
| 6342 |
consumeFormalParameter(true); |
| 6343 |
break; |
| 6344 |
|
| 6345 |
case 205 : if (DEBUG) { System.out.println("CatchFormalParameter ::= Modifiersopt CatchType..."); } //$NON-NLS-1$ |
| 5622 |
consumeCatchFormalParameter(); |
6346 |
consumeCatchFormalParameter(); |
| 5623 |
break; |
6347 |
break; |
| 5624 |
|
6348 |
|
| 5625 |
case 183 : if (DEBUG) { System.out.println("CatchType ::= UnionType"); } //$NON-NLS-1$ |
6349 |
case 206 : if (DEBUG) { System.out.println("CatchType ::= UnionType"); } //$NON-NLS-1$ |
| 5626 |
consumeCatchType(); |
6350 |
consumeCatchType(); |
| 5627 |
break; |
6351 |
break; |
| 5628 |
|
6352 |
|
| 5629 |
case 184 : if (DEBUG) { System.out.println("UnionType ::= Type"); } //$NON-NLS-1$ |
6353 |
case 207 : if (DEBUG) { System.out.println("UnionType ::= TypeInternal"); } //$NON-NLS-1$ |
| 5630 |
consumeUnionTypeAsClassType(); |
6354 |
consumeUnionTypeAsClassType(); |
| 5631 |
break; |
6355 |
break; |
| 5632 |
|
6356 |
|
| 5633 |
case 185 : if (DEBUG) { System.out.println("UnionType ::= UnionType OR Type"); } //$NON-NLS-1$ |
6357 |
case 208 : if (DEBUG) { System.out.println("UnionType ::= UnionType OR Type"); } //$NON-NLS-1$ |
| 5634 |
consumeUnionType(); |
6358 |
consumeUnionType(); |
| 5635 |
break; |
6359 |
break; |
| 5636 |
|
6360 |
|
| 5637 |
case 187 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ |
6361 |
case 210 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ |
| 5638 |
consumeClassTypeList(); |
6362 |
consumeClassTypeList(); |
| 5639 |
break; |
6363 |
break; |
| 5640 |
|
6364 |
|
| 5641 |
case 188 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ |
6365 |
case 211 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ |
| 5642 |
consumeClassTypeElt(); |
6366 |
consumeClassTypeElt(); |
| 5643 |
break; |
6367 |
break; |
| 5644 |
|
6368 |
|
| 5645 |
case 189 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ |
6369 |
case 212 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ |
| 5646 |
consumeMethodBody(); |
6370 |
consumeMethodBody(); |
| 5647 |
break; |
6371 |
break; |
| 5648 |
|
6372 |
|
| 5649 |
case 190 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ |
6373 |
case 213 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ |
| 5650 |
consumeNestedMethod(); |
6374 |
consumeNestedMethod(); |
| 5651 |
break; |
6375 |
break; |
| 5652 |
|
6376 |
|
| 5653 |
case 191 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ |
6377 |
case 214 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ |
| 5654 |
consumeStaticInitializer(); |
6378 |
consumeStaticInitializer(); |
| 5655 |
break; |
6379 |
break; |
| 5656 |
|
6380 |
|
| 5657 |
case 192 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ |
6381 |
case 215 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ |
| 5658 |
consumeStaticOnly(); |
6382 |
consumeStaticOnly(); |
| 5659 |
break; |
6383 |
break; |
| 5660 |
|
6384 |
|
| 5661 |
case 193 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ |
6385 |
case 216 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ |
| 5662 |
consumeConstructorDeclaration() ; |
6386 |
consumeConstructorDeclaration() ; |
| 5663 |
break; |
6387 |
break; |
| 5664 |
|
6388 |
|
| 5665 |
case 194 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ |
6389 |
case 217 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ |
| 5666 |
consumeInvalidConstructorDeclaration() ; |
6390 |
consumeInvalidConstructorDeclaration() ; |
| 5667 |
break; |
6391 |
break; |
| 5668 |
|
6392 |
|
| 5669 |
case 195 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ |
6393 |
case 218 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ |
| 5670 |
consumeExplicitConstructorInvocation(0, THIS_CALL); |
6394 |
consumeExplicitConstructorInvocation(0, THIS_CALL); |
| 5671 |
break; |
6395 |
break; |
| 5672 |
|
6396 |
|
| 5673 |
case 196 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ |
6397 |
case 219 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ |
| 5674 |
consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); |
6398 |
consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); |
| 5675 |
break; |
6399 |
break; |
| 5676 |
|
6400 |
|
| 5677 |
case 197 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ |
6401 |
case 220 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ |
| 5678 |
consumeExplicitConstructorInvocation(0,SUPER_CALL); |
6402 |
consumeExplicitConstructorInvocation(0,SUPER_CALL); |
| 5679 |
break; |
6403 |
break; |
| 5680 |
|
6404 |
|
| 5681 |
case 198 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ |
6405 |
case 221 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ |
| 5682 |
consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); |
6406 |
consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); |
| 5683 |
break; |
6407 |
break; |
| 5684 |
|
6408 |
|
| 5685 |
case 199 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ |
6409 |
case 222 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ |
| 5686 |
consumeExplicitConstructorInvocation(1, SUPER_CALL); |
6410 |
consumeExplicitConstructorInvocation(1, SUPER_CALL); |
| 5687 |
break; |
6411 |
break; |
| 5688 |
|
6412 |
|
| 5689 |
case 200 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ |
6413 |
case 223 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ |
| 5690 |
consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); |
6414 |
consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); |
| 5691 |
break; |
6415 |
break; |
| 5692 |
|
6416 |
|
| 5693 |
case 201 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ |
6417 |
case 224 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ |
| 5694 |
consumeExplicitConstructorInvocation(2, SUPER_CALL); |
6418 |
consumeExplicitConstructorInvocation(2, SUPER_CALL); |
| 5695 |
break; |
6419 |
break; |
| 5696 |
|
6420 |
|
| 5697 |
case 202 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ |
6421 |
case 225 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ |
| 5698 |
consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); |
6422 |
consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); |
| 5699 |
break; |
6423 |
break; |
| 5700 |
|
6424 |
|
| 5701 |
case 203 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ |
6425 |
case 226 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ |
| 5702 |
consumeExplicitConstructorInvocation(1, THIS_CALL); |
6426 |
consumeExplicitConstructorInvocation(1, THIS_CALL); |
| 5703 |
break; |
6427 |
break; |
| 5704 |
|
6428 |
|
| 5705 |
case 204 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ |
6429 |
case 227 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ |
| 5706 |
consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); |
6430 |
consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); |
| 5707 |
break; |
6431 |
break; |
| 5708 |
|
6432 |
|
| 5709 |
case 205 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ |
6433 |
case 228 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ |
| 5710 |
consumeExplicitConstructorInvocation(2, THIS_CALL); |
6434 |
consumeExplicitConstructorInvocation(2, THIS_CALL); |
| 5711 |
break; |
6435 |
break; |
| 5712 |
|
6436 |
|
| 5713 |
case 206 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ |
6437 |
case 229 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ |
| 5714 |
consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); |
6438 |
consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); |
| 5715 |
break; |
6439 |
break; |
| 5716 |
|
6440 |
|
| 5717 |
case 207 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ |
6441 |
case 230 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ |
| 5718 |
consumeInterfaceDeclaration(); |
6442 |
consumeInterfaceDeclaration(); |
| 5719 |
break; |
6443 |
break; |
| 5720 |
|
6444 |
|
| 5721 |
case 208 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ |
6445 |
case 231 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ |
| 5722 |
consumeInterfaceHeader(); |
6446 |
consumeInterfaceHeader(); |
| 5723 |
break; |
6447 |
break; |
| 5724 |
|
6448 |
|
| 5725 |
case 209 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ |
6449 |
case 232 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ |
| 5726 |
consumeTypeHeaderNameWithTypeParameters(); |
6450 |
consumeTypeHeaderNameWithTypeParameters(); |
| 5727 |
break; |
6451 |
break; |
| 5728 |
|
6452 |
|
| 5729 |
case 211 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ |
6453 |
case 234 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ |
| 5730 |
consumeInterfaceHeaderName1(); |
6454 |
consumeInterfaceHeaderName1(); |
| 5731 |
break; |
6455 |
break; |
| 5732 |
|
6456 |
|
| 5733 |
case 212 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ |
6457 |
case 235 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ |
| 5734 |
consumeInterfaceHeaderExtends(); |
6458 |
consumeInterfaceHeaderExtends(); |
| 5735 |
break; |
6459 |
break; |
| 5736 |
|
6460 |
|
| 5737 |
case 215 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ |
6461 |
case 238 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ |
| 5738 |
consumeInterfaceMemberDeclarations(); |
6462 |
consumeInterfaceMemberDeclarations(); |
| 5739 |
break; |
6463 |
break; |
| 5740 |
|
6464 |
|
| 5741 |
case 216 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
6465 |
case 239 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ |
| 5742 |
consumeEmptyTypeDeclaration(); |
6466 |
consumeEmptyTypeDeclaration(); |
| 5743 |
break; |
6467 |
break; |
| 5744 |
|
6468 |
|
| 5745 |
case 217 : if (DEBUG) { System.out.println("PushDefault ::="); } //$NON-NLS-1$ |
6469 |
case 240 : if (DEBUG) { System.out.println("PushDefault ::="); } //$NON-NLS-1$ |
| 5746 |
consumeInterfaceMethodDefault(); |
6470 |
consumeInterfaceMethodDefault(); |
| 5747 |
break; |
6471 |
break; |
| 5748 |
|
6472 |
|
| 5749 |
case 219 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= MethodHeader default..."); } //$NON-NLS-1$ |
6473 |
case 242 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= MethodHeader default..."); } //$NON-NLS-1$ |
| 5750 |
consumeInterfaceMethodDeclaration(true); |
6474 |
consumeInterfaceMethodDeclaration(true); |
| 5751 |
break; |
6475 |
break; |
| 5752 |
|
6476 |
|
| 5753 |
case 220 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ |
6477 |
case 243 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ |
| 5754 |
consumeInterfaceMethodDeclaration(false); |
6478 |
consumeInterfaceMethodDeclaration(false); |
| 5755 |
break; |
6479 |
break; |
| 5756 |
|
6480 |
|
| 5757 |
case 221 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ |
6481 |
case 244 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ |
| 5758 |
consumeInvalidConstructorDeclaration(true); |
6482 |
consumeInvalidConstructorDeclaration(true); |
| 5759 |
break; |
6483 |
break; |
| 5760 |
|
6484 |
|
| 5761 |
case 222 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ |
6485 |
case 245 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ |
| 5762 |
consumeInvalidConstructorDeclaration(false); |
6486 |
consumeInvalidConstructorDeclaration(false); |
| 5763 |
break; |
6487 |
break; |
| 5764 |
|
6488 |
|
| 5765 |
case 233 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ |
6489 |
case 256 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ |
| 5766 |
consumePushLeftBrace(); |
6490 |
consumePushLeftBrace(); |
| 5767 |
break; |
6491 |
break; |
| 5768 |
|
6492 |
|
| 5769 |
case 234 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ |
6493 |
case 257 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ |
| 5770 |
consumeEmptyArrayInitializer(); |
6494 |
consumeEmptyArrayInitializer(); |
| 5771 |
break; |
6495 |
break; |
| 5772 |
|
6496 |
|
| 5773 |
case 235 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ |
6497 |
case 258 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ |
| 5774 |
consumeArrayInitializer(); |
6498 |
consumeArrayInitializer(); |
| 5775 |
break; |
6499 |
break; |
| 5776 |
|
6500 |
|
| 5777 |
case 236 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ |
6501 |
case 259 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ |
| 5778 |
consumeArrayInitializer(); |
6502 |
consumeArrayInitializer(); |
| 5779 |
break; |
6503 |
break; |
| 5780 |
|
6504 |
|
| 5781 |
case 238 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ |
6505 |
case 261 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ |
| 5782 |
consumeVariableInitializers(); |
6506 |
consumeVariableInitializers(); |
| 5783 |
break; |
6507 |
break; |
| 5784 |
|
6508 |
|
| 5785 |
case 239 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ |
6509 |
case 262 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ |
| 5786 |
consumeBlock(); |
6510 |
consumeBlock(); |
| 5787 |
break; |
6511 |
break; |
| 5788 |
|
6512 |
|
| 5789 |
case 240 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ |
6513 |
case 263 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ |
| 5790 |
consumeOpenBlock() ; |
6514 |
consumeOpenBlock() ; |
| 5791 |
break; |
6515 |
break; |
| 5792 |
|
6516 |
|
| 5793 |
case 242 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ |
6517 |
case 265 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ |
| 5794 |
consumeBlockStatements() ; |
6518 |
consumeBlockStatements() ; |
| 5795 |
break; |
6519 |
break; |
| 5796 |
|
6520 |
|
| 5797 |
case 246 : if (DEBUG) { System.out.println("BlockStatement ::= InterfaceDeclaration"); } //$NON-NLS-1$ |
6521 |
case 269 : if (DEBUG) { System.out.println("BlockStatement ::= InterfaceDeclaration"); } //$NON-NLS-1$ |
| 5798 |
consumeInvalidInterfaceDeclaration(); |
6522 |
consumeInvalidInterfaceDeclaration(); |
| 5799 |
break; |
6523 |
break; |
| 5800 |
|
6524 |
|
| 5801 |
case 247 : if (DEBUG) { System.out.println("BlockStatement ::= AnnotationTypeDeclaration"); } //$NON-NLS-1$ |
6525 |
case 270 : if (DEBUG) { System.out.println("BlockStatement ::= AnnotationTypeDeclaration"); } //$NON-NLS-1$ |
| 5802 |
consumeInvalidAnnotationTypeDeclaration(); |
6526 |
consumeInvalidAnnotationTypeDeclaration(); |
| 5803 |
break; |
6527 |
break; |
| 5804 |
|
6528 |
|
| 5805 |
case 248 : if (DEBUG) { System.out.println("BlockStatement ::= EnumDeclaration"); } //$NON-NLS-1$ |
6529 |
case 271 : if (DEBUG) { System.out.println("BlockStatement ::= EnumDeclaration"); } //$NON-NLS-1$ |
| 5806 |
consumeInvalidEnumDeclaration(); |
6530 |
consumeInvalidEnumDeclaration(); |
| 5807 |
break; |
6531 |
break; |
| 5808 |
|
6532 |
|
| 5809 |
case 249 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ |
6533 |
case 272 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ |
| 5810 |
consumeLocalVariableDeclarationStatement(); |
6534 |
consumeLocalVariableDeclarationStatement(); |
| 5811 |
break; |
6535 |
break; |
| 5812 |
|
6536 |
|
| 5813 |
case 250 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ |
6537 |
case 273 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type0 PushModifiers..."); } //$NON-NLS-1$ |
| 5814 |
consumeLocalVariableDeclaration(); |
6538 |
consumeLocalVariableDeclaration(); |
| 5815 |
break; |
6539 |
break; |
| 5816 |
|
6540 |
|
| 5817 |
case 251 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ |
6541 |
case 274 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type0..."); } //$NON-NLS-1$ |
| 5818 |
consumeLocalVariableDeclaration(); |
6542 |
consumeLocalVariableDeclaration(); |
| 5819 |
break; |
6543 |
break; |
| 5820 |
|
6544 |
|
| 5821 |
case 252 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ |
6545 |
case 275 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ |
| 5822 |
consumePushModifiers(); |
6546 |
consumePushModifiers(); |
| 5823 |
break; |
6547 |
break; |
| 5824 |
|
6548 |
|
| 5825 |
case 253 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ |
6549 |
case 276 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ |
| 5826 |
consumePushModifiersForHeader(); |
6550 |
consumePushModifiersForHeader(); |
| 5827 |
break; |
6551 |
break; |
| 5828 |
|
6552 |
|
| 5829 |
case 254 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ |
6553 |
case 277 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ |
| 5830 |
consumePushRealModifiers(); |
6554 |
consumePushRealModifiers(); |
| 5831 |
break; |
6555 |
break; |
| 5832 |
|
6556 |
|
| 5833 |
case 281 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ |
6557 |
case 304 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ |
| 5834 |
consumeEmptyStatement(); |
6558 |
consumeEmptyStatement(); |
| 5835 |
break; |
6559 |
break; |
| 5836 |
|
6560 |
|
| 5837 |
case 282 : if (DEBUG) { System.out.println("LabeledStatement ::= Label COLON Statement"); } //$NON-NLS-1$ |
6561 |
case 305 : if (DEBUG) { System.out.println("LabeledStatement ::= Label COLON Statement"); } //$NON-NLS-1$ |
| 5838 |
consumeStatementLabel() ; |
6562 |
consumeStatementLabel() ; |
| 5839 |
break; |
6563 |
break; |
| 5840 |
|
6564 |
|
| 5841 |
case 283 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Label COLON..."); } //$NON-NLS-1$ |
6565 |
case 306 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Label COLON..."); } //$NON-NLS-1$ |
| 5842 |
consumeStatementLabel() ; |
6566 |
consumeStatementLabel() ; |
| 5843 |
break; |
6567 |
break; |
| 5844 |
|
6568 |
|
| 5845 |
case 284 : if (DEBUG) { System.out.println("Label ::= Identifier"); } //$NON-NLS-1$ |
6569 |
case 307 : if (DEBUG) { System.out.println("Label ::= Identifier"); } //$NON-NLS-1$ |
| 5846 |
consumeLabel() ; |
6570 |
consumeLabel(); |
| 5847 |
break; |
6571 |
break; |
| 5848 |
|
6572 |
|
| 5849 |
case 285 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ |
6573 |
case 308 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ |
| 5850 |
consumeExpressionStatement(); |
6574 |
consumeExpressionStatement(); |
| 5851 |
break; |
6575 |
break; |
| 5852 |
|
6576 |
|
| 5853 |
case 294 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
6577 |
case 317 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
| 5854 |
consumeStatementIfNoElse(); |
6578 |
consumeStatementIfNoElse(); |
| 5855 |
break; |
6579 |
break; |
| 5856 |
|
6580 |
|
| 5857 |
case 295 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
6581 |
case 318 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
| 5858 |
consumeStatementIfWithElse(); |
6582 |
consumeStatementIfWithElse(); |
| 5859 |
break; |
6583 |
break; |
| 5860 |
|
6584 |
|
| 5861 |
case 296 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ |
6585 |
case 319 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ |
| 5862 |
consumeStatementIfWithElse(); |
6586 |
consumeStatementIfWithElse(); |
| 5863 |
break; |
6587 |
break; |
| 5864 |
|
6588 |
|
| 5865 |
case 297 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
6589 |
case 320 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
| 5866 |
consumeStatementSwitch() ; |
6590 |
consumeStatementSwitch() ; |
| 5867 |
break; |
6591 |
break; |
| 5868 |
|
6592 |
|
| 5869 |
case 298 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ |
6593 |
case 321 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ |
| 5870 |
consumeEmptySwitchBlock() ; |
6594 |
consumeEmptySwitchBlock() ; |
| 5871 |
break; |
6595 |
break; |
| 5872 |
|
6596 |
|
| 5873 |
case 301 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ |
6597 |
case 324 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ |
| 5874 |
consumeSwitchBlock() ; |
6598 |
consumeSwitchBlock() ; |
| 5875 |
break; |
6599 |
break; |
| 5876 |
|
6600 |
|
| 5877 |
case 303 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ |
6601 |
case 326 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ |
| 5878 |
consumeSwitchBlockStatements() ; |
6602 |
consumeSwitchBlockStatements() ; |
| 5879 |
break; |
6603 |
break; |
| 5880 |
|
6604 |
|
| 5881 |
case 304 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ |
6605 |
case 327 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ |
| 5882 |
consumeSwitchBlockStatement() ; |
6606 |
consumeSwitchBlockStatement() ; |
| 5883 |
break; |
6607 |
break; |
| 5884 |
|
6608 |
|
| 5885 |
case 306 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ |
6609 |
case 329 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ |
| 5886 |
consumeSwitchLabels() ; |
6610 |
consumeSwitchLabels() ; |
| 5887 |
break; |
6611 |
break; |
| 5888 |
|
6612 |
|
| 5889 |
case 307 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ |
6613 |
case 330 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ |
| 5890 |
consumeCaseLabel(); |
6614 |
consumeCaseLabel(); |
| 5891 |
break; |
6615 |
break; |
| 5892 |
|
6616 |
|
| 5893 |
case 308 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ |
6617 |
case 331 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ |
| 5894 |
consumeDefaultLabel(); |
6618 |
consumeDefaultLabel(); |
| 5895 |
break; |
6619 |
break; |
| 5896 |
|
6620 |
|
| 5897 |
case 309 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
6621 |
case 332 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ |
| 5898 |
consumeStatementWhile() ; |
6622 |
consumeStatementWhile() ; |
| 5899 |
break; |
6623 |
break; |
| 5900 |
|
6624 |
|
| 5901 |
case 310 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ |
6625 |
case 333 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ |
| 5902 |
consumeStatementWhile() ; |
6626 |
consumeStatementWhile() ; |
| 5903 |
break; |
6627 |
break; |
| 5904 |
|
6628 |
|
| 5905 |
case 311 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ |
6629 |
case 334 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ |
| 5906 |
consumeStatementDo() ; |
6630 |
consumeStatementDo() ; |
| 5907 |
break; |
6631 |
break; |
| 5908 |
|
6632 |
|
| 5909 |
case 312 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ |
6633 |
case 335 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ |
| 5910 |
consumeStatementFor() ; |
6634 |
consumeStatementFor() ; |
| 5911 |
break; |
6635 |
break; |
| 5912 |
|
6636 |
|
| 5913 |
case 313 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ |
6637 |
case 336 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ |
| 5914 |
consumeStatementFor() ; |
6638 |
consumeStatementFor() ; |
| 5915 |
break; |
6639 |
break; |
| 5916 |
|
6640 |
|
| 5917 |
case 314 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ |
6641 |
case 337 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ |
| 5918 |
consumeForInit() ; |
6642 |
consumeForInit() ; |
| 5919 |
break; |
6643 |
break; |
| 5920 |
|
6644 |
|
| 5921 |
case 318 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ |
6645 |
case 341 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ |
| 5922 |
consumeStatementExpressionList() ; |
6646 |
consumeStatementExpressionList() ; |
| 5923 |
break; |
6647 |
break; |
| 5924 |
|
6648 |
|
| 5925 |
case 319 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ |
6649 |
case 342 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ |
| 5926 |
consumeSimpleAssertStatement() ; |
6650 |
consumeSimpleAssertStatement() ; |
| 5927 |
break; |
6651 |
break; |
| 5928 |
|
6652 |
|
| 5929 |
case 320 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ |
6653 |
case 343 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ |
| 5930 |
consumeAssertStatement() ; |
6654 |
consumeAssertStatement() ; |
| 5931 |
break; |
6655 |
break; |
| 5932 |
|
6656 |
|
| 5933 |
case 321 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ |
6657 |
case 344 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ |
| 5934 |
consumeStatementBreak() ; |
6658 |
consumeStatementBreak() ; |
| 5935 |
break; |
6659 |
break; |
| 5936 |
|
6660 |
|
| 5937 |
case 322 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ |
6661 |
case 345 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ |
| 5938 |
consumeStatementBreakWithLabel() ; |
6662 |
consumeStatementBreakWithLabel() ; |
| 5939 |
break; |
6663 |
break; |
| 5940 |
|
6664 |
|
| 5941 |
case 323 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ |
6665 |
case 346 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ |
| 5942 |
consumeStatementContinue() ; |
6666 |
consumeStatementContinue() ; |
| 5943 |
break; |
6667 |
break; |
| 5944 |
|
6668 |
|
| 5945 |
case 324 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ |
6669 |
case 347 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ |
| 5946 |
consumeStatementContinueWithLabel() ; |
6670 |
consumeStatementContinueWithLabel() ; |
| 5947 |
break; |
6671 |
break; |
| 5948 |
|
6672 |
|
| 5949 |
case 325 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ |
6673 |
case 348 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ |
| 5950 |
consumeStatementReturn() ; |
6674 |
consumeStatementReturn() ; |
| 5951 |
break; |
6675 |
break; |
| 5952 |
|
6676 |
|
| 5953 |
case 326 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ |
6677 |
case 349 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ |
| 5954 |
consumeStatementThrow(); |
6678 |
consumeStatementThrow(); |
| 5955 |
break; |
6679 |
break; |
| 5956 |
|
6680 |
|
| 5957 |
case 327 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ |
6681 |
case 350 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ |
| 5958 |
consumeStatementSynchronized(); |
6682 |
consumeStatementSynchronized(); |
| 5959 |
break; |
6683 |
break; |
| 5960 |
|
6684 |
|
| 5961 |
case 328 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ |
6685 |
case 351 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ |
| 5962 |
consumeOnlySynchronized(); |
6686 |
consumeOnlySynchronized(); |
| 5963 |
break; |
6687 |
break; |
| 5964 |
|
6688 |
|
| 5965 |
case 329 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ |
6689 |
case 352 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ |
| 5966 |
consumeStatementTry(false, false); |
6690 |
consumeStatementTry(false, false); |
| 5967 |
break; |
6691 |
break; |
| 5968 |
|
6692 |
|
| 5969 |
case 330 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ |
6693 |
case 353 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ |
| 5970 |
consumeStatementTry(true, false); |
6694 |
consumeStatementTry(true, false); |
| 5971 |
break; |
6695 |
break; |
| 5972 |
|
6696 |
|
| 5973 |
case 331 : if (DEBUG) { System.out.println("TryStatementWithResources ::= try ResourceSpecification"); } //$NON-NLS-1$ |
6697 |
case 354 : if (DEBUG) { System.out.println("TryStatementWithResources ::= try ResourceSpecification"); } //$NON-NLS-1$ |
| 5974 |
consumeStatementTry(false, true); |
6698 |
consumeStatementTry(false, true); |
| 5975 |
break; |
6699 |
break; |
| 5976 |
|
6700 |
|
| 5977 |
case 332 : if (DEBUG) { System.out.println("TryStatementWithResources ::= try ResourceSpecification"); } //$NON-NLS-1$ |
6701 |
case 355 : if (DEBUG) { System.out.println("TryStatementWithResources ::= try ResourceSpecification"); } //$NON-NLS-1$ |
| 5978 |
consumeStatementTry(true, true); |
6702 |
consumeStatementTry(true, true); |
| 5979 |
break; |
6703 |
break; |
| 5980 |
|
6704 |
|
| 5981 |
case 333 : if (DEBUG) { System.out.println("ResourceSpecification ::= LPAREN Resources ;opt RPAREN"); } //$NON-NLS-1$ |
6705 |
case 356 : if (DEBUG) { System.out.println("ResourceSpecification ::= LPAREN Resources ;opt RPAREN"); } //$NON-NLS-1$ |
| 5982 |
consumeResourceSpecification(); |
6706 |
consumeResourceSpecification(); |
| 5983 |
break; |
6707 |
break; |
| 5984 |
|
6708 |
|
| 5985 |
case 334 : if (DEBUG) { System.out.println(";opt ::="); } //$NON-NLS-1$ |
6709 |
case 357 : if (DEBUG) { System.out.println(";opt ::="); } //$NON-NLS-1$ |
| 5986 |
consumeResourceOptionalTrailingSemiColon(false); |
6710 |
consumeResourceOptionalTrailingSemiColon(false); |
| 5987 |
break; |
6711 |
break; |
| 5988 |
|
6712 |
|
| 5989 |
case 335 : if (DEBUG) { System.out.println(";opt ::= SEMICOLON"); } //$NON-NLS-1$ |
6713 |
case 358 : if (DEBUG) { System.out.println(";opt ::= SEMICOLON"); } //$NON-NLS-1$ |
| 5990 |
consumeResourceOptionalTrailingSemiColon(true); |
6714 |
consumeResourceOptionalTrailingSemiColon(true); |
| 5991 |
break; |
6715 |
break; |
| 5992 |
|
6716 |
|
| 5993 |
case 336 : if (DEBUG) { System.out.println("Resources ::= Resource"); } //$NON-NLS-1$ |
6717 |
case 359 : if (DEBUG) { System.out.println("Resources ::= Resource"); } //$NON-NLS-1$ |
| 5994 |
consumeSingleResource(); |
6718 |
consumeSingleResource(); |
| 5995 |
break; |
6719 |
break; |
| 5996 |
|
6720 |
|
| 5997 |
case 337 : if (DEBUG) { System.out.println("Resources ::= Resources TrailingSemiColon Resource"); } //$NON-NLS-1$ |
6721 |
case 360 : if (DEBUG) { System.out.println("Resources ::= Resources TrailingSemiColon Resource"); } //$NON-NLS-1$ |
| 5998 |
consumeMultipleResources(); |
6722 |
consumeMultipleResources(); |
| 5999 |
break; |
6723 |
break; |
| 6000 |
|
6724 |
|
| 6001 |
case 338 : if (DEBUG) { System.out.println("TrailingSemiColon ::= SEMICOLON"); } //$NON-NLS-1$ |
6725 |
case 361 : if (DEBUG) { System.out.println("TrailingSemiColon ::= SEMICOLON"); } //$NON-NLS-1$ |
| 6002 |
consumeResourceOptionalTrailingSemiColon(true); |
6726 |
consumeResourceOptionalTrailingSemiColon(true); |
| 6003 |
break; |
6727 |
break; |
| 6004 |
|
6728 |
|
| 6005 |
case 339 : if (DEBUG) { System.out.println("Resource ::= Type PushModifiers VariableDeclaratorId..."); } //$NON-NLS-1$ |
6729 |
case 362 : if (DEBUG) { System.out.println("Resource ::= Type PushModifiers VariableDeclaratorId..."); } //$NON-NLS-1$ |
| 6006 |
consumeResourceAsLocalVariableDeclaration(); |
6730 |
consumeResourceAsLocalVariableDeclaration(); |
| 6007 |
break; |
6731 |
break; |
| 6008 |
|
6732 |
|
| 6009 |
case 340 : if (DEBUG) { System.out.println("Resource ::= Modifiers Type PushRealModifiers..."); } //$NON-NLS-1$ |
6733 |
case 364 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ |
| 6010 |
consumeResourceAsLocalVariableDeclaration(); |
|
|
| 6011 |
break; |
| 6012 |
|
| 6013 |
case 342 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ |
| 6014 |
consumeExitTryBlock(); |
6734 |
consumeExitTryBlock(); |
| 6015 |
break; |
6735 |
break; |
| 6016 |
|
6736 |
|
| 6017 |
case 344 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ |
6737 |
case 366 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ |
| 6018 |
consumeCatches(); |
6738 |
consumeCatches(); |
| 6019 |
break; |
6739 |
break; |
| 6020 |
|
6740 |
|
| 6021 |
case 345 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN CatchFormalParameter RPAREN"); } //$NON-NLS-1$ |
6741 |
case 367 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN CatchFormalParameter RPAREN"); } //$NON-NLS-1$ |
| 6022 |
consumeStatementCatch() ; |
6742 |
consumeStatementCatch() ; |
| 6023 |
break; |
6743 |
break; |
| 6024 |
|
6744 |
|
| 6025 |
case 347 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ |
6745 |
case 369 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ |
| 6026 |
consumeLeftParen(); |
6746 |
consumeLeftParen(); |
| 6027 |
break; |
6747 |
break; |
| 6028 |
|
6748 |
|
| 6029 |
case 348 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ |
6749 |
case 370 : if (DEBUG) { System.out.println("PushRPARENForUnannotatedTypeCast ::= RPAREN"); } //$NON-NLS-1$ |
|
|
6750 |
consumeRightParenForUnannotatedTypeCast(); |
| 6751 |
break; |
| 6752 |
|
| 6753 |
case 371 : if (DEBUG) { System.out.println("PushRPARENForNameUnannotatedTypeCast ::= RPAREN"); } //$NON-NLS-1$ |
| 6754 |
consumeRightParenForNameUnannotatedTypeCast(); |
| 6755 |
break; |
| 6756 |
|
| 6757 |
case 372 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ |
| 6030 |
consumeRightParen(); |
6758 |
consumeRightParen(); |
| 6031 |
break; |
6759 |
break; |
| 6032 |
|
6760 |
|
| 6033 |
case 353 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ |
6761 |
case 373 : if (DEBUG) { System.out.println("PushRPARENForAnnotatedTypeCast ::= RPAREN"); } //$NON-NLS-1$ |
|
|
6762 |
consumeRightParenForAnnotatedTypeCast(); |
| 6763 |
break; |
| 6764 |
|
| 6765 |
case 374 : if (DEBUG) { System.out.println("PushRPARENForNameAndAnnotatedTypeCast ::= RPAREN"); } //$NON-NLS-1$ |
| 6766 |
consumeRightParenForNameAndAnnotatedTypeCast(); |
| 6767 |
break; |
| 6768 |
|
| 6769 |
case 379 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ |
| 6034 |
consumePrimaryNoNewArrayThis(); |
6770 |
consumePrimaryNoNewArrayThis(); |
| 6035 |
break; |
6771 |
break; |
| 6036 |
|
6772 |
|
| 6037 |
case 354 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ |
6773 |
case 380 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ |
| 6038 |
consumePrimaryNoNewArray(); |
6774 |
consumePrimaryNoNewArray(); |
| 6039 |
break; |
6775 |
break; |
| 6040 |
|
6776 |
|
| 6041 |
case 355 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ |
6777 |
case 381 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ |
| 6042 |
consumePrimaryNoNewArrayWithName(); |
6778 |
consumePrimaryNoNewArrayWithName(); |
| 6043 |
break; |
6779 |
break; |
| 6044 |
|
6780 |
|
| 6045 |
case 358 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ |
6781 |
case 384 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ |
| 6046 |
consumePrimaryNoNewArrayNameThis(); |
6782 |
consumePrimaryNoNewArrayNameThis(); |
| 6047 |
break; |
6783 |
break; |
| 6048 |
|
6784 |
|
| 6049 |
case 359 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ |
6785 |
case 385 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ |
| 6050 |
consumePrimaryNoNewArrayNameSuper(); |
6786 |
consumePrimaryNoNewArrayNameSuper(); |
| 6051 |
break; |
6787 |
break; |
| 6052 |
|
6788 |
|
| 6053 |
case 360 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ |
6789 |
case 386 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Modifiers Name DOT class"); } //$NON-NLS-1$ |
|
|
6790 |
consumePrimaryNoNewArrayNameWithTypeAnnotations(); |
| 6791 |
break; |
| 6792 |
|
| 6793 |
case 387 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Modifiers Name Dims DOT class"); } //$NON-NLS-1$ |
| 6794 |
consumePrimaryNoNewArrayArrayTypeWithTypeAnnotations(); |
| 6795 |
break; |
| 6796 |
|
| 6797 |
case 388 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Modifiers PrimitiveType Dims DOT"); } //$NON-NLS-1$ |
| 6798 |
consumePrimaryNoNewArrayPrimitiveArrayTypeWithTypeAnnotations(); |
| 6799 |
break; |
| 6800 |
|
| 6801 |
case 389 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Modifiers PrimitiveType DOT class"); } //$NON-NLS-1$ |
| 6802 |
consumePrimaryNoNewArrayPrimitiveTypeWithTypeAnnotations(); |
| 6803 |
break; |
| 6804 |
|
| 6805 |
case 390 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ |
| 6054 |
consumePrimaryNoNewArrayName(); |
6806 |
consumePrimaryNoNewArrayName(); |
| 6055 |
break; |
6807 |
break; |
| 6056 |
|
6808 |
|
| 6057 |
case 361 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ |
6809 |
case 391 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ |
| 6058 |
consumePrimaryNoNewArrayArrayType(); |
6810 |
consumePrimaryNoNewArrayArrayType(); |
| 6059 |
break; |
6811 |
break; |
| 6060 |
|
6812 |
|
| 6061 |
case 362 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ |
6813 |
case 392 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ |
| 6062 |
consumePrimaryNoNewArrayPrimitiveArrayType(); |
6814 |
consumePrimaryNoNewArrayPrimitiveArrayType(); |
| 6063 |
break; |
6815 |
break; |
| 6064 |
|
6816 |
|
| 6065 |
case 363 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ |
6817 |
case 393 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ |
| 6066 |
consumePrimaryNoNewArrayPrimitiveType(); |
6818 |
consumePrimaryNoNewArrayPrimitiveType(); |
| 6067 |
break; |
6819 |
break; |
| 6068 |
|
6820 |
|
| 6069 |
case 369 : if (DEBUG) { System.out.println("ReferenceExpression ::= Name COLON_COLON..."); } //$NON-NLS-1$ |
6821 |
case 399 : if (DEBUG) { System.out.println("ReferenceExpression ::= Name COLON_COLON..."); } //$NON-NLS-1$ |
| 6070 |
consumeReferenceExpressionNameForm(); |
6822 |
consumeReferenceExpressionNameForm(); |
| 6071 |
break; |
6823 |
break; |
| 6072 |
|
6824 |
|
| 6073 |
case 370 : if (DEBUG) { System.out.println("ReferenceExpression ::= Name..."); } //$NON-NLS-1$ |
6825 |
case 400 : if (DEBUG) { System.out.println("ReferenceExpression ::= Name..."); } //$NON-NLS-1$ |
| 6074 |
consumeReferenceExpressionTypeForm(false); |
6826 |
consumeReferenceExpressionTypeForm(false); |
| 6075 |
break; |
6827 |
break; |
| 6076 |
|
6828 |
|
| 6077 |
case 371 : if (DEBUG) { System.out.println("ReferenceExpression ::= Name..."); } //$NON-NLS-1$ |
6829 |
case 401 : if (DEBUG) { System.out.println("ReferenceExpression ::= Name..."); } //$NON-NLS-1$ |
| 6078 |
consumeReferenceExpressionTypeForm(true); |
6830 |
consumeReferenceExpressionTypeForm(true); |
| 6079 |
break; |
6831 |
break; |
| 6080 |
|
6832 |
|
| 6081 |
case 372 : if (DEBUG) { System.out.println("ReferenceExpression ::= Primary COLON_COLON..."); } //$NON-NLS-1$ |
6833 |
case 402 : if (DEBUG) { System.out.println("ReferenceExpression ::= Primary COLON_COLON..."); } //$NON-NLS-1$ |
| 6082 |
consumeReferenceExpressionPrimaryForm(); |
6834 |
consumeReferenceExpressionPrimaryForm(); |
| 6083 |
break; |
6835 |
break; |
| 6084 |
|
6836 |
|
| 6085 |
case 373 : if (DEBUG) { System.out.println("NonWildTypeArgumentsopt ::="); } //$NON-NLS-1$ |
6837 |
case 403 : if (DEBUG) { System.out.println("NonWildTypeArgumentsopt ::="); } //$NON-NLS-1$ |
| 6086 |
consumeEmptyTypeArguments(); |
6838 |
consumeEmptyTypeArguments(); |
| 6087 |
break; |
6839 |
break; |
| 6088 |
|
6840 |
|
| 6089 |
case 375 : if (DEBUG) { System.out.println("IdentifierOrNew ::= Identifier"); } //$NON-NLS-1$ |
6841 |
case 405 : if (DEBUG) { System.out.println("IdentifierOrNew ::= Identifier"); } //$NON-NLS-1$ |
| 6090 |
consumeIdentifierOrNew(false); |
6842 |
consumeIdentifierOrNew(false); |
| 6091 |
break; |
6843 |
break; |
| 6092 |
|
6844 |
|
| 6093 |
case 376 : if (DEBUG) { System.out.println("IdentifierOrNew ::= new"); } //$NON-NLS-1$ |
6845 |
case 406 : if (DEBUG) { System.out.println("IdentifierOrNew ::= new"); } //$NON-NLS-1$ |
| 6094 |
consumeIdentifierOrNew(true); |
6846 |
consumeIdentifierOrNew(true); |
| 6095 |
break; |
6847 |
break; |
| 6096 |
|
6848 |
|
| 6097 |
case 377 : if (DEBUG) { System.out.println("LambdaExpression ::= LambdaParameters ARROW LambdaBody"); } //$NON-NLS-1$ |
6849 |
case 407 : if (DEBUG) { System.out.println("LambdaExpression ::= LambdaParameters ARROW LambdaBody"); } //$NON-NLS-1$ |
| 6098 |
consumeLambdaExpression(); |
6850 |
consumeLambdaExpression(); |
| 6099 |
break; |
6851 |
break; |
| 6100 |
|
6852 |
|
| 6101 |
case 378 : if (DEBUG) { System.out.println("LambdaParameters ::= Identifier"); } //$NON-NLS-1$ |
6853 |
case 408 : if (DEBUG) { System.out.println("LambdaParameters ::= Identifier"); } //$NON-NLS-1$ |
| 6102 |
consumeTypeElidedLambdaParameter(false); |
6854 |
consumeTypeElidedLambdaParameter(false); |
| 6103 |
break; |
6855 |
break; |
| 6104 |
|
6856 |
|
| 6105 |
case 382 : if (DEBUG) { System.out.println("TypeElidedFormalParameterList ::=..."); } //$NON-NLS-1$ |
6857 |
case 412 : if (DEBUG) { System.out.println("TypeElidedFormalParameterList ::=..."); } //$NON-NLS-1$ |
| 6106 |
consumeFormalParameterList(); |
6858 |
consumeFormalParameterList(); |
| 6107 |
break; |
6859 |
break; |
| 6108 |
|
6860 |
|
| 6109 |
case 383 : if (DEBUG) { System.out.println("TypeElidedFormalParameter ::= Modifiersopt Identifier"); } //$NON-NLS-1$ |
6861 |
case 413 : if (DEBUG) { System.out.println("TypeElidedFormalParameter ::= Modifiersopt Identifier"); } //$NON-NLS-1$ |
| 6110 |
consumeTypeElidedLambdaParameter(true); |
6862 |
consumeTypeElidedLambdaParameter(true); |
| 6111 |
break; |
6863 |
break; |
| 6112 |
|
6864 |
|
| 6113 |
case 385 : if (DEBUG) { System.out.println("LambdaBody ::= NestedType NestedMethod LBRACE..."); } //$NON-NLS-1$ |
6865 |
case 415 : if (DEBUG) { System.out.println("LambdaBody ::= NestedType NestedMethod LBRACE..."); } //$NON-NLS-1$ |
| 6114 |
consumeBlock(); |
6866 |
consumeBlock(); |
| 6115 |
break; |
6867 |
break; |
| 6116 |
|
6868 |
|
| 6117 |
case 386 : if (DEBUG) { System.out.println("ElidedLeftBraceAndReturn ::="); } //$NON-NLS-1$ |
6869 |
case 416 : if (DEBUG) { System.out.println("ElidedLeftBraceAndReturn ::="); } //$NON-NLS-1$ |
| 6118 |
consumeElidedLeftBraceAndReturn(); |
6870 |
consumeElidedLeftBraceAndReturn(); |
| 6119 |
break; |
6871 |
break; |
| 6120 |
|
6872 |
|
| 6121 |
case 387 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ |
6873 |
case 417 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ |
| 6122 |
consumeAllocationHeader(); |
6874 |
consumeAllocationHeader(); |
| 6123 |
break; |
6875 |
break; |
| 6124 |
|
6876 |
|
| 6125 |
case 388 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ |
6877 |
case 418 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ |
| 6126 |
consumeClassInstanceCreationExpressionWithTypeArguments(); |
6878 |
consumeClassInstanceCreationExpressionWithTypeArguments(); |
| 6127 |
break; |
6879 |
break; |
| 6128 |
|
6880 |
|
| 6129 |
case 389 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType..."); } //$NON-NLS-1$ |
6881 |
case 419 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType..."); } //$NON-NLS-1$ |
| 6130 |
consumeClassInstanceCreationExpression(); |
6882 |
consumeClassInstanceCreationExpression(); |
| 6131 |
break; |
6883 |
break; |
| 6132 |
|
6884 |
|
| 6133 |
case 390 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ |
6885 |
case 420 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ |
| 6134 |
consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; |
6886 |
consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; |
| 6135 |
break; |
6887 |
break; |
| 6136 |
|
6888 |
|
| 6137 |
case 391 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ |
6889 |
case 421 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ |
| 6138 |
consumeClassInstanceCreationExpressionQualified() ; |
6890 |
consumeClassInstanceCreationExpressionQualified() ; |
| 6139 |
break; |
6891 |
break; |
| 6140 |
|
6892 |
|
| 6141 |
case 392 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ |
6893 |
case 422 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ |
| 6142 |
consumeClassInstanceCreationExpressionQualified() ; |
6894 |
consumeClassInstanceCreationExpressionQualified() ; |
| 6143 |
break; |
6895 |
break; |
| 6144 |
|
6896 |
|
| 6145 |
case 393 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ |
6897 |
case 423 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ |
| 6146 |
consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; |
6898 |
consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; |
| 6147 |
break; |
6899 |
break; |
| 6148 |
|
6900 |
|
| 6149 |
case 394 : if (DEBUG) { System.out.println("EnterInstanceCreationArgumentList ::="); } //$NON-NLS-1$ |
6901 |
case 424 : if (DEBUG) { System.out.println("EnterInstanceCreationArgumentList ::="); } //$NON-NLS-1$ |
| 6150 |
consumeEnterInstanceCreationArgumentList(); |
6902 |
consumeEnterInstanceCreationArgumentList(); |
| 6151 |
break; |
6903 |
break; |
| 6152 |
|
6904 |
|
| 6153 |
case 395 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ |
6905 |
case 425 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ |
| 6154 |
consumeClassInstanceCreationExpressionName() ; |
6906 |
consumeClassInstanceCreationExpressionName() ; |
| 6155 |
break; |
6907 |
break; |
| 6156 |
|
6908 |
|
| 6157 |
case 396 : if (DEBUG) { System.out.println("UnqualifiedClassBodyopt ::="); } //$NON-NLS-1$ |
6909 |
case 426 : if (DEBUG) { System.out.println("UnqualifiedClassBodyopt ::="); } //$NON-NLS-1$ |
| 6158 |
consumeClassBodyopt(); |
6910 |
consumeClassBodyopt(); |
| 6159 |
break; |
6911 |
break; |
| 6160 |
|
6912 |
|
| 6161 |
case 398 : if (DEBUG) { System.out.println("UnqualifiedEnterAnonymousClassBody ::="); } //$NON-NLS-1$ |
6913 |
case 428 : if (DEBUG) { System.out.println("UnqualifiedEnterAnonymousClassBody ::="); } //$NON-NLS-1$ |
| 6162 |
consumeEnterAnonymousClassBody(false); |
6914 |
consumeEnterAnonymousClassBody(false); |
| 6163 |
break; |
6915 |
break; |
| 6164 |
|
6916 |
|
| 6165 |
case 399 : if (DEBUG) { System.out.println("QualifiedClassBodyopt ::="); } //$NON-NLS-1$ |
6917 |
case 429 : if (DEBUG) { System.out.println("QualifiedClassBodyopt ::="); } //$NON-NLS-1$ |
| 6166 |
consumeClassBodyopt(); |
6918 |
consumeClassBodyopt(); |
| 6167 |
break; |
6919 |
break; |
| 6168 |
|
6920 |
|
| 6169 |
case 401 : if (DEBUG) { System.out.println("QualifiedEnterAnonymousClassBody ::="); } //$NON-NLS-1$ |
6921 |
case 431 : if (DEBUG) { System.out.println("QualifiedEnterAnonymousClassBody ::="); } //$NON-NLS-1$ |
| 6170 |
consumeEnterAnonymousClassBody(true); |
6922 |
consumeEnterAnonymousClassBody(true); |
| 6171 |
break; |
6923 |
break; |
| 6172 |
|
6924 |
|
| 6173 |
case 403 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ |
6925 |
case 433 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ |
| 6174 |
consumeArgumentList(); |
6926 |
consumeArgumentList(); |
| 6175 |
break; |
6927 |
break; |
| 6176 |
|
6928 |
|
| 6177 |
case 404 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ |
6929 |
case 434 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new Annotationsopt PrimitiveType"); } //$NON-NLS-1$ |
| 6178 |
consumeArrayCreationHeader(); |
6930 |
consumeArrayCreationHeader(); |
| 6179 |
break; |
6931 |
break; |
| 6180 |
|
6932 |
|
| 6181 |
case 405 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ |
6933 |
case 435 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ |
| 6182 |
consumeArrayCreationHeader(); |
6934 |
consumeArrayCreationHeader(); |
| 6183 |
break; |
6935 |
break; |
| 6184 |
|
6936 |
|
| 6185 |
case 406 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ |
6937 |
case 436 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ |
| 6186 |
consumeArrayCreationExpressionWithoutInitializer(); |
6938 |
consumeArrayCreationExpressionWithoutInitializer(); |
| 6187 |
break; |
6939 |
break; |
| 6188 |
|
6940 |
|
| 6189 |
case 407 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ |
6941 |
case 437 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new Annotationsopt"); } //$NON-NLS-1$ |
| 6190 |
consumeArrayCreationExpressionWithInitializer(); |
6942 |
consumeArrayCreationExpressionWithInitializer(); |
| 6191 |
break; |
6943 |
break; |
| 6192 |
|
6944 |
|
| 6193 |
case 408 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ |
6945 |
case 438 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ |
| 6194 |
consumeArrayCreationExpressionWithoutInitializer(); |
6946 |
consumeArrayCreationExpressionWithoutInitializer(); |
| 6195 |
break; |
6947 |
break; |
| 6196 |
|
6948 |
|
| 6197 |
case 409 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ |
6949 |
case 439 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ |
| 6198 |
consumeArrayCreationExpressionWithInitializer(); |
6950 |
consumeArrayCreationExpressionWithInitializer(); |
| 6199 |
break; |
6951 |
break; |
| 6200 |
|
6952 |
|
| 6201 |
case 411 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ |
6953 |
case 441 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ |
| 6202 |
consumeDimWithOrWithOutExprs(); |
6954 |
consumeDimWithOrWithOutExprs(); |
| 6203 |
break; |
6955 |
break; |
| 6204 |
|
6956 |
|
| 6205 |
case 413 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ |
6957 |
case 444 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET..."); } //$NON-NLS-1$ |
| 6206 |
consumeDimWithOrWithOutExpr(); |
6958 |
consumeDimWithOrWithOutExpr(); |
| 6207 |
break; |
6959 |
break; |
| 6208 |
|
6960 |
|
| 6209 |
case 414 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ |
6961 |
case 445 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= TypeAnnotations LBRACKET..."); } //$NON-NLS-1$ |
|
|
6962 |
consumeDimWithOrWithOutExpr(); |
| 6963 |
break; |
| 6964 |
|
| 6965 |
case 446 : if (DEBUG) { System.out.println("DimsoptAnnotsopt ::="); } //$NON-NLS-1$ |
| 6966 |
consumeEmptyDimsoptAnnotsopt(); |
| 6967 |
break; |
| 6968 |
|
| 6969 |
case 447 : if (DEBUG) { System.out.println("DimsoptAnnotsopt -> DimsAnnotLoop"); } //$NON-NLS-1$ |
| 6970 |
consumeDimsWithTrailingAnnotsopt(); |
| 6971 |
break; |
| 6972 |
|
| 6973 |
case 450 : if (DEBUG) { System.out.println("OneDimOrAnnot ::= Annotation"); } //$NON-NLS-1$ |
| 6974 |
consumeTypeAnnotation(true); |
| 6975 |
break; |
| 6976 |
|
| 6977 |
case 451 : if (DEBUG) { System.out.println("OneDimOrAnnot ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ |
| 6978 |
consumeOneDimLoop(true); |
| 6979 |
break; |
| 6980 |
|
| 6981 |
case 452 : if (DEBUG) { System.out.println("TypeAnnotations ::= Annotation"); } //$NON-NLS-1$ |
| 6982 |
consumeTypeAnnotation(false); |
| 6983 |
break; |
| 6984 |
|
| 6985 |
case 453 : if (DEBUG) { System.out.println("TypeAnnotations ::= TypeAnnotations Annotation"); } //$NON-NLS-1$ |
| 6986 |
consumeOneMoreTypeAnnotation(); |
| 6987 |
break; |
| 6988 |
|
| 6989 |
case 454 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ |
| 6210 |
consumeDims(); |
6990 |
consumeDims(); |
| 6211 |
break; |
6991 |
break; |
| 6212 |
|
6992 |
|
| 6213 |
case 417 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ |
6993 |
case 457 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ |
| 6214 |
consumeOneDimLoop(); |
6994 |
consumeOneDimLoop(false); |
| 6215 |
break; |
6995 |
break; |
| 6216 |
|
6996 |
|
| 6217 |
case 418 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ |
6997 |
case 458 : if (DEBUG) { System.out.println("OneDimLoop ::= TypeAnnotations LBRACKET RBRACKET"); } //$NON-NLS-1$ |
|
|
6998 |
consumeOneDimLoopWithAnnotations(); |
| 6999 |
break; |
| 7000 |
|
| 7001 |
case 459 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ |
| 6218 |
consumeFieldAccess(false); |
7002 |
consumeFieldAccess(false); |
| 6219 |
break; |
7003 |
break; |
| 6220 |
|
7004 |
|
| 6221 |
case 419 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ |
7005 |
case 460 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ |
| 6222 |
consumeFieldAccess(true); |
7006 |
consumeFieldAccess(true); |
| 6223 |
break; |
7007 |
break; |
| 6224 |
|
7008 |
|
| 6225 |
case 420 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ |
7009 |
case 461 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ |
| 6226 |
consumeMethodInvocationName(); |
7010 |
consumeMethodInvocationName(); |
| 6227 |
break; |
7011 |
break; |
| 6228 |
|
7012 |
|
| 6229 |
case 421 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
7013 |
case 462 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
| 6230 |
consumeMethodInvocationNameWithTypeArguments(); |
7014 |
consumeMethodInvocationNameWithTypeArguments(); |
| 6231 |
break; |
7015 |
break; |
| 6232 |
|
7016 |
|
| 6233 |
case 422 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
7017 |
case 463 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
| 6234 |
consumeMethodInvocationPrimaryWithTypeArguments(); |
7018 |
consumeMethodInvocationPrimaryWithTypeArguments(); |
| 6235 |
break; |
7019 |
break; |
| 6236 |
|
7020 |
|
| 6237 |
case 423 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ |
7021 |
case 464 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ |
| 6238 |
consumeMethodInvocationPrimary(); |
7022 |
consumeMethodInvocationPrimary(); |
| 6239 |
break; |
7023 |
break; |
| 6240 |
|
7024 |
|
| 6241 |
case 424 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
7025 |
case 465 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ |
| 6242 |
consumeMethodInvocationSuperWithTypeArguments(); |
7026 |
consumeMethodInvocationSuperWithTypeArguments(); |
| 6243 |
break; |
7027 |
break; |
| 6244 |
|
7028 |
|
| 6245 |
case 425 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ |
7029 |
case 466 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ |
| 6246 |
consumeMethodInvocationSuper(); |
7030 |
consumeMethodInvocationSuper(); |
| 6247 |
break; |
7031 |
break; |
| 6248 |
|
7032 |
|
| 6249 |
case 426 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ |
7033 |
case 467 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ |
| 6250 |
consumeArrayAccess(true); |
7034 |
consumeArrayAccess(true); |
| 6251 |
break; |
7035 |
break; |
| 6252 |
|
7036 |
|
| 6253 |
case 427 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ |
7037 |
case 468 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ |
| 6254 |
consumeArrayAccess(false); |
7038 |
consumeArrayAccess(false); |
| 6255 |
break; |
7039 |
break; |
| 6256 |
|
7040 |
|
| 6257 |
case 428 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ |
7041 |
case 469 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ |
| 6258 |
consumeArrayAccess(false); |
7042 |
consumeArrayAccess(false); |
| 6259 |
break; |
7043 |
break; |
| 6260 |
|
7044 |
|
| 6261 |
case 430 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ |
7045 |
case 471 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ |
| 6262 |
consumePostfixExpression(); |
7046 |
consumePostfixExpression(); |
| 6263 |
break; |
7047 |
break; |
| 6264 |
|
7048 |
|
| 6265 |
case 433 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ |
7049 |
case 474 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ |
| 6266 |
consumeUnaryExpression(OperatorIds.PLUS,true); |
7050 |
consumeUnaryExpression(OperatorIds.PLUS,true); |
| 6267 |
break; |
7051 |
break; |
| 6268 |
|
7052 |
|
| 6269 |
case 434 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ |
7053 |
case 475 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ |
| 6270 |
consumeUnaryExpression(OperatorIds.MINUS,true); |
7054 |
consumeUnaryExpression(OperatorIds.MINUS,true); |
| 6271 |
break; |
7055 |
break; |
| 6272 |
|
7056 |
|
| 6273 |
case 435 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ |
7057 |
case 476 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ |
| 6274 |
consumePushPosition(); |
7058 |
consumePushPosition(); |
| 6275 |
break; |
7059 |
break; |
| 6276 |
|
7060 |
|
| 6277 |
case 438 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ |
7061 |
case 479 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ |
| 6278 |
consumeUnaryExpression(OperatorIds.PLUS); |
7062 |
consumeUnaryExpression(OperatorIds.PLUS); |
| 6279 |
break; |
7063 |
break; |
| 6280 |
|
7064 |
|
| 6281 |
case 439 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ |
7065 |
case 480 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ |
| 6282 |
consumeUnaryExpression(OperatorIds.MINUS); |
7066 |
consumeUnaryExpression(OperatorIds.MINUS); |
| 6283 |
break; |
7067 |
break; |
| 6284 |
|
7068 |
|
| 6285 |
case 441 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ |
7069 |
case 482 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ |
| 6286 |
consumeUnaryExpression(OperatorIds.PLUS,false); |
7070 |
consumeUnaryExpression(OperatorIds.PLUS,false); |
| 6287 |
break; |
7071 |
break; |
| 6288 |
|
7072 |
|
| 6289 |
case 442 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ |
7073 |
case 483 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ |
| 6290 |
consumeUnaryExpression(OperatorIds.MINUS,false); |
7074 |
consumeUnaryExpression(OperatorIds.MINUS,false); |
| 6291 |
break; |
7075 |
break; |
| 6292 |
|
7076 |
|
| 6293 |
case 444 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ |
7077 |
case 485 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ |
| 6294 |
consumeUnaryExpression(OperatorIds.TWIDDLE); |
7078 |
consumeUnaryExpression(OperatorIds.TWIDDLE); |
| 6295 |
break; |
7079 |
break; |
| 6296 |
|
7080 |
|
| 6297 |
case 445 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ |
7081 |
case 486 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ |
| 6298 |
consumeUnaryExpression(OperatorIds.NOT); |
7082 |
consumeUnaryExpression(OperatorIds.NOT); |
| 6299 |
break; |
7083 |
break; |
| 6300 |
|
7084 |
|
| 6301 |
case 447 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ |
7085 |
case 488 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ |
| 6302 |
consumeCastExpressionWithPrimitiveType(); |
7086 |
consumeCastExpressionWithPrimitiveType(); |
| 6303 |
break; |
7087 |
break; |
| 6304 |
|
7088 |
|
| 6305 |
case 448 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ |
7089 |
case 489 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Modifiers PrimitiveType..."); } //$NON-NLS-1$ |
|
|
7090 |
consumeCastExpressionWithPrimitiveTypeWithTypeAnnotations(); |
| 7091 |
break; |
| 7092 |
|
| 7093 |
case 490 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ |
| 6306 |
consumeCastExpressionWithGenericsArray(); |
7094 |
consumeCastExpressionWithGenericsArray(); |
| 6307 |
break; |
7095 |
break; |
| 6308 |
|
7096 |
|
| 6309 |
case 449 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ |
7097 |
case 491 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Modifiers Name..."); } //$NON-NLS-1$ |
|
|
7098 |
consumeCastExpressionWithGenericsArrayWithTypeAnnotations(); |
| 7099 |
break; |
| 7100 |
|
| 7101 |
case 492 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ |
| 6310 |
consumeCastExpressionWithQualifiedGenericsArray(); |
7102 |
consumeCastExpressionWithQualifiedGenericsArray(); |
| 6311 |
break; |
7103 |
break; |
| 6312 |
|
7104 |
|
| 6313 |
case 450 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ |
7105 |
case 493 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Modifiers Name..."); } //$NON-NLS-1$ |
|
|
7106 |
consumeCastExpressionWithQualifiedGenericsArrayWithTypeAnnotations(); |
| 7107 |
break; |
| 7108 |
|
| 7109 |
case 494 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ |
| 6314 |
consumeCastExpressionLL1(); |
7110 |
consumeCastExpressionLL1(); |
| 6315 |
break; |
7111 |
break; |
| 6316 |
|
7112 |
|
| 6317 |
case 451 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ |
7113 |
case 495 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Modifiers Name..."); } //$NON-NLS-1$ |
|
|
7114 |
consumeCastExpressionLL1WithTypeAnnotations(); |
| 7115 |
break; |
| 7116 |
|
| 7117 |
case 496 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims..."); } //$NON-NLS-1$ |
| 6318 |
consumeCastExpressionWithNameArray(); |
7118 |
consumeCastExpressionWithNameArray(); |
| 6319 |
break; |
7119 |
break; |
| 6320 |
|
7120 |
|
| 6321 |
case 452 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ |
7121 |
case 497 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Modifiers Name Dims..."); } //$NON-NLS-1$ |
|
|
7122 |
consumeCastExpressionWithNameArrayWithTypeAnnotations(); |
| 7123 |
break; |
| 7124 |
|
| 7125 |
case 498 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ |
| 6322 |
consumeOnlyTypeArgumentsForCastExpression(); |
7126 |
consumeOnlyTypeArgumentsForCastExpression(); |
| 6323 |
break; |
7127 |
break; |
| 6324 |
|
7128 |
|
| 6325 |
case 453 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ |
7129 |
case 499 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ |
| 6326 |
consumeInsideCastExpression(); |
7130 |
consumeInsideCastExpression(); |
| 6327 |
break; |
7131 |
break; |
| 6328 |
|
7132 |
|
| 6329 |
case 454 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ |
7133 |
case 500 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ |
| 6330 |
consumeInsideCastExpressionLL1(); |
7134 |
consumeInsideCastExpressionLL1(); |
| 6331 |
break; |
7135 |
break; |
| 6332 |
|
7136 |
|
| 6333 |
case 455 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ |
7137 |
case 501 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ |
| 6334 |
consumeInsideCastExpressionWithQualifiedGenerics(); |
7138 |
consumeInsideCastExpressionWithQualifiedGenerics(); |
| 6335 |
break; |
7139 |
break; |
| 6336 |
|
7140 |
|
| 6337 |
case 457 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
7141 |
case 502 : if (DEBUG) { System.out.println("InsideCastExpressionWithAnnotatedQualifiedGenerics ::="); } //$NON-NLS-1$ |
|
|
7142 |
consumeInsideCastExpressionWithAnnotatedQualifiedGenerics(); |
| 7143 |
break; |
| 7144 |
|
| 7145 |
case 504 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
| 6338 |
consumeBinaryExpression(OperatorIds.MULTIPLY); |
7146 |
consumeBinaryExpression(OperatorIds.MULTIPLY); |
| 6339 |
break; |
7147 |
break; |
| 6340 |
|
7148 |
|
| 6341 |
case 458 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
7149 |
case 505 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
| 6342 |
consumeBinaryExpression(OperatorIds.DIVIDE); |
7150 |
consumeBinaryExpression(OperatorIds.DIVIDE); |
| 6343 |
break; |
7151 |
break; |
| 6344 |
|
7152 |
|
| 6345 |
case 459 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
7153 |
case 506 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ |
| 6346 |
consumeBinaryExpression(OperatorIds.REMAINDER); |
7154 |
consumeBinaryExpression(OperatorIds.REMAINDER); |
| 6347 |
break; |
7155 |
break; |
| 6348 |
|
7156 |
|
| 6349 |
case 461 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ |
7157 |
case 508 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ |
| 6350 |
consumeBinaryExpression(OperatorIds.PLUS); |
7158 |
consumeBinaryExpression(OperatorIds.PLUS); |
| 6351 |
break; |
7159 |
break; |
| 6352 |
|
7160 |
|
| 6353 |
case 462 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ |
7161 |
case 509 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ |
| 6354 |
consumeBinaryExpression(OperatorIds.MINUS); |
7162 |
consumeBinaryExpression(OperatorIds.MINUS); |
| 6355 |
break; |
7163 |
break; |
| 6356 |
|
7164 |
|
| 6357 |
case 464 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ |
7165 |
case 511 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ |
| 6358 |
consumeBinaryExpression(OperatorIds.LEFT_SHIFT); |
7166 |
consumeBinaryExpression(OperatorIds.LEFT_SHIFT); |
| 6359 |
break; |
7167 |
break; |
| 6360 |
|
7168 |
|
| 6361 |
case 465 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ |
7169 |
case 512 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ |
| 6362 |
consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); |
7170 |
consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); |
| 6363 |
break; |
7171 |
break; |
| 6364 |
|
7172 |
|
| 6365 |
case 466 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
7173 |
case 513 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
| 6366 |
consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
7174 |
consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
| 6367 |
break; |
7175 |
break; |
| 6368 |
|
7176 |
|
| 6369 |
case 468 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ |
7177 |
case 515 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ |
| 6370 |
consumeBinaryExpression(OperatorIds.LESS); |
7178 |
consumeBinaryExpression(OperatorIds.LESS); |
| 6371 |
break; |
7179 |
break; |
| 6372 |
|
7180 |
|
| 6373 |
case 469 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ |
7181 |
case 516 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ |
| 6374 |
consumeBinaryExpression(OperatorIds.GREATER); |
7182 |
consumeBinaryExpression(OperatorIds.GREATER); |
| 6375 |
break; |
7183 |
break; |
| 6376 |
|
7184 |
|
| 6377 |
case 470 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ |
7185 |
case 517 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ |
| 6378 |
consumeBinaryExpression(OperatorIds.LESS_EQUAL); |
7186 |
consumeBinaryExpression(OperatorIds.LESS_EQUAL); |
| 6379 |
break; |
7187 |
break; |
| 6380 |
|
7188 |
|
| 6381 |
case 471 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ |
7189 |
case 518 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ |
| 6382 |
consumeBinaryExpression(OperatorIds.GREATER_EQUAL); |
7190 |
consumeBinaryExpression(OperatorIds.GREATER_EQUAL); |
| 6383 |
break; |
7191 |
break; |
| 6384 |
|
7192 |
|
| 6385 |
case 473 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ |
7193 |
case 520 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ |
| 6386 |
consumeInstanceOfExpression(); |
7194 |
consumeInstanceOfExpression(); |
| 6387 |
break; |
7195 |
break; |
| 6388 |
|
7196 |
|
| 6389 |
case 475 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ |
7197 |
case 522 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ |
| 6390 |
consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); |
7198 |
consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); |
| 6391 |
break; |
7199 |
break; |
| 6392 |
|
7200 |
|
| 6393 |
case 476 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ |
7201 |
case 523 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ |
| 6394 |
consumeEqualityExpression(OperatorIds.NOT_EQUAL); |
7202 |
consumeEqualityExpression(OperatorIds.NOT_EQUAL); |
| 6395 |
break; |
7203 |
break; |
| 6396 |
|
7204 |
|
| 6397 |
case 478 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ |
7205 |
case 525 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ |
| 6398 |
consumeBinaryExpression(OperatorIds.AND); |
7206 |
consumeBinaryExpression(OperatorIds.AND); |
| 6399 |
break; |
7207 |
break; |
| 6400 |
|
7208 |
|
| 6401 |
case 480 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ |
7209 |
case 527 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ |
| 6402 |
consumeBinaryExpression(OperatorIds.XOR); |
7210 |
consumeBinaryExpression(OperatorIds.XOR); |
| 6403 |
break; |
7211 |
break; |
| 6404 |
|
7212 |
|
| 6405 |
case 482 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ |
7213 |
case 529 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ |
| 6406 |
consumeBinaryExpression(OperatorIds.OR); |
7214 |
consumeBinaryExpression(OperatorIds.OR); |
| 6407 |
break; |
7215 |
break; |
| 6408 |
|
7216 |
|
| 6409 |
case 484 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ |
7217 |
case 531 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ |
| 6410 |
consumeBinaryExpression(OperatorIds.AND_AND); |
7218 |
consumeBinaryExpression(OperatorIds.AND_AND); |
| 6411 |
break; |
7219 |
break; |
| 6412 |
|
7220 |
|
| 6413 |
case 486 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ |
7221 |
case 533 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ |
| 6414 |
consumeBinaryExpression(OperatorIds.OR_OR); |
7222 |
consumeBinaryExpression(OperatorIds.OR_OR); |
| 6415 |
break; |
7223 |
break; |
| 6416 |
|
7224 |
|
| 6417 |
case 488 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ |
7225 |
case 535 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ |
| 6418 |
consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; |
7226 |
consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; |
| 6419 |
break; |
7227 |
break; |
| 6420 |
|
7228 |
|
| 6421 |
case 491 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ |
7229 |
case 538 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ |
| 6422 |
consumeAssignment(); |
7230 |
consumeAssignment(); |
| 6423 |
break; |
7231 |
break; |
| 6424 |
|
7232 |
|
| 6425 |
case 493 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ |
7233 |
case 540 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ |
| 6426 |
ignoreExpressionAssignment(); |
7234 |
ignoreExpressionAssignment(); |
| 6427 |
break; |
7235 |
break; |
| 6428 |
|
7236 |
|
| 6429 |
case 494 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ |
7237 |
case 541 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ |
| 6430 |
consumeAssignmentOperator(EQUAL); |
7238 |
consumeAssignmentOperator(EQUAL); |
| 6431 |
break; |
7239 |
break; |
| 6432 |
|
7240 |
|
| 6433 |
case 495 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ |
7241 |
case 542 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ |
| 6434 |
consumeAssignmentOperator(MULTIPLY); |
7242 |
consumeAssignmentOperator(MULTIPLY); |
| 6435 |
break; |
7243 |
break; |
| 6436 |
|
7244 |
|
| 6437 |
case 496 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ |
7245 |
case 543 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ |
| 6438 |
consumeAssignmentOperator(DIVIDE); |
7246 |
consumeAssignmentOperator(DIVIDE); |
| 6439 |
break; |
7247 |
break; |
| 6440 |
|
7248 |
|
| 6441 |
case 497 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ |
7249 |
case 544 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ |
| 6442 |
consumeAssignmentOperator(REMAINDER); |
7250 |
consumeAssignmentOperator(REMAINDER); |
| 6443 |
break; |
7251 |
break; |
| 6444 |
|
7252 |
|
| 6445 |
case 498 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ |
7253 |
case 545 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ |
| 6446 |
consumeAssignmentOperator(PLUS); |
7254 |
consumeAssignmentOperator(PLUS); |
| 6447 |
break; |
7255 |
break; |
| 6448 |
|
7256 |
|
| 6449 |
case 499 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ |
7257 |
case 546 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ |
| 6450 |
consumeAssignmentOperator(MINUS); |
7258 |
consumeAssignmentOperator(MINUS); |
| 6451 |
break; |
7259 |
break; |
| 6452 |
|
7260 |
|
| 6453 |
case 500 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
7261 |
case 547 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
| 6454 |
consumeAssignmentOperator(LEFT_SHIFT); |
7262 |
consumeAssignmentOperator(LEFT_SHIFT); |
| 6455 |
break; |
7263 |
break; |
| 6456 |
|
7264 |
|
| 6457 |
case 501 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
7265 |
case 548 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
| 6458 |
consumeAssignmentOperator(RIGHT_SHIFT); |
7266 |
consumeAssignmentOperator(RIGHT_SHIFT); |
| 6459 |
break; |
7267 |
break; |
| 6460 |
|
7268 |
|
| 6461 |
case 502 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
7269 |
case 549 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ |
| 6462 |
consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); |
7270 |
consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); |
| 6463 |
break; |
7271 |
break; |
| 6464 |
|
7272 |
|
| 6465 |
case 503 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ |
7273 |
case 550 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ |
| 6466 |
consumeAssignmentOperator(AND); |
7274 |
consumeAssignmentOperator(AND); |
| 6467 |
break; |
7275 |
break; |
| 6468 |
|
7276 |
|
| 6469 |
case 504 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ |
7277 |
case 551 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ |
| 6470 |
consumeAssignmentOperator(XOR); |
7278 |
consumeAssignmentOperator(XOR); |
| 6471 |
break; |
7279 |
break; |
| 6472 |
|
7280 |
|
| 6473 |
case 505 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ |
7281 |
case 552 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ |
| 6474 |
consumeAssignmentOperator(OR); |
7282 |
consumeAssignmentOperator(OR); |
| 6475 |
break; |
7283 |
break; |
| 6476 |
|
7284 |
|
| 6477 |
case 506 : if (DEBUG) { System.out.println("Expression ::= AssignmentExpression"); } //$NON-NLS-1$ |
7285 |
case 553 : if (DEBUG) { System.out.println("Expression ::= AssignmentExpression"); } //$NON-NLS-1$ |
| 6478 |
consumeExpression(); |
7286 |
consumeExpression(); |
| 6479 |
break; |
7287 |
break; |
| 6480 |
|
7288 |
|
| 6481 |
case 509 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ |
7289 |
case 556 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ |
| 6482 |
consumeEmptyExpression(); |
7290 |
consumeEmptyExpression(); |
| 6483 |
break; |
7291 |
break; |
| 6484 |
|
7292 |
|
| 6485 |
case 514 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ |
7293 |
case 561 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ |
| 6486 |
consumeEmptyClassBodyDeclarationsopt(); |
7294 |
consumeEmptyClassBodyDeclarationsopt(); |
| 6487 |
break; |
7295 |
break; |
| 6488 |
|
7296 |
|
| 6489 |
case 515 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
7297 |
case 562 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
| 6490 |
consumeClassBodyDeclarationsopt(); |
7298 |
consumeClassBodyDeclarationsopt(); |
| 6491 |
break; |
7299 |
break; |
| 6492 |
|
7300 |
|
| 6493 |
case 516 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ |
7301 |
case 563 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ |
| 6494 |
consumeDefaultModifiers(); |
7302 |
consumeDefaultModifiers(); |
| 6495 |
break; |
7303 |
break; |
| 6496 |
|
7304 |
|
| 6497 |
case 517 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ |
7305 |
case 564 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ |
| 6498 |
consumeModifiers(); |
7306 |
consumeModifiers(); |
| 6499 |
break; |
7307 |
break; |
| 6500 |
|
7308 |
|
| 6501 |
case 518 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ |
7309 |
case 565 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ |
| 6502 |
consumeEmptyBlockStatementsopt(); |
7310 |
consumeEmptyBlockStatementsopt(); |
| 6503 |
break; |
7311 |
break; |
| 6504 |
|
7312 |
|
| 6505 |
case 520 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ |
7313 |
case 567 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ |
| 6506 |
consumeEmptyDimsopt(); |
7314 |
consumeEmptyDimsopt(); |
| 6507 |
break; |
7315 |
break; |
| 6508 |
|
7316 |
|
| 6509 |
case 522 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ |
7317 |
case 569 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ |
| 6510 |
consumeEmptyArgumentListopt(); |
7318 |
consumeEmptyArgumentListopt(); |
| 6511 |
break; |
7319 |
break; |
| 6512 |
|
7320 |
|
| 6513 |
case 526 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ |
7321 |
case 573 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ |
| 6514 |
consumeFormalParameterListopt(); |
7322 |
consumeFormalParameterListopt(); |
| 6515 |
break; |
7323 |
break; |
| 6516 |
|
7324 |
|
| 6517 |
case 530 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ |
7325 |
case 577 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ |
| 6518 |
consumeEmptyInterfaceMemberDeclarationsopt(); |
7326 |
consumeEmptyInterfaceMemberDeclarationsopt(); |
| 6519 |
break; |
7327 |
break; |
| 6520 |
|
7328 |
|
| 6521 |
case 531 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
7329 |
case 578 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
| 6522 |
consumeInterfaceMemberDeclarationsopt(); |
7330 |
consumeInterfaceMemberDeclarationsopt(); |
| 6523 |
break; |
7331 |
break; |
| 6524 |
|
7332 |
|
| 6525 |
case 532 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ |
7333 |
case 579 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ |
| 6526 |
consumeNestedType(); |
7334 |
consumeNestedType(); |
| 6527 |
break; |
7335 |
break; |
| 6528 |
|
7336 |
|
| 6529 |
case 533 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ |
7337 |
case 580 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ |
| 6530 |
consumeEmptyForInitopt(); |
7338 |
consumeEmptyForInitopt(); |
| 6531 |
break; |
7339 |
break; |
| 6532 |
|
7340 |
|
| 6533 |
case 535 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ |
7341 |
case 582 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ |
| 6534 |
consumeEmptyForUpdateopt(); |
7342 |
consumeEmptyForUpdateopt(); |
| 6535 |
break; |
7343 |
break; |
| 6536 |
|
7344 |
|
| 6537 |
case 539 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ |
7345 |
case 586 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ |
| 6538 |
consumeEmptyCatchesopt(); |
7346 |
consumeEmptyCatchesopt(); |
| 6539 |
break; |
7347 |
break; |
| 6540 |
|
7348 |
|
| 6541 |
case 541 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ |
7349 |
case 588 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ |
| 6542 |
consumeEnumDeclaration(); |
7350 |
consumeEnumDeclaration(); |
| 6543 |
break; |
7351 |
break; |
| 6544 |
|
7352 |
|
| 6545 |
case 542 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ |
7353 |
case 589 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ |
| 6546 |
consumeEnumHeader(); |
7354 |
consumeEnumHeader(); |
| 6547 |
break; |
7355 |
break; |
| 6548 |
|
7356 |
|
| 6549 |
case 543 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ |
7357 |
case 590 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ |
| 6550 |
consumeEnumHeaderName(); |
7358 |
consumeEnumHeaderName(); |
| 6551 |
break; |
7359 |
break; |
| 6552 |
|
7360 |
|
| 6553 |
case 544 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier..."); } //$NON-NLS-1$ |
7361 |
case 591 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier..."); } //$NON-NLS-1$ |
| 6554 |
consumeEnumHeaderNameWithTypeParameters(); |
7362 |
consumeEnumHeaderNameWithTypeParameters(); |
| 6555 |
break; |
7363 |
break; |
| 6556 |
|
7364 |
|
| 6557 |
case 545 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ |
7365 |
case 592 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ |
| 6558 |
consumeEnumBodyNoConstants(); |
7366 |
consumeEnumBodyNoConstants(); |
| 6559 |
break; |
7367 |
break; |
| 6560 |
|
7368 |
|
| 6561 |
case 546 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ |
7369 |
case 593 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ |
| 6562 |
consumeEnumBodyNoConstants(); |
7370 |
consumeEnumBodyNoConstants(); |
| 6563 |
break; |
7371 |
break; |
| 6564 |
|
7372 |
|
| 6565 |
case 547 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ |
7373 |
case 594 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ |
| 6566 |
consumeEnumBodyWithConstants(); |
7374 |
consumeEnumBodyWithConstants(); |
| 6567 |
break; |
7375 |
break; |
| 6568 |
|
7376 |
|
| 6569 |
case 548 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ |
7377 |
case 595 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ |
| 6570 |
consumeEnumBodyWithConstants(); |
7378 |
consumeEnumBodyWithConstants(); |
| 6571 |
break; |
7379 |
break; |
| 6572 |
|
7380 |
|
| 6573 |
case 550 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ |
7381 |
case 597 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ |
| 6574 |
consumeEnumConstants(); |
7382 |
consumeEnumConstants(); |
| 6575 |
break; |
7383 |
break; |
| 6576 |
|
7384 |
|
| 6577 |
case 551 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ |
7385 |
case 598 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ |
| 6578 |
consumeEnumConstantHeaderName(); |
7386 |
consumeEnumConstantHeaderName(); |
| 6579 |
break; |
7387 |
break; |
| 6580 |
|
7388 |
|
| 6581 |
case 552 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ |
7389 |
case 599 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ |
| 6582 |
consumeEnumConstantHeader(); |
7390 |
consumeEnumConstantHeader(); |
| 6583 |
break; |
7391 |
break; |
| 6584 |
|
7392 |
|
| 6585 |
case 553 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ |
7393 |
case 600 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ |
| 6586 |
consumeEnumConstantWithClassBody(); |
7394 |
consumeEnumConstantWithClassBody(); |
| 6587 |
break; |
7395 |
break; |
| 6588 |
|
7396 |
|
| 6589 |
case 554 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ |
7397 |
case 601 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ |
| 6590 |
consumeEnumConstantNoClassBody(); |
7398 |
consumeEnumConstantNoClassBody(); |
| 6591 |
break; |
7399 |
break; |
| 6592 |
|
7400 |
|
| 6593 |
case 555 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ |
7401 |
case 602 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ |
| 6594 |
consumeArguments(); |
7402 |
consumeArguments(); |
| 6595 |
break; |
7403 |
break; |
| 6596 |
|
7404 |
|
| 6597 |
case 556 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ |
7405 |
case 603 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ |
| 6598 |
consumeEmptyArguments(); |
7406 |
consumeEmptyArguments(); |
| 6599 |
break; |
7407 |
break; |
| 6600 |
|
7408 |
|
| 6601 |
case 558 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ |
7409 |
case 605 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ |
| 6602 |
consumeEnumDeclarations(); |
7410 |
consumeEnumDeclarations(); |
| 6603 |
break; |
7411 |
break; |
| 6604 |
|
7412 |
|
| 6605 |
case 559 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ |
7413 |
case 606 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ |
| 6606 |
consumeEmptyEnumDeclarations(); |
7414 |
consumeEmptyEnumDeclarations(); |
| 6607 |
break; |
7415 |
break; |
| 6608 |
|
7416 |
|
| 6609 |
case 561 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ |
7417 |
case 608 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ |
| 6610 |
consumeEnhancedForStatement(); |
7418 |
consumeEnhancedForStatement(); |
| 6611 |
break; |
7419 |
break; |
| 6612 |
|
7420 |
|
| 6613 |
case 562 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ |
7421 |
case 609 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ |
| 6614 |
consumeEnhancedForStatement(); |
7422 |
consumeEnhancedForStatement(); |
| 6615 |
break; |
7423 |
break; |
| 6616 |
|
7424 |
|
| 6617 |
case 563 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Type..."); } //$NON-NLS-1$ |
7425 |
case 610 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Type0..."); } //$NON-NLS-1$ |
| 6618 |
consumeEnhancedForStatementHeaderInit(false); |
7426 |
consumeEnhancedForStatementHeaderInit(false); |
| 6619 |
break; |
7427 |
break; |
| 6620 |
|
7428 |
|
| 6621 |
case 564 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Modifiers"); } //$NON-NLS-1$ |
7429 |
case 611 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Modifiers"); } //$NON-NLS-1$ |
| 6622 |
consumeEnhancedForStatementHeaderInit(true); |
7430 |
consumeEnhancedForStatementHeaderInit(true); |
| 6623 |
break; |
7431 |
break; |
| 6624 |
|
7432 |
|
| 6625 |
case 565 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::=..."); } //$NON-NLS-1$ |
7433 |
case 612 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::=..."); } //$NON-NLS-1$ |
| 6626 |
consumeEnhancedForStatementHeader(); |
7434 |
consumeEnhancedForStatementHeader(); |
| 6627 |
break; |
7435 |
break; |
| 6628 |
|
7436 |
|
| 6629 |
case 566 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ |
7437 |
case 613 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ |
| 6630 |
consumeImportDeclaration(); |
7438 |
consumeImportDeclaration(); |
| 6631 |
break; |
7439 |
break; |
| 6632 |
|
7440 |
|
| 6633 |
case 567 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ |
7441 |
case 614 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ |
| 6634 |
consumeSingleStaticImportDeclarationName(); |
7442 |
consumeSingleStaticImportDeclarationName(); |
| 6635 |
break; |
7443 |
break; |
| 6636 |
|
7444 |
|
| 6637 |
case 568 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ |
7445 |
case 615 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ |
| 6638 |
consumeImportDeclaration(); |
7446 |
consumeImportDeclaration(); |
| 6639 |
break; |
7447 |
break; |
| 6640 |
|
7448 |
|
| 6641 |
case 569 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ |
7449 |
case 616 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ |
| 6642 |
consumeStaticImportOnDemandDeclarationName(); |
7450 |
consumeStaticImportOnDemandDeclarationName(); |
| 6643 |
break; |
7451 |
break; |
| 6644 |
|
7452 |
|
| 6645 |
case 570 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ |
7453 |
case 617 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ |
| 6646 |
consumeTypeArguments(); |
7454 |
consumeTypeArguments(); |
| 6647 |
break; |
7455 |
break; |
| 6648 |
|
7456 |
|
| 6649 |
case 571 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ |
7457 |
case 618 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ |
| 6650 |
consumeOnlyTypeArguments(); |
7458 |
consumeOnlyTypeArguments(); |
| 6651 |
break; |
7459 |
break; |
| 6652 |
|
7460 |
|
| 6653 |
case 573 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
7461 |
case 620 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
| 6654 |
consumeTypeArgumentList1(); |
7462 |
consumeTypeArgumentList1(); |
| 6655 |
break; |
7463 |
break; |
| 6656 |
|
7464 |
|
| 6657 |
case 575 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ |
7465 |
case 622 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ |
| 6658 |
consumeTypeArgumentList(); |
7466 |
consumeTypeArgumentList(); |
| 6659 |
break; |
7467 |
break; |
| 6660 |
|
7468 |
|
| 6661 |
case 576 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ |
7469 |
case 623 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ |
| 6662 |
consumeTypeArgument(); |
7470 |
consumeTypeArgument(); |
| 6663 |
break; |
7471 |
break; |
| 6664 |
|
7472 |
|
| 6665 |
case 580 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ |
7473 |
case 627 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ |
| 6666 |
consumeReferenceType1(); |
7474 |
consumeReferenceType1(); |
| 6667 |
break; |
7475 |
break; |
| 6668 |
|
7476 |
|
| 6669 |
case 581 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ |
7477 |
case 628 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ |
| 6670 |
consumeTypeArgumentReferenceType1(); |
7478 |
consumeTypeArgumentReferenceType1(); |
| 6671 |
break; |
7479 |
break; |
| 6672 |
|
7480 |
|
| 6673 |
case 583 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
7481 |
case 629 : if (DEBUG) { System.out.println("ReferenceType1 ::= Modifiers ClassOrInterface LESS..."); } //$NON-NLS-1$ |
|
|
7482 |
consumeTypeArgumentReferenceType1WithTypeAnnotations(); |
| 7483 |
break; |
| 7484 |
|
| 7485 |
case 631 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
| 6674 |
consumeTypeArgumentList2(); |
7486 |
consumeTypeArgumentList2(); |
| 6675 |
break; |
7487 |
break; |
| 6676 |
|
7488 |
|
| 6677 |
case 586 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ |
7489 |
case 634 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ |
| 6678 |
consumeReferenceType2(); |
7490 |
consumeReferenceType2(); |
| 6679 |
break; |
7491 |
break; |
| 6680 |
|
7492 |
|
| 6681 |
case 587 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ |
7493 |
case 635 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ |
| 6682 |
consumeTypeArgumentReferenceType2(); |
7494 |
consumeTypeArgumentReferenceType2(); |
| 6683 |
break; |
7495 |
break; |
| 6684 |
|
7496 |
|
| 6685 |
case 589 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
7497 |
case 636 : if (DEBUG) { System.out.println("ReferenceType2 ::= Modifiers ClassOrInterface LESS..."); } //$NON-NLS-1$ |
|
|
7498 |
consumeTypeArgumentReferenceType2WithTypeAnnotations(); |
| 7499 |
break; |
| 7500 |
|
| 7501 |
case 638 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ |
| 6686 |
consumeTypeArgumentList3(); |
7502 |
consumeTypeArgumentList3(); |
| 6687 |
break; |
7503 |
break; |
| 6688 |
|
7504 |
|
| 6689 |
case 592 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
7505 |
case 641 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
| 6690 |
consumeReferenceType3(); |
7506 |
consumeReferenceType3(); |
| 6691 |
break; |
7507 |
break; |
| 6692 |
|
7508 |
|
| 6693 |
case 593 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ |
7509 |
case 642 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ |
| 6694 |
consumeWildcard(); |
7510 |
consumeWildcard(); |
| 6695 |
break; |
7511 |
break; |
| 6696 |
|
7512 |
|
| 6697 |
case 594 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ |
7513 |
case 643 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ |
| 6698 |
consumeWildcardWithBounds(); |
7514 |
consumeWildcardWithBounds(); |
| 6699 |
break; |
7515 |
break; |
| 6700 |
|
7516 |
|
| 6701 |
case 595 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ |
7517 |
case 644 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ |
| 6702 |
consumeWildcardBoundsExtends(); |
7518 |
consumeWildcardBoundsExtends(); |
| 6703 |
break; |
7519 |
break; |
| 6704 |
|
7520 |
|
| 6705 |
case 596 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ |
7521 |
case 645 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ |
| 6706 |
consumeWildcardBoundsSuper(); |
7522 |
consumeWildcardBoundsSuper(); |
| 6707 |
break; |
7523 |
break; |
| 6708 |
|
7524 |
|
| 6709 |
case 597 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ |
7525 |
case 646 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ |
| 6710 |
consumeWildcard1(); |
7526 |
consumeWildcard1(); |
| 6711 |
break; |
7527 |
break; |
| 6712 |
|
7528 |
|
| 6713 |
case 598 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ |
7529 |
case 647 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ |
| 6714 |
consumeWildcard1WithBounds(); |
7530 |
consumeWildcard1WithBounds(); |
| 6715 |
break; |
7531 |
break; |
| 6716 |
|
7532 |
|
| 6717 |
case 599 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ |
7533 |
case 648 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ |
| 6718 |
consumeWildcardBounds1Extends(); |
7534 |
consumeWildcardBounds1Extends(); |
| 6719 |
break; |
7535 |
break; |
| 6720 |
|
7536 |
|
| 6721 |
case 600 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ |
7537 |
case 649 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ |
| 6722 |
consumeWildcardBounds1Super(); |
7538 |
consumeWildcardBounds1Super(); |
| 6723 |
break; |
7539 |
break; |
| 6724 |
|
7540 |
|
| 6725 |
case 601 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ |
7541 |
case 650 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ |
| 6726 |
consumeWildcard2(); |
7542 |
consumeWildcard2(); |
| 6727 |
break; |
7543 |
break; |
| 6728 |
|
7544 |
|
| 6729 |
case 602 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ |
7545 |
case 651 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ |
| 6730 |
consumeWildcard2WithBounds(); |
7546 |
consumeWildcard2WithBounds(); |
| 6731 |
break; |
7547 |
break; |
| 6732 |
|
7548 |
|
| 6733 |
case 603 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ |
7549 |
case 652 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ |
| 6734 |
consumeWildcardBounds2Extends(); |
7550 |
consumeWildcardBounds2Extends(); |
| 6735 |
break; |
7551 |
break; |
| 6736 |
|
7552 |
|
| 6737 |
case 604 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ |
7553 |
case 653 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ |
| 6738 |
consumeWildcardBounds2Super(); |
7554 |
consumeWildcardBounds2Super(); |
| 6739 |
break; |
7555 |
break; |
| 6740 |
|
7556 |
|
| 6741 |
case 605 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
7557 |
case 654 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ |
| 6742 |
consumeWildcard3(); |
7558 |
consumeWildcard3(); |
| 6743 |
break; |
7559 |
break; |
| 6744 |
|
7560 |
|
| 6745 |
case 606 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ |
7561 |
case 655 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ |
| 6746 |
consumeWildcard3WithBounds(); |
7562 |
consumeWildcard3WithBounds(); |
| 6747 |
break; |
7563 |
break; |
| 6748 |
|
7564 |
|
| 6749 |
case 607 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ |
7565 |
case 656 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ |
| 6750 |
consumeWildcardBounds3Extends(); |
7566 |
consumeWildcardBounds3Extends(); |
| 6751 |
break; |
7567 |
break; |
| 6752 |
|
7568 |
|
| 6753 |
case 608 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ |
7569 |
case 657 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ |
| 6754 |
consumeWildcardBounds3Super(); |
7570 |
consumeWildcardBounds3Super(); |
| 6755 |
break; |
7571 |
break; |
| 6756 |
|
7572 |
|
| 6757 |
case 609 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ |
7573 |
case 658 : if (DEBUG) { System.out.println("PushZeroTypeAnnotations ::="); } //$NON-NLS-1$ |
|
|
7574 |
consumeZeroTypeAnnotations(true); |
| 7575 |
break; |
| 7576 |
|
| 7577 |
case 659 : if (DEBUG) { System.out.println("TypeParameterHeader ::= PushZeroTypeAnnotations..."); } //$NON-NLS-1$ |
| 6758 |
consumeTypeParameterHeader(); |
7578 |
consumeTypeParameterHeader(); |
| 6759 |
break; |
7579 |
break; |
| 6760 |
|
7580 |
|
| 6761 |
case 610 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ |
7581 |
case 660 : if (DEBUG) { System.out.println("TypeParameterHeader ::= TypeAnnotations Identifier"); } //$NON-NLS-1$ |
|
|
7582 |
consumeTypeParameterHeader(); |
| 7583 |
break; |
| 7584 |
|
| 7585 |
case 661 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ |
| 6762 |
consumeTypeParameters(); |
7586 |
consumeTypeParameters(); |
| 6763 |
break; |
7587 |
break; |
| 6764 |
|
7588 |
|
| 6765 |
case 612 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ |
7589 |
case 663 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ |
| 6766 |
consumeTypeParameterList(); |
7590 |
consumeTypeParameterList(); |
| 6767 |
break; |
7591 |
break; |
| 6768 |
|
7592 |
|
| 6769 |
case 614 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
7593 |
case 665 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
| 6770 |
consumeTypeParameterWithExtends(); |
7594 |
consumeTypeParameterWithExtends(); |
| 6771 |
break; |
7595 |
break; |
| 6772 |
|
7596 |
|
| 6773 |
case 615 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
7597 |
case 666 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
| 6774 |
consumeTypeParameterWithExtendsAndBounds(); |
7598 |
consumeTypeParameterWithExtendsAndBounds(); |
| 6775 |
break; |
7599 |
break; |
| 6776 |
|
7600 |
|
| 6777 |
case 617 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ |
7601 |
case 668 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ |
| 6778 |
consumeAdditionalBoundList(); |
7602 |
consumeAdditionalBoundList(); |
| 6779 |
break; |
7603 |
break; |
| 6780 |
|
7604 |
|
| 6781 |
case 618 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ |
7605 |
case 669 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ |
| 6782 |
consumeAdditionalBound(); |
7606 |
consumeAdditionalBound(); |
| 6783 |
break; |
7607 |
break; |
| 6784 |
|
7608 |
|
| 6785 |
case 620 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ |
7609 |
case 671 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ |
| 6786 |
consumeTypeParameterList1(); |
7610 |
consumeTypeParameterList1(); |
| 6787 |
break; |
7611 |
break; |
| 6788 |
|
7612 |
|
| 6789 |
case 621 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ |
7613 |
case 672 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ |
| 6790 |
consumeTypeParameter1(); |
7614 |
consumeTypeParameter1(); |
| 6791 |
break; |
7615 |
break; |
| 6792 |
|
7616 |
|
| 6793 |
case 622 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
7617 |
case 673 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
| 6794 |
consumeTypeParameter1WithExtends(); |
7618 |
consumeTypeParameter1WithExtends(); |
| 6795 |
break; |
7619 |
break; |
| 6796 |
|
7620 |
|
| 6797 |
case 623 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
7621 |
case 674 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ |
| 6798 |
consumeTypeParameter1WithExtendsAndBounds(); |
7622 |
consumeTypeParameter1WithExtendsAndBounds(); |
| 6799 |
break; |
7623 |
break; |
| 6800 |
|
7624 |
|
| 6801 |
case 625 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ |
7625 |
case 676 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ |
| 6802 |
consumeAdditionalBoundList1(); |
7626 |
consumeAdditionalBoundList1(); |
| 6803 |
break; |
7627 |
break; |
| 6804 |
|
7628 |
|
| 6805 |
case 626 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ |
7629 |
case 677 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ |
| 6806 |
consumeAdditionalBound1(); |
7630 |
consumeAdditionalBound1(); |
| 6807 |
break; |
7631 |
break; |
| 6808 |
|
7632 |
|
| 6809 |
case 632 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ |
7633 |
case 683 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ |
| 6810 |
consumeUnaryExpression(OperatorIds.PLUS); |
7634 |
consumeUnaryExpression(OperatorIds.PLUS); |
| 6811 |
break; |
7635 |
break; |
| 6812 |
|
7636 |
|
| 6813 |
case 633 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ |
7637 |
case 684 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ |
| 6814 |
consumeUnaryExpression(OperatorIds.MINUS); |
7638 |
consumeUnaryExpression(OperatorIds.MINUS); |
| 6815 |
break; |
7639 |
break; |
| 6816 |
|
7640 |
|
| 6817 |
case 636 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ |
7641 |
case 687 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ |
| 6818 |
consumeUnaryExpression(OperatorIds.TWIDDLE); |
7642 |
consumeUnaryExpression(OperatorIds.TWIDDLE); |
| 6819 |
break; |
7643 |
break; |
| 6820 |
|
7644 |
|
| 6821 |
case 637 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ |
7645 |
case 688 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ |
| 6822 |
consumeUnaryExpression(OperatorIds.NOT); |
7646 |
consumeUnaryExpression(OperatorIds.NOT); |
| 6823 |
break; |
7647 |
break; |
| 6824 |
|
7648 |
|
| 6825 |
case 640 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
7649 |
case 691 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6826 |
consumeBinaryExpression(OperatorIds.MULTIPLY); |
7650 |
consumeBinaryExpression(OperatorIds.MULTIPLY); |
| 6827 |
break; |
7651 |
break; |
| 6828 |
|
7652 |
|
| 6829 |
case 641 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ |
7653 |
case 692 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ |
| 6830 |
consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); |
7654 |
consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); |
| 6831 |
break; |
7655 |
break; |
| 6832 |
|
7656 |
|
| 6833 |
case 642 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
7657 |
case 693 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6834 |
consumeBinaryExpression(OperatorIds.DIVIDE); |
7658 |
consumeBinaryExpression(OperatorIds.DIVIDE); |
| 6835 |
break; |
7659 |
break; |
| 6836 |
|
7660 |
|
| 6837 |
case 643 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ |
7661 |
case 694 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ |
| 6838 |
consumeBinaryExpressionWithName(OperatorIds.DIVIDE); |
7662 |
consumeBinaryExpressionWithName(OperatorIds.DIVIDE); |
| 6839 |
break; |
7663 |
break; |
| 6840 |
|
7664 |
|
| 6841 |
case 644 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
7665 |
case 695 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6842 |
consumeBinaryExpression(OperatorIds.REMAINDER); |
7666 |
consumeBinaryExpression(OperatorIds.REMAINDER); |
| 6843 |
break; |
7667 |
break; |
| 6844 |
|
7668 |
|
| 6845 |
case 645 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ |
7669 |
case 696 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ |
| 6846 |
consumeBinaryExpressionWithName(OperatorIds.REMAINDER); |
7670 |
consumeBinaryExpressionWithName(OperatorIds.REMAINDER); |
| 6847 |
break; |
7671 |
break; |
| 6848 |
|
7672 |
|
| 6849 |
case 647 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ |
7673 |
case 698 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6850 |
consumeBinaryExpression(OperatorIds.PLUS); |
7674 |
consumeBinaryExpression(OperatorIds.PLUS); |
| 6851 |
break; |
7675 |
break; |
| 6852 |
|
7676 |
|
| 6853 |
case 648 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ |
7677 |
case 699 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ |
| 6854 |
consumeBinaryExpressionWithName(OperatorIds.PLUS); |
7678 |
consumeBinaryExpressionWithName(OperatorIds.PLUS); |
| 6855 |
break; |
7679 |
break; |
| 6856 |
|
7680 |
|
| 6857 |
case 649 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ |
7681 |
case 700 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6858 |
consumeBinaryExpression(OperatorIds.MINUS); |
7682 |
consumeBinaryExpression(OperatorIds.MINUS); |
| 6859 |
break; |
7683 |
break; |
| 6860 |
|
7684 |
|
| 6861 |
case 650 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ |
7685 |
case 701 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ |
| 6862 |
consumeBinaryExpressionWithName(OperatorIds.MINUS); |
7686 |
consumeBinaryExpressionWithName(OperatorIds.MINUS); |
| 6863 |
break; |
7687 |
break; |
| 6864 |
|
7688 |
|
| 6865 |
case 652 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
7689 |
case 703 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
| 6866 |
consumeBinaryExpression(OperatorIds.LEFT_SHIFT); |
7690 |
consumeBinaryExpression(OperatorIds.LEFT_SHIFT); |
| 6867 |
break; |
7691 |
break; |
| 6868 |
|
7692 |
|
| 6869 |
case 653 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ |
7693 |
case 704 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ |
| 6870 |
consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); |
7694 |
consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); |
| 6871 |
break; |
7695 |
break; |
| 6872 |
|
7696 |
|
| 6873 |
case 654 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
7697 |
case 705 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
| 6874 |
consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); |
7698 |
consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); |
| 6875 |
break; |
7699 |
break; |
| 6876 |
|
7700 |
|
| 6877 |
case 655 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ |
7701 |
case 706 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ |
| 6878 |
consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); |
7702 |
consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); |
| 6879 |
break; |
7703 |
break; |
| 6880 |
|
7704 |
|
| 6881 |
case 656 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
7705 |
case 707 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ |
| 6882 |
consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
7706 |
consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
| 6883 |
break; |
7707 |
break; |
| 6884 |
|
7708 |
|
| 6885 |
case 657 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ |
7709 |
case 708 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ |
| 6886 |
consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
7710 |
consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); |
| 6887 |
break; |
7711 |
break; |
| 6888 |
|
7712 |
|
| 6889 |
case 659 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ |
7713 |
case 710 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ |
| 6890 |
consumeBinaryExpression(OperatorIds.LESS); |
7714 |
consumeBinaryExpression(OperatorIds.LESS); |
| 6891 |
break; |
7715 |
break; |
| 6892 |
|
7716 |
|
| 6893 |
case 660 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ |
7717 |
case 711 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ |
| 6894 |
consumeBinaryExpressionWithName(OperatorIds.LESS); |
7718 |
consumeBinaryExpressionWithName(OperatorIds.LESS); |
| 6895 |
break; |
7719 |
break; |
| 6896 |
|
7720 |
|
| 6897 |
case 661 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ |
7721 |
case 712 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ |
| 6898 |
consumeBinaryExpression(OperatorIds.GREATER); |
7722 |
consumeBinaryExpression(OperatorIds.GREATER); |
| 6899 |
break; |
7723 |
break; |
| 6900 |
|
7724 |
|
| 6901 |
case 662 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ |
7725 |
case 713 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ |
| 6902 |
consumeBinaryExpressionWithName(OperatorIds.GREATER); |
7726 |
consumeBinaryExpressionWithName(OperatorIds.GREATER); |
| 6903 |
break; |
7727 |
break; |
| 6904 |
|
7728 |
|
| 6905 |
case 663 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ |
7729 |
case 714 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6906 |
consumeBinaryExpression(OperatorIds.LESS_EQUAL); |
7730 |
consumeBinaryExpression(OperatorIds.LESS_EQUAL); |
| 6907 |
break; |
7731 |
break; |
| 6908 |
|
7732 |
|
| 6909 |
case 664 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ |
7733 |
case 715 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ |
| 6910 |
consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); |
7734 |
consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); |
| 6911 |
break; |
7735 |
break; |
| 6912 |
|
7736 |
|
| 6913 |
case 665 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ |
7737 |
case 716 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6914 |
consumeBinaryExpression(OperatorIds.GREATER_EQUAL); |
7738 |
consumeBinaryExpression(OperatorIds.GREATER_EQUAL); |
| 6915 |
break; |
7739 |
break; |
| 6916 |
|
7740 |
|
| 6917 |
case 666 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ |
7741 |
case 717 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ |
| 6918 |
consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); |
7742 |
consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); |
| 6919 |
break; |
7743 |
break; |
| 6920 |
|
7744 |
|
| 6921 |
case 668 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ |
7745 |
case 719 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ |
| 6922 |
consumeInstanceOfExpressionWithName(); |
7746 |
consumeInstanceOfExpressionWithName(); |
| 6923 |
break; |
7747 |
break; |
| 6924 |
|
7748 |
|
| 6925 |
case 669 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ |
7749 |
case 720 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6926 |
consumeInstanceOfExpression(); |
7750 |
consumeInstanceOfExpression(); |
| 6927 |
break; |
7751 |
break; |
| 6928 |
|
7752 |
|
| 6929 |
case 671 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ |
7753 |
case 722 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6930 |
consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); |
7754 |
consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); |
| 6931 |
break; |
7755 |
break; |
| 6932 |
|
7756 |
|
| 6933 |
case 672 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ |
7757 |
case 723 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ |
| 6934 |
consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); |
7758 |
consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); |
| 6935 |
break; |
7759 |
break; |
| 6936 |
|
7760 |
|
| 6937 |
case 673 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ |
7761 |
case 724 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6938 |
consumeEqualityExpression(OperatorIds.NOT_EQUAL); |
7762 |
consumeEqualityExpression(OperatorIds.NOT_EQUAL); |
| 6939 |
break; |
7763 |
break; |
| 6940 |
|
7764 |
|
| 6941 |
case 674 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ |
7765 |
case 725 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ |
| 6942 |
consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); |
7766 |
consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); |
| 6943 |
break; |
7767 |
break; |
| 6944 |
|
7768 |
|
| 6945 |
case 676 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ |
7769 |
case 727 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ |
| 6946 |
consumeBinaryExpression(OperatorIds.AND); |
7770 |
consumeBinaryExpression(OperatorIds.AND); |
| 6947 |
break; |
7771 |
break; |
| 6948 |
|
7772 |
|
| 6949 |
case 677 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ |
7773 |
case 728 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ |
| 6950 |
consumeBinaryExpressionWithName(OperatorIds.AND); |
7774 |
consumeBinaryExpressionWithName(OperatorIds.AND); |
| 6951 |
break; |
7775 |
break; |
| 6952 |
|
7776 |
|
| 6953 |
case 679 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
7777 |
case 730 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6954 |
consumeBinaryExpression(OperatorIds.XOR); |
7778 |
consumeBinaryExpression(OperatorIds.XOR); |
| 6955 |
break; |
7779 |
break; |
| 6956 |
|
7780 |
|
| 6957 |
case 680 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ |
7781 |
case 731 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ |
| 6958 |
consumeBinaryExpressionWithName(OperatorIds.XOR); |
7782 |
consumeBinaryExpressionWithName(OperatorIds.XOR); |
| 6959 |
break; |
7783 |
break; |
| 6960 |
|
7784 |
|
| 6961 |
case 682 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
7785 |
case 733 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6962 |
consumeBinaryExpression(OperatorIds.OR); |
7786 |
consumeBinaryExpression(OperatorIds.OR); |
| 6963 |
break; |
7787 |
break; |
| 6964 |
|
7788 |
|
| 6965 |
case 683 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ |
7789 |
case 734 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ |
| 6966 |
consumeBinaryExpressionWithName(OperatorIds.OR); |
7790 |
consumeBinaryExpressionWithName(OperatorIds.OR); |
| 6967 |
break; |
7791 |
break; |
| 6968 |
|
7792 |
|
| 6969 |
case 685 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ |
7793 |
case 736 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6970 |
consumeBinaryExpression(OperatorIds.AND_AND); |
7794 |
consumeBinaryExpression(OperatorIds.AND_AND); |
| 6971 |
break; |
7795 |
break; |
| 6972 |
|
7796 |
|
| 6973 |
case 686 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ |
7797 |
case 737 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ |
| 6974 |
consumeBinaryExpressionWithName(OperatorIds.AND_AND); |
7798 |
consumeBinaryExpressionWithName(OperatorIds.AND_AND); |
| 6975 |
break; |
7799 |
break; |
| 6976 |
|
7800 |
|
| 6977 |
case 688 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
7801 |
case 739 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6978 |
consumeBinaryExpression(OperatorIds.OR_OR); |
7802 |
consumeBinaryExpression(OperatorIds.OR_OR); |
| 6979 |
break; |
7803 |
break; |
| 6980 |
|
7804 |
|
| 6981 |
case 689 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ |
7805 |
case 740 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ |
| 6982 |
consumeBinaryExpressionWithName(OperatorIds.OR_OR); |
7806 |
consumeBinaryExpressionWithName(OperatorIds.OR_OR); |
| 6983 |
break; |
7807 |
break; |
| 6984 |
|
7808 |
|
| 6985 |
case 691 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ |
7809 |
case 742 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ |
| 6986 |
consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; |
7810 |
consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; |
| 6987 |
break; |
7811 |
break; |
| 6988 |
|
7812 |
|
| 6989 |
case 692 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ |
7813 |
case 743 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ |
| 6990 |
consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; |
7814 |
consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; |
| 6991 |
break; |
7815 |
break; |
| 6992 |
|
7816 |
|
| 6993 |
case 696 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ |
7817 |
case 747 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ |
| 6994 |
consumeAnnotationTypeDeclarationHeaderName() ; |
7818 |
consumeAnnotationTypeDeclarationHeaderName() ; |
| 6995 |
break; |
7819 |
break; |
| 6996 |
|
7820 |
|
| 6997 |
case 697 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ |
7821 |
case 748 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ |
| 6998 |
consumeAnnotationTypeDeclarationHeaderNameWithTypeParameters() ; |
7822 |
consumeAnnotationTypeDeclarationHeaderNameWithTypeParameters() ; |
| 6999 |
break; |
7823 |
break; |
| 7000 |
|
7824 |
|
| 7001 |
case 698 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ |
7825 |
case 749 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ |
| 7002 |
consumeAnnotationTypeDeclarationHeaderNameWithTypeParameters() ; |
7826 |
consumeAnnotationTypeDeclarationHeaderNameWithTypeParameters() ; |
| 7003 |
break; |
7827 |
break; |
| 7004 |
|
7828 |
|
| 7005 |
case 699 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ |
7829 |
case 750 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ |
| 7006 |
consumeAnnotationTypeDeclarationHeaderName() ; |
7830 |
consumeAnnotationTypeDeclarationHeaderName() ; |
| 7007 |
break; |
7831 |
break; |
| 7008 |
|
7832 |
|
| 7009 |
case 700 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::=..."); } //$NON-NLS-1$ |
7833 |
case 751 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::=..."); } //$NON-NLS-1$ |
| 7010 |
consumeAnnotationTypeDeclarationHeader() ; |
7834 |
consumeAnnotationTypeDeclarationHeader() ; |
| 7011 |
break; |
7835 |
break; |
| 7012 |
|
7836 |
|
| 7013 |
case 701 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ |
7837 |
case 752 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ |
| 7014 |
consumeAnnotationTypeDeclaration() ; |
7838 |
consumeAnnotationTypeDeclaration() ; |
| 7015 |
break; |
7839 |
break; |
| 7016 |
|
7840 |
|
| 7017 |
case 703 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ |
7841 |
case 754 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ |
| 7018 |
consumeEmptyAnnotationTypeMemberDeclarationsopt() ; |
7842 |
consumeEmptyAnnotationTypeMemberDeclarationsopt() ; |
| 7019 |
break; |
7843 |
break; |
| 7020 |
|
7844 |
|
| 7021 |
case 704 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
7845 |
case 755 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ |
| 7022 |
consumeAnnotationTypeMemberDeclarationsopt() ; |
7846 |
consumeAnnotationTypeMemberDeclarationsopt() ; |
| 7023 |
break; |
7847 |
break; |
| 7024 |
|
7848 |
|
| 7025 |
case 706 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ |
7849 |
case 757 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ |
| 7026 |
consumeAnnotationTypeMemberDeclarations() ; |
7850 |
consumeAnnotationTypeMemberDeclarations() ; |
| 7027 |
break; |
7851 |
break; |
| 7028 |
|
7852 |
|
| 7029 |
case 707 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt..."); } //$NON-NLS-1$ |
7853 |
case 758 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt..."); } //$NON-NLS-1$ |
| 7030 |
consumeMethodHeaderNameWithTypeParameters(true); |
7854 |
consumeMethodHeaderNameWithTypeParameters(true); |
| 7031 |
break; |
7855 |
break; |
| 7032 |
|
7856 |
|
| 7033 |
case 708 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ |
7857 |
case 759 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt Type0..."); } //$NON-NLS-1$ |
| 7034 |
consumeMethodHeaderName(true); |
7858 |
consumeMethodHeaderName(true); |
| 7035 |
break; |
7859 |
break; |
| 7036 |
|
7860 |
|
| 7037 |
case 709 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::="); } //$NON-NLS-1$ |
7861 |
case 760 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::="); } //$NON-NLS-1$ |
| 7038 |
consumeEmptyMethodHeaderDefaultValue() ; |
7862 |
consumeEmptyMethodHeaderDefaultValue() ; |
| 7039 |
break; |
7863 |
break; |
| 7040 |
|
7864 |
|
| 7041 |
case 710 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::= DefaultValue"); } //$NON-NLS-1$ |
7865 |
case 761 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::= DefaultValue"); } //$NON-NLS-1$ |
| 7042 |
consumeMethodHeaderDefaultValue(); |
7866 |
consumeMethodHeaderDefaultValue(); |
| 7043 |
break; |
7867 |
break; |
| 7044 |
|
7868 |
|
| 7045 |
case 711 : if (DEBUG) { System.out.println("AnnotationMethodHeader ::= AnnotationMethodHeaderName..."); } //$NON-NLS-1$ |
7869 |
case 762 : if (DEBUG) { System.out.println("AnnotationMethodHeader ::= AnnotationMethodHeaderName..."); } //$NON-NLS-1$ |
| 7046 |
consumeMethodHeader(); |
7870 |
consumeMethodHeader(); |
| 7047 |
break; |
7871 |
break; |
| 7048 |
|
7872 |
|
| 7049 |
case 712 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ |
7873 |
case 763 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ |
| 7050 |
consumeAnnotationTypeMemberDeclaration() ; |
7874 |
consumeAnnotationTypeMemberDeclaration() ; |
| 7051 |
break; |
7875 |
break; |
| 7052 |
|
7876 |
|
| 7053 |
case 720 : if (DEBUG) { System.out.println("AnnotationName ::= AT Name"); } //$NON-NLS-1$ |
7877 |
case 771 : if (DEBUG) { System.out.println("AnnotationName ::= AT Name"); } //$NON-NLS-1$ |
| 7054 |
consumeAnnotationName() ; |
7878 |
consumeAnnotationName() ; |
| 7055 |
break; |
7879 |
break; |
| 7056 |
|
7880 |
|
| 7057 |
case 721 : if (DEBUG) { System.out.println("NormalAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ |
7881 |
case 772 : if (DEBUG) { System.out.println("NormalAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ |
| 7058 |
consumeNormalAnnotation() ; |
7882 |
consumeNormalAnnotation() ; |
| 7059 |
break; |
7883 |
break; |
| 7060 |
|
7884 |
|
| 7061 |
case 722 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ |
7885 |
case 773 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ |
| 7062 |
consumeEmptyMemberValuePairsopt() ; |
7886 |
consumeEmptyMemberValuePairsopt() ; |
| 7063 |
break; |
7887 |
break; |
| 7064 |
|
7888 |
|
| 7065 |
case 725 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ |
7889 |
case 776 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ |
| 7066 |
consumeMemberValuePairs() ; |
7890 |
consumeMemberValuePairs() ; |
| 7067 |
break; |
7891 |
break; |
| 7068 |
|
7892 |
|
| 7069 |
case 726 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL EnterMemberValue..."); } //$NON-NLS-1$ |
7893 |
case 777 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL EnterMemberValue..."); } //$NON-NLS-1$ |
| 7070 |
consumeMemberValuePair() ; |
7894 |
consumeMemberValuePair() ; |
| 7071 |
break; |
7895 |
break; |
| 7072 |
|
7896 |
|
| 7073 |
case 727 : if (DEBUG) { System.out.println("EnterMemberValue ::="); } //$NON-NLS-1$ |
7897 |
case 778 : if (DEBUG) { System.out.println("EnterMemberValue ::="); } //$NON-NLS-1$ |
| 7074 |
consumeEnterMemberValue() ; |
7898 |
consumeEnterMemberValue() ; |
| 7075 |
break; |
7899 |
break; |
| 7076 |
|
7900 |
|
| 7077 |
case 728 : if (DEBUG) { System.out.println("ExitMemberValue ::="); } //$NON-NLS-1$ |
7901 |
case 779 : if (DEBUG) { System.out.println("ExitMemberValue ::="); } //$NON-NLS-1$ |
| 7078 |
consumeExitMemberValue() ; |
7902 |
consumeExitMemberValue() ; |
| 7079 |
break; |
7903 |
break; |
| 7080 |
|
7904 |
|
| 7081 |
case 730 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ |
7905 |
case 781 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ |
| 7082 |
consumeMemberValueAsName() ; |
7906 |
consumeMemberValueAsName() ; |
| 7083 |
break; |
7907 |
break; |
| 7084 |
|
7908 |
|
| 7085 |
case 733 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
7909 |
case 784 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
| 7086 |
consumeMemberValueArrayInitializer() ; |
7910 |
consumeMemberValueArrayInitializer() ; |
| 7087 |
break; |
7911 |
break; |
| 7088 |
|
7912 |
|
| 7089 |
case 734 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
7913 |
case 785 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
| 7090 |
consumeMemberValueArrayInitializer() ; |
7914 |
consumeMemberValueArrayInitializer() ; |
| 7091 |
break; |
7915 |
break; |
| 7092 |
|
7916 |
|
| 7093 |
case 735 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
7917 |
case 786 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
| 7094 |
consumeEmptyMemberValueArrayInitializer() ; |
7918 |
consumeEmptyMemberValueArrayInitializer() ; |
| 7095 |
break; |
7919 |
break; |
| 7096 |
|
7920 |
|
| 7097 |
case 736 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
7921 |
case 787 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::=..."); } //$NON-NLS-1$ |
| 7098 |
consumeEmptyMemberValueArrayInitializer() ; |
7922 |
consumeEmptyMemberValueArrayInitializer() ; |
| 7099 |
break; |
7923 |
break; |
| 7100 |
|
7924 |
|
| 7101 |
case 737 : if (DEBUG) { System.out.println("EnterMemberValueArrayInitializer ::="); } //$NON-NLS-1$ |
7925 |
case 788 : if (DEBUG) { System.out.println("EnterMemberValueArrayInitializer ::="); } //$NON-NLS-1$ |
| 7102 |
consumeEnterMemberValueArrayInitializer() ; |
7926 |
consumeEnterMemberValueArrayInitializer() ; |
| 7103 |
break; |
7927 |
break; |
| 7104 |
|
7928 |
|
| 7105 |
case 739 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ |
7929 |
case 790 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ |
| 7106 |
consumeMemberValues() ; |
7930 |
consumeMemberValues() ; |
| 7107 |
break; |
7931 |
break; |
| 7108 |
|
7932 |
|
| 7109 |
case 740 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AnnotationName"); } //$NON-NLS-1$ |
7933 |
case 791 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AnnotationName"); } //$NON-NLS-1$ |
| 7110 |
consumeMarkerAnnotation() ; |
7934 |
consumeMarkerAnnotation() ; |
| 7111 |
break; |
7935 |
break; |
| 7112 |
|
7936 |
|
| 7113 |
case 741 : if (DEBUG) { System.out.println("SingleMemberAnnotationMemberValue ::= MemberValue"); } //$NON-NLS-1$ |
7937 |
case 792 : if (DEBUG) { System.out.println("SingleMemberAnnotationMemberValue ::= MemberValue"); } //$NON-NLS-1$ |
| 7114 |
consumeSingleMemberAnnotationMemberValue() ; |
7938 |
consumeSingleMemberAnnotationMemberValue() ; |
| 7115 |
break; |
7939 |
break; |
| 7116 |
|
7940 |
|
| 7117 |
case 742 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ |
7941 |
case 793 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ |
| 7118 |
consumeSingleMemberAnnotation() ; |
7942 |
consumeSingleMemberAnnotation() ; |
| 7119 |
break; |
7943 |
break; |
| 7120 |
|
7944 |
|
| 7121 |
case 743 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt TypeParameters"); } //$NON-NLS-1$ |
7945 |
case 794 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt TypeParameters"); } //$NON-NLS-1$ |
| 7122 |
consumeRecoveryMethodHeaderNameWithTypeParameters(); |
7946 |
consumeRecoveryMethodHeaderNameWithTypeParameters(); |
| 7123 |
break; |
7947 |
break; |
| 7124 |
|
7948 |
|
| 7125 |
case 744 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ |
7949 |
case 795 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt Type0..."); } //$NON-NLS-1$ |
| 7126 |
consumeRecoveryMethodHeaderName(); |
7950 |
consumeRecoveryMethodHeaderName(); |
| 7127 |
break; |
7951 |
break; |
| 7128 |
|
7952 |
|
| 7129 |
case 745 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ |
7953 |
case 796 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ |
| 7130 |
consumeMethodHeader(); |
7954 |
consumeMethodHeader(); |
| 7131 |
break; |
7955 |
break; |
| 7132 |
|
7956 |
|
| 7133 |
case 746 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ |
7957 |
case 797 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ |
| 7134 |
consumeMethodHeader(); |
7958 |
consumeMethodHeader(); |
| 7135 |
break; |
7959 |
break; |
| 7136 |
|
7960 |
|
|
Lines 8283-8292
Link Here
|
| 8283 |
pushOnGenericsStack(getTypeReference(0)); |
9107 |
pushOnGenericsStack(getTypeReference(0)); |
| 8284 |
this.intPtr--; |
9108 |
this.intPtr--; |
| 8285 |
} |
9109 |
} |
|
|
9110 |
protected void consumeTypeArgumentReferenceType1WithTypeAnnotations() { |
| 9111 |
concatGenericsLists(); |
| 9112 |
TypeReference typeReference = getUnannotatedTypeReference(0); |
| 9113 |
// copy from expression stack to type annotation stack |
| 9114 |
int length; |
| 9115 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 9116 |
System.arraycopy( |
| 9117 |
this.expressionStack, |
| 9118 |
(this.expressionPtr -= length) + 1, |
| 9119 |
typeReference.annotations = new Annotation[length], |
| 9120 |
0, |
| 9121 |
length); |
| 9122 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 9123 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 9124 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 9125 |
} |
| 9126 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 9127 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 9128 |
} |
| 9129 |
pushOnGenericsStack(typeReference); |
| 9130 |
// remove the 0 pushed by ZeroTypeAnnotation |
| 9131 |
this.typeAnnotationLengthPtr--; |
| 9132 |
this.intPtr--; |
| 9133 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 9134 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 9135 |
} |
| 9136 |
resetModifiers(); |
| 9137 |
} |
| 8286 |
protected void consumeTypeArgumentReferenceType2() { |
9138 |
protected void consumeTypeArgumentReferenceType2() { |
| 8287 |
concatGenericsLists(); |
9139 |
concatGenericsLists(); |
| 8288 |
pushOnGenericsStack(getTypeReference(0)); |
9140 |
pushOnGenericsStack(getTypeReference(0)); |
| 8289 |
this.intPtr--; |
9141 |
this.intPtr--; |
|
|
9142 |
} |
| 9143 |
protected void consumeTypeArgumentReferenceType2WithTypeAnnotations() { |
| 9144 |
concatGenericsLists(); |
| 9145 |
TypeReference typeReference = getUnannotatedTypeReference(0); |
| 9146 |
// copy from expression stack to type annotation stack |
| 9147 |
int length; |
| 9148 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
| 9149 |
System.arraycopy( |
| 9150 |
this.expressionStack, |
| 9151 |
(this.expressionPtr -= length) + 1, |
| 9152 |
typeReference.annotations = new Annotation[length], |
| 9153 |
0, |
| 9154 |
length); |
| 9155 |
int typeReferenceSourceStart = typeReference.annotations[0].sourceStart; |
| 9156 |
if (this.modifiersSourceStart < typeReferenceSourceStart) { |
| 9157 |
typeReferenceSourceStart = this.modifiersSourceStart; |
| 9158 |
} |
| 9159 |
typeReference.bits |= ASTNode.HasTypeAnnotations; |
| 9160 |
typeReference.sourceStart = typeReferenceSourceStart; |
| 9161 |
} |
| 9162 |
pushOnGenericsStack(typeReference); |
| 9163 |
this.intPtr--; |
| 9164 |
if (this.modifiers != ClassFileConstants.AccDefault) { |
| 9165 |
problemReporter().invalidLocationForModifiers(typeReference); |
| 9166 |
} |
| 9167 |
resetModifiers(); |
| 8290 |
} |
9168 |
} |
| 8291 |
protected void consumeTypeArguments() { |
9169 |
protected void consumeTypeArguments() { |
| 8292 |
concatGenericsLists(); |
9170 |
concatGenericsLists(); |
|
Lines 8376-8381
Link Here
|
| 8376 |
typeParameter.declarationSourceEnd = superType.sourceEnd; |
9254 |
typeParameter.declarationSourceEnd = superType.sourceEnd; |
| 8377 |
typeParameter.type = superType; |
9255 |
typeParameter.type = superType; |
| 8378 |
superType.bits |= ASTNode.IsSuperType; |
9256 |
superType.bits |= ASTNode.IsSuperType; |
|
|
9257 |
typeParameter.bits |= (superType.bits & ASTNode.HasTypeAnnotations); |
| 8379 |
this.genericsStack[this.genericsPtr] = typeParameter; |
9258 |
this.genericsStack[this.genericsPtr] = typeParameter; |
| 8380 |
} |
9259 |
} |
| 8381 |
protected void consumeTypeParameter1WithExtendsAndBounds() { |
9260 |
protected void consumeTypeParameter1WithExtendsAndBounds() { |
|
Lines 8388-8402
Link Here
|
| 8388 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
9267 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
| 8389 |
typeParameter.declarationSourceEnd = bounds[additionalBoundsLength - 1].sourceEnd; |
9268 |
typeParameter.declarationSourceEnd = bounds[additionalBoundsLength - 1].sourceEnd; |
| 8390 |
typeParameter.type = superType; |
9269 |
typeParameter.type = superType; |
|
|
9270 |
typeParameter.bits |= (superType.bits & ASTNode.HasTypeAnnotations); |
| 8391 |
superType.bits |= ASTNode.IsSuperType; |
9271 |
superType.bits |= ASTNode.IsSuperType; |
| 8392 |
typeParameter.bounds = bounds; |
9272 |
typeParameter.bounds = bounds; |
| 8393 |
for (int i = 0, max = bounds.length; i < max; i++) { |
9273 |
for (int i = 0, max = bounds.length; i < max; i++) { |
| 8394 |
bounds[i].bits |= ASTNode.IsSuperType; |
9274 |
TypeReference bound = bounds[i]; |
|
|
9275 |
bound.bits |= ASTNode.IsSuperType; |
| 9276 |
typeParameter.bits |= (bound.bits & ASTNode.HasTypeAnnotations); |
| 8395 |
} |
9277 |
} |
| 8396 |
} |
9278 |
} |
| 8397 |
protected void consumeTypeParameterHeader() { |
9279 |
protected void consumeTypeParameterHeader() { |
| 8398 |
//TypeParameterHeader ::= Identifier |
9280 |
//TypeParameterHeader ::= Identifier |
| 8399 |
TypeParameter typeParameter = new TypeParameter(); |
9281 |
TypeParameter typeParameter = new TypeParameter(); |
|
|
9282 |
int length; |
| 9283 |
if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 9284 |
System.arraycopy( |
| 9285 |
this.typeAnnotationStack, |
| 9286 |
(this.typeAnnotationPtr -= length) + 1, |
| 9287 |
typeParameter.annotations = new Annotation[length], |
| 9288 |
0, |
| 9289 |
length); |
| 9290 |
typeParameter.bits |= ASTNode.HasTypeAnnotations; |
| 9291 |
} |
| 8400 |
long pos = this.identifierPositionStack[this.identifierPtr]; |
9292 |
long pos = this.identifierPositionStack[this.identifierPtr]; |
| 8401 |
final int end = (int) pos; |
9293 |
final int end = (int) pos; |
| 8402 |
typeParameter.declarationSourceEnd = end; |
9294 |
typeParameter.declarationSourceEnd = end; |
|
Lines 8448-8453
Link Here
|
| 8448 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
9340 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
| 8449 |
typeParameter.declarationSourceEnd = superType.sourceEnd; |
9341 |
typeParameter.declarationSourceEnd = superType.sourceEnd; |
| 8450 |
typeParameter.type = superType; |
9342 |
typeParameter.type = superType; |
|
|
9343 |
typeParameter.bits |= (superType.bits & ASTNode.HasTypeAnnotations); |
| 8451 |
superType.bits |= ASTNode.IsSuperType; |
9344 |
superType.bits |= ASTNode.IsSuperType; |
| 8452 |
} |
9345 |
} |
| 8453 |
protected void consumeTypeParameterWithExtendsAndBounds() { |
9346 |
protected void consumeTypeParameterWithExtendsAndBounds() { |
|
Lines 8459-8469
Link Here
|
| 8459 |
TypeReference superType = getTypeReference(this.intStack[this.intPtr--]); |
9352 |
TypeReference superType = getTypeReference(this.intStack[this.intPtr--]); |
| 8460 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
9353 |
TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr]; |
| 8461 |
typeParameter.type = superType; |
9354 |
typeParameter.type = superType; |
|
|
9355 |
typeParameter.bits |= (superType.bits & ASTNode.HasTypeAnnotations); |
| 8462 |
superType.bits |= ASTNode.IsSuperType; |
9356 |
superType.bits |= ASTNode.IsSuperType; |
| 8463 |
typeParameter.bounds = bounds; |
9357 |
typeParameter.bounds = bounds; |
| 8464 |
typeParameter.declarationSourceEnd = bounds[additionalBoundsLength - 1].sourceEnd; |
9358 |
typeParameter.declarationSourceEnd = bounds[additionalBoundsLength - 1].sourceEnd; |
| 8465 |
for (int i = 0, max = bounds.length; i < max; i++) { |
9359 |
for (int i = 0, max = bounds.length; i < max; i++) { |
| 8466 |
bounds[i].bits |= ASTNode.IsSuperType; |
9360 |
TypeReference bound = bounds[i]; |
|
|
9361 |
bound.bits |= ASTNode.IsSuperType; |
| 9362 |
typeParameter.bits |= (bound.bits & ASTNode.HasTypeAnnotations); |
| 8467 |
} |
9363 |
} |
| 8468 |
} |
9364 |
} |
| 8469 |
protected void consumeUnaryExpression(int op) { |
9365 |
protected void consumeUnaryExpression(int op) { |
|
Lines 8662-8667
Link Here
|
| 8662 |
// Nothing to do |
9558 |
// Nothing to do |
| 8663 |
// The wildcard is created by the consumeWildcardBoundsExtends or by consumeWildcardBoundsSuper |
9559 |
// The wildcard is created by the consumeWildcardBoundsExtends or by consumeWildcardBoundsSuper |
| 8664 |
} |
9560 |
} |
|
|
9561 |
|
| 8665 |
/** |
9562 |
/** |
| 8666 |
* Given the current comment stack, answer whether some comment is available in a certain exclusive range |
9563 |
* Given the current comment stack, answer whether some comment is available in a certain exclusive range |
| 8667 |
* |
9564 |
* |
|
Lines 8701-8712
Link Here
|
| 8701 |
m.explicitDeclarations = c.explicitDeclarations; |
9598 |
m.explicitDeclarations = c.explicitDeclarations; |
| 8702 |
m.returnType = null; |
9599 |
m.returnType = null; |
| 8703 |
m.javadoc = c.javadoc; |
9600 |
m.javadoc = c.javadoc; |
|
|
9601 |
m.bits = c.bits; |
| 8704 |
return m; |
9602 |
return m; |
| 8705 |
} |
9603 |
} |
| 8706 |
|
9604 |
|
| 8707 |
protected TypeReference copyDims(TypeReference typeRef, int dim) { |
9605 |
protected TypeReference copyDims(TypeReference typeRef, int dim) { |
| 8708 |
return typeRef.copyDims(dim); |
9606 |
return typeRef.copyDims(dim); |
| 8709 |
} |
9607 |
} |
|
|
9608 |
|
| 9609 |
protected TypeReference copyDims(TypeReference typeRef, int dim, Annotation[][]annotationsOnDimensions) { |
| 9610 |
return typeRef.copyDims(dim, annotationsOnDimensions); |
| 9611 |
} |
| 9612 |
|
| 8710 |
protected FieldDeclaration createFieldDeclaration(char[] fieldDeclarationName, int sourceStart, int sourceEnd) { |
9613 |
protected FieldDeclaration createFieldDeclaration(char[] fieldDeclarationName, int sourceStart, int sourceEnd) { |
| 8711 |
return new FieldDeclaration(fieldDeclarationName, sourceStart, sourceEnd); |
9614 |
return new FieldDeclaration(fieldDeclarationName, sourceStart, sourceEnd); |
| 8712 |
} |
9615 |
} |
|
Lines 9188-9200
Link Here
|
| 9188 |
return exp; |
10091 |
return exp; |
| 9189 |
} |
10092 |
} |
| 9190 |
protected TypeReference getTypeReference(int dim) { |
10093 |
protected TypeReference getTypeReference(int dim) { |
|
|
10094 |
TypeReference ref = getUnannotatedTypeReference(dim); |
| 10095 |
int length; |
| 10096 |
if (this.typeAnnotationLengthPtr >= 0 |
| 10097 |
&& (length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 10098 |
// if ((length = this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr--]) != 0) { |
| 10099 |
|
| 10100 |
System.arraycopy( |
| 10101 |
this.typeAnnotationStack, |
| 10102 |
(this.typeAnnotationPtr -= length) + 1, |
| 10103 |
ref.annotations = new Annotation[length], |
| 10104 |
0, |
| 10105 |
length); |
| 10106 |
ref.sourceStart = ref.annotations[0].sourceStart; |
| 10107 |
ref.bits |= ASTNode.HasTypeAnnotations; |
| 10108 |
} |
| 10109 |
return ref; |
| 10110 |
} |
| 10111 |
protected TypeReference getUnannotatedTypeReference(int dim) { |
| 9191 |
/* build a Reference on a variable that may be qualified or not |
10112 |
/* build a Reference on a variable that may be qualified or not |
| 9192 |
This variable is a type reference and dim will be its dimensions*/ |
10113 |
This variable is a type reference and dim will be its dimensions*/ |
| 9193 |
|
10114 |
|
| 9194 |
TypeReference ref; |
10115 |
TypeReference ref; |
|
|
10116 |
Annotation [][] annotationsOnDimensions = null; |
| 9195 |
int length = this.identifierLengthStack[this.identifierLengthPtr--]; |
10117 |
int length = this.identifierLengthStack[this.identifierLengthPtr--]; |
| 9196 |
if (length < 0) { //flag for precompiled type reference on base types |
10118 |
if (length < 0) { //flag for precompiled type reference on base types |
| 9197 |
ref = TypeReference.baseTypeReference(-length, dim); |
10119 |
if (dim > 0) { |
|
|
10120 |
annotationsOnDimensions = getAnnotationsOnDimensions(dim); |
| 10121 |
} |
| 10122 |
ref = TypeReference.baseTypeReference(-length, dim, annotationsOnDimensions); |
| 9198 |
ref.sourceStart = this.intStack[this.intPtr--]; |
10123 |
ref.sourceStart = this.intStack[this.intPtr--]; |
| 9199 |
if (dim == 0) { |
10124 |
if (dim == 0) { |
| 9200 |
ref.sourceEnd = this.intStack[this.intPtr--]; |
10125 |
ref.sourceEnd = this.intStack[this.intPtr--]; |
|
Lines 9216-9227
Link Here
|
| 9216 |
this.identifierStack[this.identifierPtr], |
10141 |
this.identifierStack[this.identifierPtr], |
| 9217 |
this.identifierPositionStack[this.identifierPtr--]); |
10142 |
this.identifierPositionStack[this.identifierPtr--]); |
| 9218 |
} else { |
10143 |
} else { |
|
|
10144 |
annotationsOnDimensions = getAnnotationsOnDimensions(dim); |
| 9219 |
ref = |
10145 |
ref = |
| 9220 |
new ArrayTypeReference( |
10146 |
new ArrayTypeReference( |
| 9221 |
this.identifierStack[this.identifierPtr], |
10147 |
this.identifierStack[this.identifierPtr], |
| 9222 |
dim, |
10148 |
dim, |
|
|
10149 |
annotationsOnDimensions, |
| 9223 |
this.identifierPositionStack[this.identifierPtr--]); |
10150 |
this.identifierPositionStack[this.identifierPtr--]); |
| 9224 |
ref.sourceEnd = this.endPosition; |
10151 |
ref.sourceEnd = this.endPosition; |
|
|
10152 |
if (annotationsOnDimensions != null) { |
| 10153 |
ref.bits |= ASTNode.HasTypeAnnotations; |
| 10154 |
} |
| 9225 |
} |
10155 |
} |
| 9226 |
} else { |
10156 |
} else { |
| 9227 |
this.genericsLengthPtr--; |
10157 |
this.genericsLengthPtr--; |
|
Lines 9239-9252
Link Here
|
| 9239 |
if (dim == 0) { |
10169 |
if (dim == 0) { |
| 9240 |
ref = new QualifiedTypeReference(tokens, positions); |
10170 |
ref = new QualifiedTypeReference(tokens, positions); |
| 9241 |
} else { |
10171 |
} else { |
| 9242 |
ref = new ArrayQualifiedTypeReference(tokens, dim, positions); |
10172 |
annotationsOnDimensions = getAnnotationsOnDimensions(dim); |
|
|
10173 |
ref = new ArrayQualifiedTypeReference(tokens, dim, annotationsOnDimensions, positions); |
| 9243 |
ref.sourceEnd = this.endPosition; |
10174 |
ref.sourceEnd = this.endPosition; |
|
|
10175 |
ref.bits |= ASTNode.HasTypeAnnotations; |
| 9244 |
} |
10176 |
} |
| 9245 |
} |
10177 |
} |
| 9246 |
} |
10178 |
} |
| 9247 |
return ref; |
10179 |
return ref; |
| 9248 |
} |
10180 |
} |
| 9249 |
protected TypeReference getTypeReferenceForGenericType(int dim, int identifierLength, int numberOfIdentifiers) { |
10181 |
protected TypeReference getTypeReferenceForGenericType(int dim, int identifierLength, int numberOfIdentifiers) { |
|
|
10182 |
Annotation[][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim); |
| 9250 |
if (identifierLength == 1 && numberOfIdentifiers == 1) { |
10183 |
if (identifierLength == 1 && numberOfIdentifiers == 1) { |
| 9251 |
int currentTypeArgumentsLength = this.genericsLengthStack[this.genericsLengthPtr--]; |
10184 |
int currentTypeArgumentsLength = this.genericsLengthStack[this.genericsLengthPtr--]; |
| 9252 |
TypeReference[] typeArguments = null; |
10185 |
TypeReference[] typeArguments = null; |
|
Lines 9257-9263
Link Here
|
| 9257 |
this.genericsPtr -= currentTypeArgumentsLength; |
10190 |
this.genericsPtr -= currentTypeArgumentsLength; |
| 9258 |
System.arraycopy(this.genericsStack, this.genericsPtr + 1, typeArguments, 0, currentTypeArgumentsLength); |
10191 |
System.arraycopy(this.genericsStack, this.genericsPtr + 1, typeArguments, 0, currentTypeArgumentsLength); |
| 9259 |
} |
10192 |
} |
| 9260 |
ParameterizedSingleTypeReference parameterizedSingleTypeReference = new ParameterizedSingleTypeReference(this.identifierStack[this.identifierPtr], typeArguments, dim, this.identifierPositionStack[this.identifierPtr--]); |
10193 |
ParameterizedSingleTypeReference parameterizedSingleTypeReference = new ParameterizedSingleTypeReference(this.identifierStack[this.identifierPtr], typeArguments, dim, annotationsOnDimensions, this.identifierPositionStack[this.identifierPtr--]); |
| 9261 |
if (dim != 0) { |
10194 |
if (dim != 0) { |
| 9262 |
parameterizedSingleTypeReference.sourceEnd = this.endStatementPosition; |
10195 |
parameterizedSingleTypeReference.sourceEnd = this.endStatementPosition; |
| 9263 |
} |
10196 |
} |
|
Lines 9299-9305
Link Here
|
| 9299 |
currentIdentifiersLength = this.identifierLengthStack[this.identifierLengthPtr--]; |
10232 |
currentIdentifiersLength = this.identifierLengthStack[this.identifierLengthPtr--]; |
| 9300 |
} |
10233 |
} |
| 9301 |
} |
10234 |
} |
| 9302 |
ParameterizedQualifiedTypeReference parameterizedQualifiedTypeReference = new ParameterizedQualifiedTypeReference(tokens, typeArguments, dim, positions); |
10235 |
ParameterizedQualifiedTypeReference parameterizedQualifiedTypeReference = new ParameterizedQualifiedTypeReference(tokens, typeArguments, dim, annotationsOnDimensions, positions); |
| 9303 |
if (dim != 0) { |
10236 |
if (dim != 0) { |
| 9304 |
parameterizedQualifiedTypeReference.sourceEnd = this.endStatementPosition; |
10237 |
parameterizedQualifiedTypeReference.sourceEnd = this.endStatementPosition; |
| 9305 |
} |
10238 |
} |
|
Lines 9531-9536
Link Here
|
| 9531 |
this.astLengthPtr = -1; |
10464 |
this.astLengthPtr = -1; |
| 9532 |
this.expressionPtr = -1; |
10465 |
this.expressionPtr = -1; |
| 9533 |
this.expressionLengthPtr = -1; |
10466 |
this.expressionLengthPtr = -1; |
|
|
10467 |
this.unattachedAnnotationPtr = -1; |
| 10468 |
this.typeAnnotationLengthPtr = -1; |
| 10469 |
this.typeAnnotationPtr = -1; |
| 9534 |
this.identifierPtr = -1; |
10470 |
this.identifierPtr = -1; |
| 9535 |
this.identifierLengthPtr = -1; |
10471 |
this.identifierLengthPtr = -1; |
| 9536 |
this.intPtr = -1; |
10472 |
this.intPtr = -1; |
|
Lines 10751-10756
Link Here
|
| 10751 |
} |
11687 |
} |
| 10752 |
this.astLengthStack[this.astLengthPtr] = 1; |
11688 |
this.astLengthStack[this.astLengthPtr] = 1; |
| 10753 |
} |
11689 |
} |
|
|
11690 |
protected void pushOnTypeAnnotationStack(Annotation annotation) { |
| 11691 |
|
| 11692 |
int stackLength = this.typeAnnotationStack.length; |
| 11693 |
if (++this.typeAnnotationPtr >= stackLength) { |
| 11694 |
System.arraycopy( |
| 11695 |
this.typeAnnotationStack, 0, |
| 11696 |
this.typeAnnotationStack = new Annotation[stackLength + TypeAnnotationStackIncrement], 0, |
| 11697 |
stackLength); |
| 11698 |
} |
| 11699 |
this.typeAnnotationStack[this.typeAnnotationPtr] = annotation; |
| 11700 |
|
| 11701 |
stackLength = this.typeAnnotationLengthStack.length; |
| 11702 |
if (++this.typeAnnotationLengthPtr >= stackLength) { |
| 11703 |
System.arraycopy( |
| 11704 |
this.typeAnnotationLengthStack, 0, |
| 11705 |
this.typeAnnotationLengthStack = new int[stackLength + TypeAnnotationStackIncrement], 0, |
| 11706 |
stackLength); |
| 11707 |
} |
| 11708 |
this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr] = 1; |
| 11709 |
} |
| 11710 |
protected void pushOnTypeAnnotationLengthStack(int pos) { |
| 11711 |
|
| 11712 |
int stackLength = this.typeAnnotationLengthStack.length; |
| 11713 |
if (++this.typeAnnotationLengthPtr >= stackLength) { |
| 11714 |
System.arraycopy( |
| 11715 |
this.typeAnnotationLengthStack, 0, |
| 11716 |
this.typeAnnotationLengthStack = new int[stackLength + TypeAnnotationStackIncrement], 0, |
| 11717 |
stackLength); |
| 11718 |
} |
| 11719 |
this.typeAnnotationLengthStack[this.typeAnnotationLengthPtr] = pos; |
| 11720 |
} |
| 10754 |
protected void pushOnExpressionStack(Expression expr) { |
11721 |
protected void pushOnExpressionStack(Expression expr) { |
| 10755 |
|
11722 |
|
| 10756 |
int stackLength = this.expressionStack.length; |
11723 |
int stackLength = this.expressionStack.length; |
|
Lines 11174-11179
Link Here
|
| 11174 |
this.astLengthPtr = -1; |
12141 |
this.astLengthPtr = -1; |
| 11175 |
this.expressionPtr = -1; |
12142 |
this.expressionPtr = -1; |
| 11176 |
this.expressionLengthPtr = -1; |
12143 |
this.expressionLengthPtr = -1; |
|
|
12144 |
this.unattachedAnnotationPtr = -1; |
| 12145 |
this.typeAnnotationLengthPtr = -1; |
| 12146 |
this.typeAnnotationPtr = -1; |
| 11177 |
this.identifierPtr = -1; |
12147 |
this.identifierPtr = -1; |
| 11178 |
this.identifierLengthPtr = -1; |
12148 |
this.identifierLengthPtr = -1; |
| 11179 |
this.intPtr = -1; |
12149 |
this.intPtr = -1; |