public static boolean ifMacro_Condition_1659807394254493284(final IfMacroContext _context) { return (SLinkOperations.getTarget(_context.getNode(), "resources", true) != null) && ListSequence.fromList( SLinkOperations.getTargets( SLinkOperations.getTarget(_context.getNode(), "resources", true), "elements", true)) .isNotEmpty(); }
public static boolean ifMacro_Condition_1201570983175( final IOperationContext operationContext, final IfMacroContext _context) { return Property_Behavior.call_isDefaultImplementation_1213877383134(_context.getNode()) || ListSequence.fromList( SNodeOperations.getDescendants( _context.getNode(), "jetbrains.mps.baseLanguage.structure.PropertyValueReference", false, new String[] {})) .isNotEmpty(); }
public static boolean ifMacro_Condition_2059109515400476889(final IfMacroContext _context) { boolean result = ListSequence.fromList(SNodeOperations.getAllSiblings(_context.getNode(), false)) .any( new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf( it, "jetbrains.mps.build.workflow.structure.BwfJavaModule") && "IntelliJ" .equals( SPropertyOperations.getString( SNodeOperations.cast( it, "jetbrains.mps.build.workflow.structure.BwfJavaModule"), "compiler")); } }); if (result) { if (!(ListSequence.fromList(SNodeOperations.getAllSiblings(_context.getNode(), false)) .any( new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf( it, "jetbrains.mps.build.workflow.structure.BwfMacro") && "idea_home" .equals( SPropertyOperations.getString( SNodeOperations.cast( it, "jetbrains.mps.build.workflow.structure.BwfMacro"), "name")); } }))) { _context.showErrorMessage( ListSequence.fromList(SNodeOperations.getAllSiblings(_context.getNode(), false)) .where( new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf( it, "jetbrains.mps.build.workflow.structure.BwfJavaModule") && "IntelliJ" .equals( SPropertyOperations.getString( SNodeOperations.cast( it, "jetbrains.mps.build.workflow.structure.BwfJavaModule"), "compiler")); } }) .first(), "${idea_home} macro is required to use IntelliJ compiler"); } } return result; }
public static boolean ifMacro_Condition_3618324829955525186(final IfMacroContext _context) { return ListSequence.fromList( SLinkOperations.getChildren( _context.getNode(), MetaAdapterFactory.getContainmentLink( 0x772f6dcd8c0d48f7L, 0x869c908e036f7c8eL, 0x11d45f8a8b9L, 0x11d45f8a8baL, "attribute"))) .any( new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SPropertyOperations.getString( it, MetaAdapterFactory.getProperty( 0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")) .equals("text"); } }); }
public static boolean ifMacro_Condition_3073231036165996124( final IOperationContext operationContext, final IfMacroContext _context) { return !(TypeChecker.getInstance() .getSubtypingManager() .isSubtype( TypeChecker.getInstance().getTypeOf(_context.getNode()), _quotation_createNode_x583g4_b0a0a0v())); }
public static boolean ifMacro_Condition_6638738203687335897(final IfMacroContext _context) { return SNodeOperations.isInstanceOf( _context.getNode(), MetaAdapterFactory.getConcept( 0xc72da2b97cce4447L, 0x8389f407dc1158b7L, 0xf979ba0450L, "jetbrains.mps.lang.structure.structure.ConceptDeclaration")); }
public static boolean ifMacro_Condition_3618324829955525186( final IOperationContext operationContext, final IfMacroContext _context) { return ListSequence.fromList(SLinkOperations.getTargets(_context.getNode(), "attribute", true)) .any( new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SPropertyOperations.getString(it, "name").equals("text"); } }); }
public static boolean ifMacro_Condition_1217970189759(final IfMacroContext _context) { return SLinkOperations.getTarget( _context.getNode(), MetaAdapterFactory.getContainmentLink( 0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b9417864bL, 0x11b9418f1d8L, "referenceNode")) != null; }
public static boolean ifMacro_Condition_1218050438807(final IfMacroContext _context) { return SLinkOperations.getTarget( _context.getNode(), MetaAdapterFactory.getContainmentLink( 0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b994bfa0fL, 0x11b996c8ba1L, "contextNode")) != null; }
public static boolean ifMacro_Condition_4786190798786384253(final IfMacroContext _context) { return (SLinkOperations.getTarget( _context.getNode(), MetaAdapterFactory.getContainmentLink( 0x982eb8df2c964bd7L, 0x996311712ea622e5L, 0x7ce01982590bd1eL, 0x426bf72c54e74e64L, "concept")) == null); }
public static boolean ifMacro_Condition_572350672214579331( final IOperationContext operationContext, final IfMacroContext _context) { SNode enclosingMethod = SNodeOperations.getAncestor( _context.getNode(), "jetbrains.mps.lang.behavior.structure.ConceptMethodDeclaration", false, false); return ((enclosingMethod != null) && SPropertyOperations.getBoolean(enclosingMethod, "isStatic")); }
public static boolean ifMacro_Condition_4965310991037828399(final IfMacroContext _context) { return Icon__BehaviorDescriptor.getResourceId_id2p1v3tOadt0.invoke( SLinkOperations.getTarget( _context.getNode(), MetaAdapterFactory.getContainmentLink( 0x982eb8df2c964bd7L, 0x996311712ea622e5L, 0x7c8b08a50a39c6c3L, 0x7c8b08a50a39c6c5L, "icon"))) != null; }
public static boolean ifMacro_Condition_6896005762093597671(final IfMacroContext _context) { return ListSequence.fromList(SLinkOperations.getTargets(_context.getNode(), "parts", true)) .any( new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf( it, "jetbrains.mps.build.workflow.structure.BwfMacro") && SPropertyOperations.getBoolean( SNodeOperations.cast(it, "jetbrains.mps.build.workflow.structure.BwfMacro"), "exportToProperiesFile"); } }); }
public static boolean ifMacro_Condition_4786190798786580768(final IfMacroContext _context) { return SNodeOperations.isInstanceOf( SLinkOperations.getTarget( _context.getNode(), MetaAdapterFactory.getContainmentLink( 0x982eb8df2c964bd7L, 0x996311712ea622e5L, 0x7ce01982590bd1eL, 0x426bf72c54e74e64L, "concept")), MetaAdapterFactory.getConcept( 0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x1120c45902cL, "jetbrains.mps.lang.smodel.structure.RefConcept_Reference")); }
public static boolean ifMacro_Condition_2059109515400527266(final IfMacroContext _context) { return ListSequence.fromList(SNodeOperations.getAllSiblings(_context.getNode(), false)) .any( new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf( it, "jetbrains.mps.build.workflow.structure.BwfJavaModule") && "IntelliJ" .equals( SPropertyOperations.getString( SNodeOperations.cast( it, "jetbrains.mps.build.workflow.structure.BwfJavaModule"), "compiler")); } }); }
public static boolean ifMacro_Condition_1563914226484976394(final IfMacroContext _context) { return SPropertyOperations.getBoolean( SLinkOperations.getTarget(_context.getNode(), "matches", true), "value") == true; }
public static boolean ifMacro_Condition_2059109515400349923(final IfMacroContext _context) { return isNotEmptyString(SPropertyOperations.getString(_context.getNode(), "compiler")) && !(SPropertyOperations.getString(_context.getNode(), "compiler").equals("IntelliJ")); }
public static boolean ifMacro_Condition_1659807394254658074(final IfMacroContext _context) { return SPropertyOperations.getInteger(_context.getNode(), "heapSize") >= 4; }
public static boolean ifMacro_Condition_1202008840753( final IOperationContext operationContext, final IfMacroContext _context) { return Property_Behavior.call_hasSetter_1213877383224(_context.getNode()); }
public static boolean ifMacro_Condition_1202009182092( final IOperationContext operationContext, final IfMacroContext _context) { return Property_Behavior.call_isDefaultImplementation_1213877383134(_context.getNode()); }
public static boolean ifMacro_Condition_1659807394254658188(final IfMacroContext _context) { return SPropertyOperations.getBoolean(_context.getNode(), "generateDebugInfo"); }
public static boolean ifMacro_Condition_1217970189759( final IOperationContext operationContext, final IfMacroContext _context) { return SLinkOperations.getTarget(_context.getNode(), "referenceNode", true) != null; }
public static boolean ifMacro_Condition_2323553266848914890( final IOperationContext operationContext, final IfMacroContext _context) { return SNodeOperations.isInstanceOf( SLinkOperations.getTarget(((SNode) _context.getVariable("methodDecl")), "returnType", true), "jetbrains.mps.baseLanguage.structure.VoidType"); }
public static boolean ifMacro_Condition_1171381407187( final IOperationContext operationContext, final IfMacroContext _context) { return !(SNodeOperations.isInstanceOf( SNodeOperations.getParent(_context.getNode()), "jetbrains.mps.xml.structure.Element")); }
public static boolean ifMacro_Condition_1218050438807( final IOperationContext operationContext, final IfMacroContext _context) { return SLinkOperations.getTarget(_context.getNode(), "contextNode", true) != null; }
public static boolean ifMacro_Condition_5351366134229435236( final IOperationContext operationContext, final IfMacroContext _context) { return Property_Behavior.call_isDefaultImplementation_1213877383134(_context.getNode()) || Property_Behavior.call_isCustomSetterOnlyImplementation_2622108313329276688( _context.getNode()); }
public static boolean ifMacro_Condition_1202009232386( final IOperationContext operationContext, final IfMacroContext _context) { return Property_Behavior.call_isCustomImplementation_1213877383144(_context.getNode()) || Property_Behavior.call_isCustomSetterOnlyImplementation_2622108313329276688( _context.getNode()); }
public static boolean ifMacro_Condition_1659807394254658159(final IfMacroContext _context) { return SPropertyOperations.getBoolean(_context.getNode(), "noWarnings"); }
public static boolean ifMacro_Condition_1179113432151( final IOperationContext operationContext, final IfMacroContext _context) { return SPropertyOperations.getBoolean(_context.getNode(), "isEmpty"); }
public static boolean ifMacro_Condition_1201570447832( final IOperationContext operationContext, final IfMacroContext _context) { return Property_Behavior.call_isCustomImplementation_1213877383144(_context.getNode()); }