return node;
return unit instanceof ICompilationUnit ? node : null;
	private static ASTNode checkNode(ASTNode node) {		if (node == null)			return null;		if (node.getNodeType() == ASTNode.SIMPLE_NAME) {			node= node.getParent();		} else if (node.getNodeType() == ASTNode.EXPRESSION_STATEMENT) {			node= ((ExpressionStatement)node).getExpression();		}		switch(node.getNodeType()) {			case ASTNode.METHOD_INVOCATION:			case ASTNode.METHOD_DECLARATION:			case ASTNode.SUPER_METHOD_INVOCATION:			case ASTNode.CONSTRUCTOR_INVOCATION:				return node;		}		return null;	}