result.add(e.getTextRange());
result.addAll(expandToWholeLine(editorText, new TextRange(start, end)));
return result;
}
}
<BUG>static class MethodOrClassSelectioner extends BasicSelectioner {
</BUG>
public boolean canSelect(PsiElement e) {
return e instanceof PsiClass && !(e instanceof PsiTypeParameter) || e instanceof PsiMethod;
}

result.add(e.getTextRange());
result.addAll(expandToWholeLine(editorText, new TextRange(start, end)));
return result;
}
}
private static class MethodOrClassSelectioner extends BasicSelectioner {
public boolean canSelect(PsiElement e) {
return e instanceof PsiClass && !(e instanceof PsiTypeParameter) || e instanceof PsiMethod;
}
