public static Object virtual_eval_1213877519769(SNode thisNode, SModule module) { SNode enumClass = SLinkOperations.getTarget( thisNode, MetaAdapterFactory.getReferenceLink( 0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xfc37588bc8L, 0x10a758428feL, "enumClass")); SNode e = SLinkOperations.getTarget( thisNode, MetaAdapterFactory.getReferenceLink( 0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xfc37588bc8L, 0xfc37588bcaL, "enumConstantDeclaration")); SModule m = check_p8mh91_a0c0a(SNodeOperations.getModel(e)); if (m != null) { Enum eClass = null; try { eClass = ReflectionUtil.getEnum( m, enumClass, SPropertyOperations.getString( e, MetaAdapterFactory.getProperty( 0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } catch (Throwable t) { // do nothing } if (eClass != null) { return eClass; } } return ReflectionUtil.getEnum( module, enumClass, SPropertyOperations.getString( e, MetaAdapterFactory.getProperty( 0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); }
public static Object virtual_eval_1213877519769(SNode thisNode, IModule module) { if (SNodeOperations.isInstanceOf( SLinkOperations.getTarget(thisNode, "variableDeclaration", false), "jetbrains.mps.baseLanguage.structure.StaticFieldDeclaration")) { // todo SNode declaration = SNodeOperations.cast( SLinkOperations.getTarget(thisNode, "variableDeclaration", false), "jetbrains.mps.baseLanguage.structure.StaticFieldDeclaration"); SNode classifier = SNodeOperations.as( SNodeOperations.getParent(declaration), "jetbrains.mps.baseLanguage.structure.Classifier"); IModule m = check_gidzrl_a0e0a0e(SNodeOperations.getModel(declaration).getModelDescriptor()); if (m != null) { Object c = null; try { c = ReflectionUtil.getConstant( m, classifier, SPropertyOperations.getString(declaration, "name")); } catch (Throwable t) { // do nothing } if (c != null) { return c; } } return ReflectionUtil.getConstant( module, classifier, SPropertyOperations.getString(declaration, "name")); } return BehaviorReflection.invokeSuper( Object.class, thisNode, "jetbrains.mps.baseLanguage.structure.Expression", "virtual_eval_1213877519769", new Object[] {module}); }
public static Method call_getMethod_1213877350393(SNode __thisNode__, SModule module) { SModule m = check_tq0gdw_a0a0k(SNodeOperations.getModel(__thisNode__)); if (m != null) { Method method = null; try { method = ReflectionUtil.getMethod( m, SNodeOperations.getParent(__thisNode__), SPropertyOperations.getString( __thisNode__, MetaAdapterFactory.getProperty( 0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")), BaseMethodDeclaration_BehaviorDescriptor.getParameterTypes_idhEwIB0b.invoke( __thisNode__, m)); } catch (Throwable t) { // do nothing } if (method != null) { return method; } } return ReflectionUtil.getMethod( module, SNodeOperations.getParent(__thisNode__), SPropertyOperations.getString( __thisNode__, MetaAdapterFactory.getProperty( 0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")), BaseMethodDeclaration_BehaviorDescriptor.getParameterTypes_idhEwIB0b.invoke( __thisNode__, module)); }
public static Class call_getClass_1213877337327(SNode thisNode, SModule module) { return ReflectionUtil.forName( module, SLinkOperations.getTarget( TypeChecker.getInstance() .getRuntimeSupport() .coerce_( thisNode, HUtil.createMatchingPatternByConcept( MetaAdapterFactory.getConcept( 0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, "jetbrains.mps.baseLanguage.structure.ClassifierType")), true), MetaAdapterFactory.getReferenceLink( 0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, 0x101de490babL, "classifier"))); }
/*package*/ static Object eval_idhEwJgmp(@NotNull SNode __thisNode__, SModule module) { SNode classifier = SLinkOperations.getTarget( __thisNode__, MetaAdapterFactory.getReferenceLink( 0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf940c80846L, 0x10a75869f9bL, "classifier")); SNode f = SLinkOperations.getTarget( __thisNode__, MetaAdapterFactory.getReferenceLink( 0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c77f1e98L, 0xf8cc6bf960L, "variableDeclaration")); SModule m = check_o8sx3d_a0d0a(SNodeOperations.getModel(f)); if (m != null) { try { final Object c = ReflectionUtil.getConstant( m, classifier, SPropertyOperations.getString( f, MetaAdapterFactory.getProperty( 0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); if (c != null) { return c; } } catch (Throwable t) { // do nothing } } if (module == null) { return null; } try { return ReflectionUtil.getConstant( module, classifier, SPropertyOperations.getString( f, MetaAdapterFactory.getProperty( 0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } catch (Throwable t) { return null; } }