Esempio n. 1
0
 public static boolean createRootRule_Condition_6759767305208033198(
     final CreateRootRuleContext _context) {
   return ListSequence.fromList(
               SModelOperations.nodes(
                   _context.getInputModel(),
                   MetaAdapterFactory.getConcept(
                       0x982eb8df2c964bd7L,
                       0x996311712ea622e5L,
                       0x7c8b08a50a39c6c3L,
                       "jetbrains.mps.lang.resources.structure.IconExpression")))
           .isNotEmpty()
       || ListSequence.fromList(
               SModelOperations.nodes(
                   _context.getInputModel(),
                   MetaAdapterFactory.getConcept(
                       0x982eb8df2c964bd7L,
                       0x996311712ea622e5L,
                       0x52fb86deea79455eL,
                       "jetbrains.mps.lang.resources.structure.IconResourceExpression")))
           .isNotEmpty();
 }
Esempio n. 2
0
 public static boolean createRootRule_Condition_1202245164352(
     final CreateRootRuleContext _context) {
   return QueriesUtil.isTest1(_context.getInputModel());
 }