TextRange (GrVariable variable) { if (variable instanceof GrParameter) { final PsiElement dots = ((GrParameter)variable).getEllipsisDots(); if (dots != null) { return dots.getTextRange(); } } return null; }