GrVariableDeclaration (String @Nullable [] modifiers, @Nullable GrExpression initializer, @Nullable PsiType type, String... identifiers) { String initializerText; if (initializer != null) { if (initializer instanceof GrApplicationStatement && !GroovyConfigUtils.getInstance().isVersionAtLeast(initializer, GroovyConfigUtils.GROOVY1_8, false)) { initializer = createMethodCallByAppCall((GrApplicationStatement)initializer); } assert initializer != null; initializerText = initializer.getText(); } else { initializerText = null; } return createVariableDeclaration(modifiers, initializerText, type, identifiers); }