public boolean canSelect(PsiElement e) {
<BUG>return e instanceof PsiJavaToken && !(e instanceof PsiKeyword);
}</BUG>
public List<TextRange> select(PsiElement e, CharSequence editorText, int cursorOffset, Editor editor) {
<BUG>PsiJavaToken token = (PsiJavaToken)e;
if (token.getTokenType() != JavaTokenType.SEMICOLON &&
token.getTokenType() != JavaTokenType.LPARENTH
) {</BUG>
return super.select(e, editorText, cursorOffset, editor);
}

public boolean canSelect(PsiElement e) {
return e instanceof PsiJavaToken && !(e instanceof PsiKeyword) && !(e.getParent()instanceof PsiCodeBlock);
}
public List<TextRange> select(PsiElement e, CharSequence editorText, int cursorOffset, Editor editor) {
PsiJavaToken token = (PsiJavaToken)e;
if (token.getTokenType() != JavaTokenType.SEMICOLON && token.getTokenType() != JavaTokenType.LPARENTH) {
return super.select(e, editorText, cursorOffset, editor);
}
