Lines 3786-3791
Link Here
|
3786 |
TypeDeclaration typeDeclaration = ((ClassScope)scope).referenceContext; |
3786 |
TypeDeclaration typeDeclaration = ((ClassScope)scope).referenceContext; |
3787 |
if(typeDeclaration.superclass == astNode) { |
3787 |
if(typeDeclaration.superclass == astNode) { |
3788 |
addForbiddenBindings(typeDeclaration.binding); |
3788 |
addForbiddenBindings(typeDeclaration.binding); |
|
|
3789 |
addForbiddenBindingsForMemberTypes(typeDeclaration); |
3789 |
return scope.parent; |
3790 |
return scope.parent; |
3790 |
} |
3791 |
} |
3791 |
TypeReference[] superInterfaces = typeDeclaration.superInterfaces; |
3792 |
TypeReference[] superInterfaces = typeDeclaration.superInterfaces; |
Lines 3793-3798
Link Here
|
3793 |
for (int i = 0; i < length; i++) { |
3794 |
for (int i = 0; i < length; i++) { |
3794 |
if(superInterfaces[i] == astNode) { |
3795 |
if(superInterfaces[i] == astNode) { |
3795 |
addForbiddenBindings(typeDeclaration.binding); |
3796 |
addForbiddenBindings(typeDeclaration.binding); |
|
|
3797 |
addForbiddenBindingsForMemberTypes(typeDeclaration); |
3796 |
return scope.parent; |
3798 |
return scope.parent; |
3797 |
} |
3799 |
} |
3798 |
} |
3800 |
} |
Lines 3829-3834
Link Here
|
3829 |
return scope; |
3831 |
return scope; |
3830 |
} |
3832 |
} |
3831 |
|
3833 |
|
|
|
3834 |
private void addForbiddenBindingsForMemberTypes(TypeDeclaration typeDeclaration) { |
3835 |
TypeDeclaration[] memberTypes = typeDeclaration.memberTypes; |
3836 |
int memberTypesLen = memberTypes == null ? 0 : memberTypes.length; |
3837 |
for (int i = 0; i < memberTypesLen; i++) { |
3838 |
addForbiddenBindings(memberTypes[i].binding); |
3839 |
addForbiddenBindingsForMemberTypes(memberTypes[i]); |
3840 |
} |
3841 |
} |
3842 |
|
3832 |
private char[] computePrefix(SourceTypeBinding declarationType, SourceTypeBinding invocationType, boolean isStatic){ |
3843 |
private char[] computePrefix(SourceTypeBinding declarationType, SourceTypeBinding invocationType, boolean isStatic){ |
3833 |
|
3844 |
|
3834 |
StringBuffer completion = new StringBuffer(10); |
3845 |
StringBuffer completion = new StringBuffer(10); |