invalidSelection(RefactoringCoreMessages.getString("StatementAnalyzer.doesNotCover"));
ISourceRange range= new SourceRange(selectionOffset, node.getStartPosition() - selectionOffset + 1); invalidSelection( RefactoringCoreMessages.getString("StatementAnalyzer.beginning_of_selection"), JavaSourceContext.create(fCUnit, range));
	protected void checkSelectedNodes() {		ASTNode[] nodes= getSelectedNodes();		Selection selection= getSelection();		int pos= fBuffer.indexOfStatementCharacter(selection.getOffset());		ASTNode node= nodes[0];		if (node.getStartPosition() != pos) {			invalidSelection(RefactoringCoreMessages.getString("StatementAnalyzer.doesNotCover")); //$NON-NLS-1$			return;		}					node= nodes[nodes.length - 1];		pos= fBuffer.indexOfStatementCharacter(node.getStartPosition() + node.getLength());		if (pos != -1 && pos <= selection.getInclusiveEnd())			invalidSelection(RefactoringCoreMessages.getString("StatementAnalyzer.end_of_selection")); //$NON-NLS-1$	}