Lines 307-312
Link Here
|
307 |
char[][] className = CharOperation.deepCopy(enclosingType.compoundName); |
307 |
char[][] className = CharOperation.deepCopy(enclosingType.compoundName); |
308 |
className[className.length - 1] = |
308 |
className[className.length - 1] = |
309 |
CharOperation.concat(className[className.length - 1], referenceContext.name, '$'); |
309 |
CharOperation.concat(className[className.length - 1], referenceContext.name, '$'); |
|
|
310 |
ReferenceBinding existingType = packageBinding.getType0(className[className.length - 1]); |
311 |
if (existingType != null) |
312 |
// report the error against the parent - its still safe to answer the member type |
313 |
this.parent.problemReporter().duplicateNestedType(referenceContext); |
310 |
referenceContext.binding = new MemberTypeBinding(className, this, enclosingType); |
314 |
referenceContext.binding = new MemberTypeBinding(className, this, enclosingType); |
311 |
} |
315 |
} |
312 |
|
316 |
|