calledType = Bindings.findType(calledTypeBinding.getInterfaces()[0], fMethod.getJavaProject());
if (!"java.lang.Object".equals(calledTypeBinding.getSuperclass().getQualifiedName())) { calledType= Bindings.findType(calledTypeBinding.getSuperclass(), fMethod.getJavaProject()); } else { calledType = Bindings.findType(calledTypeBinding.getInterfaces()[0], fMethod.getJavaProject()); }
    protected void addMethodCall(IMethodBinding calledMethodBinding, ASTNode node) {        try {            if (calledMethodBinding != null) {                fProgressMonitor.worked(1);                ITypeBinding calledTypeBinding = calledMethodBinding.getDeclaringClass();                IType calledType = null;                if (!calledTypeBinding.isAnonymous()) {                    calledType = Bindings.findType(calledTypeBinding,                            fMethod.getJavaProject());                } else {                    calledType = Bindings.findType(calledTypeBinding.getInterfaces()[0],                            fMethod.getJavaProject());                }                IMethod calledMethod = findIncludingSupertypes(calledMethodBinding,                        calledType, fProgressMonitor);                IMember referencedMember= null;                if (calledMethod == null) {                    if (calledMethodBinding.isConstructor() && calledMethodBinding.getParameterTypes().length == 0) {                        referencedMember= calledType;                    }                } else {                     if (calledType.isInterface()) {                        calledMethod = findImplementingMethods(calledMethod);                    }                    if (!isIgnoredBySearchScope(calledMethod)) {                        referencedMember= calledMethod;                    }                }                                fSearchResults.addMember(fMethod, referencedMember,                    node.getStartPosition(),                    node.getStartPosition() + node.getLength(), fCompilationUnit.lineNumber(node.getStartPosition()));            }        } catch (JavaModelException jme) {            JavaPlugin.log(jme);        }    }