result.addAll(expandToWholeLine(editorText, new TextRange(startElement.getTextRange().getStartOffset(),
endElement.getTextRange().getEndOffset())));
return result;
}
}
<BUG>static class ReferenceSelectioner extends BasicSelectioner {
</BUG>
public boolean canSelect(PsiElement e) {
return e instanceof PsiJavaCodeReferenceElement;
}

result.addAll(expandToWholeLine(editorText, new TextRange(startElement.getTextRange().getStartOffset(),
endElement.getTextRange().getEndOffset())));
return result;
}
}
private static class ReferenceSelectioner extends BasicSelectioner {
public boolean canSelect(PsiElement e) {
return e instanceof PsiJavaCodeReferenceElement;
}
