Lines 1111-1119
Link Here
|
1111 |
// check deprecation in last comment if javadoc (can be followed by non-javadoc comments which are simply ignored) |
1111 |
// check deprecation in last comment if javadoc (can be followed by non-javadoc comments which are simply ignored) |
1112 |
while (lastComment >= 0 && this.scanner.commentStops[lastComment] < 0) lastComment--; // non javadoc comment have negative end positions |
1112 |
while (lastComment >= 0 && this.scanner.commentStops[lastComment] < 0) lastComment--; // non javadoc comment have negative end positions |
1113 |
if (lastComment >= 0 && this.javadocParser != null) { |
1113 |
if (lastComment >= 0 && this.javadocParser != null) { |
1114 |
int commentEnd = this.scanner.commentStops[lastComment] - 1; //stop is one over, |
1114 |
int commentEnd = this.scanner.commentStops[lastComment] - 1; //stop is one over |
1115 |
// do not report problem before last parsed comment while recovering code... |
1115 |
if (this.javadocParser.shouldReportProblems) { |
1116 |
this.javadocParser.reportProblems = this.currentElement == null || commentEnd > this.lastJavadocEnd; |
1116 |
// do not report problem before last parsed comment while recovering code... |
|
|
1117 |
this.javadocParser.reportProblems = this.currentElement == null || commentEnd > this.lastJavadocEnd; |
1118 |
} |
1117 |
if (this.javadocParser.checkDeprecation(lastComment)) { |
1119 |
if (this.javadocParser.checkDeprecation(lastComment)) { |
1118 |
checkAndSetModifiers(ClassFileConstants.AccDeprecated); |
1120 |
checkAndSetModifiers(ClassFileConstants.AccDeprecated); |
1119 |
} |
1121 |
} |
Lines 10387-10390
Link Here
|
10387 |
exp.sourceEnd = this.intStack[this.intPtr--]; |
10389 |
exp.sourceEnd = this.intStack[this.intPtr--]; |
10388 |
exp.sourceStart = this.intStack[this.intPtr--]; |
10390 |
exp.sourceStart = this.intStack[this.intPtr--]; |
10389 |
} |
10391 |
} |
|
|
10392 |
|
10390 |
} |
10393 |
} |