예제 #1
0
 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();
 }
예제 #2
0
 public static Object propertyMacro_GetPropertyValue_1206154728906(
     final IOperationContext operationContext, final PropertyMacroContext _context) {
   SNode property =
       SLinkOperations.getTarget(
           SNodeOperations.cast(
               SLinkOperations.getTarget(_context.getNode(), "operation", true),
               "jetbrains.mps.baseLanguage.structure.PropertyReference"),
           "property",
           false);
   return Property_Behavior.call_getGetterMethodName_1213877383170(property);
 }
예제 #3
0
 public static Iterable sourceNodesQuery_1201570443454(
     final IOperationContext operationContext, final SourceSubstituteMacroNodesContext _context) {
   return SLinkOperations.getTargets(
       SLinkOperations.getTarget(
           SLinkOperations.getTarget(
               Property_Behavior.call_getCustomPropertyImplementation_1213877383154(
                   _context.getNode()),
               "getAccessor",
               true),
           "statementList",
           true),
       "statement",
       true);
 }
예제 #4
0
 public static Object propertyMacro_GetPropertyValue_4540508509676739914(
     final IOperationContext operationContext, final PropertyMacroContext _context) {
   SNode property =
       SLinkOperations.getTarget(
           SNodeOperations.cast(
               SLinkOperations.getTarget(
                   SNodeOperations.cast(
                       SLinkOperations.getTarget(_context.getNode(), "lValue", true),
                       "jetbrains.mps.baseLanguage.structure.DotExpression"),
                   "operation",
                   true),
               "jetbrains.mps.baseLanguage.structure.PropertyReference"),
           "property",
           false);
   return Property_Behavior.call_getSetterMethodName_1213877383179(property);
 }
예제 #5
0
 public static Iterable sourceNodesQuery_1202009237531(
     final IOperationContext operationContext, final SourceSubstituteMacroNodesContext _context) {
   return Property_Behavior.call_getCustomSetterStatements_2622108313339491118(_context.getNode());
 }
예제 #6
0
 public static SNode sourceNodeQuery_1202008874192(
     final IOperationContext operationContext, final SourceSubstituteMacroNodeContext _context) {
   return Property_Behavior.call_getSetterVisibility_1213877383188(_context.getNode());
 }
예제 #7
0
 public static boolean ifMacro_Condition_1202008840753(
     final IOperationContext operationContext, final IfMacroContext _context) {
   return Property_Behavior.call_hasSetter_1213877383224(_context.getNode());
 }
예제 #8
0
 public static boolean ifMacro_Condition_1202009182092(
     final IOperationContext operationContext, final IfMacroContext _context) {
   return Property_Behavior.call_isDefaultImplementation_1213877383134(_context.getNode());
 }
예제 #9
0
 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());
 }
예제 #10
0
 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());
 }
예제 #11
0
 public static boolean ifMacro_Condition_1201570447832(
     final IOperationContext operationContext, final IfMacroContext _context) {
   return Property_Behavior.call_isCustomImplementation_1213877383144(_context.getNode());
 }
예제 #12
0
 public static Object propertyMacro_GetPropertyValue_1202008885748(
     final IOperationContext operationContext, final PropertyMacroContext _context) {
   return Property_Behavior.call_getSetterMethodName_1213877383179(_context.getNode());
 }