@NotNull
  @Override
  public @IntentionName String getText(@NotNull PsiElement element) {
    GrVariableDeclaration decl = (GrVariableDeclaration)element;
    GrVariable[] variables = decl.getVariables();
    if (variables.length > 1 && PsiUtil.isLocalVariable(variables[0])) {
      if (!decl.isTuple() || decl.getTupleInitializer() instanceof GrListOrMap) {
        return GroovyIntentionsBundle.message("split.into.separate.declaration");
      }
      else {
        return GroovyIntentionsBundle.message("split.into.declaration.and.assignment");
      }
    }
    return GroovyIntentionsBundle.message("split.into.declaration.and.assignment");
  }
@NotNull
  @Override
  public @IntentionName String getText(@NotNull PsiElement element)