public void test_getReferenceTarget() throws Exception {
      this.addNodeById("8150353254540236423");
      this.addNodeById("8150353254540236549");
      this.addNodeById("4195712261513743410");
      SNode sNode =
          SNodeOperations.cast(
              this.getNodeById("8150353254540236424"),
              "jetbrains.mps.baseLanguage.structure.BlockStatement");

      StatCountNodeReadAccessInEditorListener listener =
          new StatCountNodeReadAccessInEditorListener(sNode);
      NodeReadAccessCasterInEditor.setCellBuildNodeReadAccessListener(listener);

      sNode.getReferenceTarget("");

      this.assertMethod(
          "public org.jetbrains.mps.openapi.model.SNode jetbrains.mps.smodel.SNode.getReferenceTarget(java.lang.String)",
          listener.getResults().o1);
    }
 public boolean match(SNode nodeToMatch) {
   {
     SNode nodeToMatch_supertypesOf_ClassifierType_Collection_g8re64_a0a;
     nodeToMatch_supertypesOf_ClassifierType_Collection_g8re64_a0a = nodeToMatch;
     if (!("jetbrains.mps.baseLanguage.structure.ClassifierType"
         .equals(
             nodeToMatch_supertypesOf_ClassifierType_Collection_g8re64_a0a
                 .getConcept()
                 .getId()))) {
       return false;
     }
     {
       SNodePointer pointer = SNODE_POINTER_832k9i_a0a0a0a0b0c0a0a0a0a0a0c;
       if (!(PatternUtil.matchReferentWithNode(
           pointer,
           nodeToMatch_supertypesOf_ClassifierType_Collection_g8re64_a0a.getReferenceTarget(
               "classifier")))) {
         return false;
       }
     }
     {
       String childRole_supertypesOf_ClassifierType_Collection_g8re64_ = "parameter";
       if (!(PatternUtil.hasNChildren(
           nodeToMatch_supertypesOf_ClassifierType_Collection_g8re64_a0a,
           childRole_supertypesOf_ClassifierType_Collection_g8re64_,
           1))) {
         return false;
       }
       {
         SNode childVar_supertypesOf_ClassifierType_Collection_g8re64_a0a0 =
             nodeToMatch_supertypesOf_ClassifierType_Collection_g8re64_a0a
                 .getChildren(childRole_supertypesOf_ClassifierType_Collection_g8re64_)
                 .get(0);
         this.patternVar_ELEMENT = childVar_supertypesOf_ClassifierType_Collection_g8re64_a0a0;
       }
     }
   }
   return true;
 }