package jetbrains.mps.samples.fincalculator.generator.util;

/*Generated by MPS */

import org.jetbrains.mps.openapi.language.SEnumerationLiteral;
import java.util.Objects;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SEnumOperations;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;

public class Helper {
  public static String stringForKind(SEnumerationLiteral value) {
    if (Objects.equals(value, SEnumOperations.getMember(MetaAdapterFactory.getEnumeration(0x26b3d6d5b99a4ed6L, 0x83bed2ea6f3627c2L, 0x1d111c815ee9dbb5L, "jetbrains.mps.samples.fincalculator.structure.ValueKind"), 0x1d111c815ee9dbb6L, "amount"))) {
      return "$";
    } else if (Objects.equals(value, SEnumOperations.getMember(MetaAdapterFactory.getEnumeration(0x26b3d6d5b99a4ed6L, 0x83bed2ea6f3627c2L, 0x1d111c815ee9dbb5L, "jetbrains.mps.samples.fincalculator.structure.ValueKind"), 0x1d111c815ee9dbb7L, "percent"))) {
      return "%";
    } else {
      return "";
    }
  }
}
