Lines 493-502
Link Here
|
493 |
syntheticTypeDeclaration.javadoc = new Javadoc(syntheticTypeDeclaration.declarationSourceStart, syntheticTypeDeclaration.declarationSourceStart); |
493 |
syntheticTypeDeclaration.javadoc = new Javadoc(syntheticTypeDeclaration.declarationSourceStart, syntheticTypeDeclaration.declarationSourceStart); |
494 |
} |
494 |
} |
495 |
syntheticTypeDeclaration.resolve(this.scope); |
495 |
syntheticTypeDeclaration.resolve(this.scope); |
496 |
// resolve annotations if any, skip this step if we don't have a valid scope due to an earlier error. (bug 252555) |
|
|
497 |
if (this.currentPackage!= null && this.currentPackage.annotations != null && syntheticTypeDeclaration.staticInitializerScope != null) { |
498 |
resolveAnnotations(syntheticTypeDeclaration.staticInitializerScope, this.currentPackage.annotations, this.scope.fPackage); |
499 |
} |
500 |
/* |
496 |
/* |
501 |
* resolve javadoc package if any, skip this step if we don't have a valid scope due to an earlier error (bug 252555) |
497 |
* resolve javadoc package if any, skip this step if we don't have a valid scope due to an earlier error (bug 252555) |
502 |
* we do it now as the javadoc in the fake type won't be resolved. The peculiar usage of MethodScope to resolve the |
498 |
* we do it now as the javadoc in the fake type won't be resolved. The peculiar usage of MethodScope to resolve the |