VariableNameGenerator (@Nullable String name) { if (name != null) { PsiExpression expr = JavaPsiFacade.getElementFactory(myContext.getProject()).createExpressionFromText(name + "[0]", myContext); byExpression(expr); } return this; }