addLocalDeclarations(node, offset, flags); ITypeBinding binding= Bindings.getBindingOfParentType(node);
ITypeBinding parentTypeBinding= Bindings.getBindingOfParentType(selector);  ITypeBinding binding= getQualifier(selector); if (binding == null) { addLocalDeclarations(selector, flags); binding= parentTypeBinding; }
	public IBinding[] getDeclarationsInScope(int offset, int flags) {		NodeFinder finder= new NodeFinder(offset, 0);		fRoot.accept(finder);		ASTNode node= finder.getCoveringNode();		if (node == null) {			return null;		}		if (node instanceof SimpleName) {			return getDeclarationsInScope((SimpleName) node, flags);		}				try {			addLocalDeclarations(node, offset, flags);			ITypeBinding binding= Bindings.getBindingOfParentType(node);							if (binding != null) {				addTypeDeclarations(binding, flags);			}						if (hasFlag(CHECK_VISIBILITY, flags)) {				firterNonVisible(binding);			}			return (IBinding[]) fRequestor.toArray(new IBinding[fRequestor.size()]);		} finally {			clearLists();					}	}