package jetbrains.mps.kotlin.behavior;

/*Generated by MPS */

import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations;

public class ThisTypeReference implements TypeReference {
  private final SNode myClassType;
  public ThisTypeReference(SNode classType) {
    myClassType = classType;
  }

  @Override
  public SNode compute() {
    return IClassLike__BehaviorDescriptor.getThisType_id46gC9M6gB68.invoke(myClassType);
  }
  @Override
  public String toString() {
    return "thisTypeOf[" + SNodeOperations.present(myClassType) + "]";
  }
}
