private Expression getSelectedExpression() throws JavaModelException { SelectionAnalyzer analyzer= new SelectionAnalyzer(Selection.createFromStartLength(fSelectionStart, fSelectionLength), true); fCompilationUnitNode.accept(analyzer); ASTNode selectedNode= analyzer.getFirstSelectedNode(); if (selectedNode instanceof Expression) return (Expression)selectedNode; else
private IExpressionFragment getSelectedExpression() throws JavaModelException { IASTFragment selectedFragment= ASTFragmentFactory.createFragmentForSourceRange(new SourceRange(fSelectionStart, fSelectionLength), fCompilationUnitNode, fCu);  if (selectedFragment instanceof IExpressionFragment) return (IExpressionFragment) selectedFragment; else
	private Expression getSelectedExpression() throws JavaModelException {		SelectionAnalyzer analyzer= new SelectionAnalyzer(Selection.createFromStartLength(fSelectionStart, fSelectionLength), true);		fCompilationUnitNode.accept(analyzer);		ASTNode selectedNode= analyzer.getFirstSelectedNode();		if (selectedNode instanceof Expression)			return (Expression)selectedNode;		else 			return null;		}