Lines 3043-3049
Link Here
|
3043 |
// test that the enclosingType is not part of the compilation unit |
3043 |
// test that the enclosingType is not part of the compilation unit |
3044 |
SourceTypeBinding[] topLevelTypes = ((CompilationUnitScope) unitScope).topLevelTypes; |
3044 |
SourceTypeBinding[] topLevelTypes = ((CompilationUnitScope) unitScope).topLevelTypes; |
3045 |
for (int i = topLevelTypes.length; --i >= 0;) |
3045 |
for (int i = topLevelTypes.length; --i >= 0;) |
3046 |
if (topLevelTypes[i] == enclosingType) |
3046 |
if (topLevelTypes[i] == enclosingType.original()) |
3047 |
return true; |
3047 |
return true; |
3048 |
return false; |
3048 |
return false; |
3049 |
} |
3049 |
} |