VariableDeclaration vd= (VariableDeclaration)node; if (vd.getInitializer() != null){ TextRange declarationRange= TextRange.createFromStartAndExclusiveEnd(node.getStartPosition(), vd.getInitializer().getStartPosition()); if (getSelection().coveredBy(declarationRange)){ fNode= node; return false; } else return super.visitNode(node); } else { if (getSelection().coveredBy(node)){ fNode= node; return false; } else return super.visitNode(node); }
		public boolean visitNode(ASTNode node) {			if (!(node instanceof VariableDeclaration))				return super.visitNode(node);			VariableDeclaration vd= (VariableDeclaration)node;			if (vd.getInitializer() != null){				TextRange declarationRange= TextRange.createFromStartAndExclusiveEnd(node.getStartPosition(), vd.getInitializer().getStartPosition());				if (getSelection().coveredBy(declarationRange)){					fNode= node;					return false;				} else 					return super.visitNode(node);			} else {				if (getSelection().coveredBy(node)){					fNode= node;					return false;				} else 					return super.visitNode(node);			}		}