Lines 28-41
Link Here
|
28 |
this.bits |= InsideJavadoc; |
28 |
this.bits |= InsideJavadoc; |
29 |
} |
29 |
} |
30 |
|
30 |
|
31 |
/* |
|
|
32 |
* Resolves type on a Block or Class scope. |
33 |
*/ |
34 |
private TypeBinding internalResolveType(Scope scope) { |
31 |
private TypeBinding internalResolveType(Scope scope) { |
35 |
this.constant = Constant.NotAConstant; |
32 |
this.constant = Constant.NotAConstant; |
36 |
if (this.resolvedType != null) // is a shared type reference which was already resolved |
33 |
if (this.resolvedType != null) // is a shared type reference which was already resolved |
37 |
return this.resolvedType.isValidBinding() ? this.resolvedType : null; // already reported error |
34 |
return this.resolvedType.isValidBinding() ? this.resolvedType : null; // already reported error |
38 |
|
35 |
|
39 |
if (this.argument != null) { |
36 |
if (this.argument != null) { |
40 |
TypeReference typeRef = this.argument.type; |
37 |
TypeReference typeRef = this.argument.type; |
41 |
if (typeRef != null) { |
38 |
if (typeRef != null) { |
Lines 47-53
Link Here
|
47 |
} |
44 |
} |
48 |
if (isTypeUseDeprecated(this.resolvedType, scope)) { |
45 |
if (isTypeUseDeprecated(this.resolvedType, scope)) { |
49 |
scope.problemReporter().javadocDeprecatedType(this.resolvedType, typeRef, scope.getDeclarationModifiers()); |
46 |
scope.problemReporter().javadocDeprecatedType(this.resolvedType, typeRef, scope.getDeclarationModifiers()); |
50 |
return null; |
|
|
51 |
} |
47 |
} |
52 |
return this.resolvedType = scope.environment().convertToRawType(this.resolvedType); |
48 |
return this.resolvedType = scope.environment().convertToRawType(this.resolvedType); |
53 |
} |
49 |
} |