package jetbrains.mps.debugger.java.runtime.evaluation.transform;

/*Generated by MPS */

import jetbrains.mps.annotations.GeneratedClass;
import jetbrains.mps.debugger.java.api.evaluation.transform.TransformatorBuilder;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.mps.openapi.model.SNode;

@GeneratedClass(node = "r:7f073096-c94d-44be-8c16-e03c412508f0(jetbrains.mps.debugger.java.runtime.evaluation.transform)/7157912897227100955", model = "r:7f073096-c94d-44be-8c16-e03c412508f0(jetbrains.mps.debugger.java.runtime.evaluation.transform)")
public class TransformatorBuilderImpl extends TransformatorBuilder {
  public TransformatorBuilderImpl() {
  }
  @Override
  public void init() {
    synchronized (LOCK) {
      INSTANCE = this;
    }
  }
  @Override
  public void dispose() {
    synchronized (LOCK) {
      INSTANCE = null;
    }
  }
  @Override
  public TransformatorBuilder.Transformator build(@NotNull SNode node, boolean insideTransformation) {
    return new TransformatorImpl(node);
  }
  @Override
  public String getJniSignatureFromType(SNode type) {
    return TransformationUtil.getJniSignatureFromType(type);
  }
  @Override
  public SNode getProxyTypeFromType(SNode type) {
    return TransformationUtil.getValueProxyTypeFromType(type);
  }
}
