Lines 97-102
Link Here
|
97 |
switch (this.resolvedType.problemId()) { |
97 |
switch (this.resolvedType.problemId()) { |
98 |
case ProblemReasons.NotFound : |
98 |
case ProblemReasons.NotFound : |
99 |
case ProblemReasons.NotVisible : |
99 |
case ProblemReasons.NotVisible : |
|
|
100 |
case ProblemReasons.InheritedNameHidesEnclosingName : |
100 |
TypeBinding type = this.resolvedType.closestMatch(); |
101 |
TypeBinding type = this.resolvedType.closestMatch(); |
101 |
return type; |
102 |
return type; |
102 |
default : |
103 |
default : |
Lines 121-127
Link Here
|
121 |
typeArgument.resolveType((BlockScope) scope, checkBounds); |
122 |
typeArgument.resolveType((BlockScope) scope, checkBounds); |
122 |
} |
123 |
} |
123 |
} |
124 |
} |
124 |
return null; |
125 |
switch (this.resolvedType.problemId()) { |
|
|
126 |
case ProblemReasons.NotFound : |
127 |
case ProblemReasons.NotVisible : |
128 |
case ProblemReasons.InheritedNameHidesEnclosingName : |
129 |
return this.resolvedType.closestMatch(); |
130 |
default : |
131 |
return null; |
132 |
} |
125 |
} |
133 |
} |
126 |
enclosingType = this.resolvedType.enclosingType(); // if member type |
134 |
enclosingType = this.resolvedType.enclosingType(); // if member type |
127 |
if (enclosingType != null && (enclosingType.isGenericType() || enclosingType.isParameterizedType())) { |
135 |
if (enclosingType != null && (enclosingType.isGenericType() || enclosingType.isParameterizedType())) { |