Lines 1834-1840
Link Here
|
1834 |
} |
1834 |
} |
1835 |
break; |
1835 |
break; |
1836 |
case LESS : |
1836 |
case LESS : |
1837 |
this.intPtr--; |
1837 |
case MULTIPLY : |
|
|
1838 |
this.intPtr--; // star end position or starting position of angle bracket |
1838 |
this.expressionStack[this.expressionPtr] = |
1839 |
this.expressionStack[this.expressionPtr] = |
1839 |
new BinaryExpression( |
1840 |
new BinaryExpression( |
1840 |
expr1, |
1841 |
expr1, |
Lines 1957-1963
Link Here
|
1957 |
} |
1958 |
} |
1958 |
break; |
1959 |
break; |
1959 |
case LESS : |
1960 |
case LESS : |
1960 |
this.intPtr--; |
1961 |
case MULTIPLY : |
|
|
1962 |
this.intPtr--; // star end position or starting position of angle bracket |
1961 |
this.expressionStack[this.expressionPtr] = |
1963 |
this.expressionStack[this.expressionPtr] = |
1962 |
new BinaryExpression( |
1964 |
new BinaryExpression( |
1963 |
expr1, |
1965 |
expr1, |
Lines 4891-4897
Link Here
|
4891 |
0, |
4893 |
0, |
4892 |
length); |
4894 |
length); |
4893 |
|
4895 |
|
4894 |
impt = new ImportReference(tokens, positions, true, ClassFileConstants.AccDefault); |
4896 |
impt = new ImportReference(tokens, positions, false, ClassFileConstants.AccDefault); |
4895 |
this.compilationUnit.currentPackage = impt; |
4897 |
this.compilationUnit.currentPackage = impt; |
4896 |
|
4898 |
|
4897 |
if (this.currentToken == TokenNameSEMICOLON){ |
4899 |
if (this.currentToken == TokenNameSEMICOLON){ |
Lines 4936-4942
Link Here
|
4936 |
int packageModifiersSourceStart = this.intStack[this.intPtr--]; // we don't need the modifiers start |
4938 |
int packageModifiersSourceStart = this.intStack[this.intPtr--]; // we don't need the modifiers start |
4937 |
int packageModifiers = this.intStack[this.intPtr--]; |
4939 |
int packageModifiers = this.intStack[this.intPtr--]; |
4938 |
|
4940 |
|
4939 |
impt = new ImportReference(tokens, positions, true, packageModifiers); |
4941 |
impt = new ImportReference(tokens, positions, false, packageModifiers); |
4940 |
this.compilationUnit.currentPackage = impt; |
4942 |
this.compilationUnit.currentPackage = impt; |
4941 |
// consume annotations |
4943 |
// consume annotations |
4942 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
4944 |
if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) { |
Lines 7280-7285
Link Here
|
7280 |
System.arraycopy(this.identifierPositionStack, this.identifierPtr + 1, positions, 0, length); |
7282 |
System.arraycopy(this.identifierPositionStack, this.identifierPtr + 1, positions, 0, length); |
7281 |
pushOnAstStack(impt = new ImportReference(tokens, positions, true, ClassFileConstants.AccStatic)); |
7283 |
pushOnAstStack(impt = new ImportReference(tokens, positions, true, ClassFileConstants.AccStatic)); |
7282 |
|
7284 |
|
|
|
7285 |
// star end position |
7286 |
impt.trailingStarPosition = this.intStack[this.intPtr--]; |
7283 |
this.modifiers = ClassFileConstants.AccDefault; |
7287 |
this.modifiers = ClassFileConstants.AccDefault; |
7284 |
this.modifiersSourceStart = -1; // <-- see comment into modifiersFlag(int) |
7288 |
this.modifiersSourceStart = -1; // <-- see comment into modifiersFlag(int) |
7285 |
|
7289 |
|
Lines 7663-7668
Link Here
|
7663 |
} |
7667 |
} |
7664 |
} |
7668 |
} |
7665 |
break; |
7669 |
break; |
|
|
7670 |
case TokenNameMULTIPLY : |
7671 |
// star end position |
7672 |
pushOnIntStack(this.scanner.currentPosition - 1); |
7673 |
break; |
7666 |
// case TokenNameCOMMA : |
7674 |
// case TokenNameCOMMA : |
7667 |
// case TokenNameCOLON : |
7675 |
// case TokenNameCOLON : |
7668 |
// case TokenNameLBRACKET : |
7676 |
// case TokenNameLBRACKET : |
Lines 7789-7794
Link Here
|
7789 |
System.arraycopy(this.identifierPositionStack, this.identifierPtr + 1, positions, 0, length); |
7797 |
System.arraycopy(this.identifierPositionStack, this.identifierPtr + 1, positions, 0, length); |
7790 |
pushOnAstStack(impt = new ImportReference(tokens, positions, true, ClassFileConstants.AccDefault)); |
7798 |
pushOnAstStack(impt = new ImportReference(tokens, positions, true, ClassFileConstants.AccDefault)); |
7791 |
|
7799 |
|
|
|
7800 |
// star end position |
7801 |
impt.trailingStarPosition = this.intStack[this.intPtr--]; |
7792 |
if (this.currentToken == TokenNameSEMICOLON){ |
7802 |
if (this.currentToken == TokenNameSEMICOLON){ |
7793 |
impt.declarationSourceEnd = this.scanner.currentPosition - 1; |
7803 |
impt.declarationSourceEnd = this.scanner.currentPosition - 1; |
7794 |
} else { |
7804 |
} else { |