system/src/sc/lang/java/ModelUtil.java
static boolean isLocalDefinedMethod(LayeredSystem sys, Object methObj) {
      Object remoteAnnot = getAnnotation(methObj, "sc.obj.Remote");
      if (remoteAnnot != null) {
         String localRts = (String) getAnnotationValue(remoteAnnot, "localRuntimes");
         boolean local = false;
         String runtimeName = sys.getRuntimeName();
         if (!StringUtil.isEmpty(localRts)) {
            local = false;
            String[] localArr = StringUtil.split(localRts, ',');
            for (int i = 0; i < localArr.length; i++) {
               if (localArr[i].equals(runtimeName)) {
                  local = true;
                  break;
               }
            }
            return local;
         }
      }
      return false;
   }
/**
    * Returns true if the given method is declared to be local for the specified runtime - overrides the default detection of
    * a remote method call for those cases where there really is a method in the local runtime even if the system does not find
    * it.
    */
Returns true if the given method is declared to be local for the specified runtime - overrides the default detection of
a remote method call for those cases where there really is a method in the local runtime even if the system does not find
it.
Returns true if the given method is declared to be local for the specified runtime - overrides the default detection of a remote method call for those cases where there really is a method in the local runtime even if the system does not find it .
static boolean isLocalDefinedMethod(LayeredSystem sys, Object methObj) {
      Object remoteAnnot = getAnnotation(methObj, "sc.obj.Remote");
      if (remoteAnnot != null) {
         String localRts = (String) getAnnotationValue(remoteAnnot, "localRuntimes");
         boolean local = false;
         String runtimeName = sys.getRuntimeName();
         if (!StringUtil.isEmpty(localRts)) {
            local = false;
            String[] localArr = StringUtil.split(localRts, ',');
            for (int i = 0; i < localArr.length; i++) {
               if (localArr[i].equals(runtimeName)) {
                  local = true;
                  break;
               }
            }
            return local;
         }
      }
      return false;
   }
static boolean isLocalDefinedMethod ( LayeredSystem sys , Object methObj ) { Object remoteAnnot = getAnnotation ( methObj , "sc.obj.Remote" ) ; if ( remoteAnnot != null ) { String localRts = ( String ) getAnnotationValue ( remoteAnnot , "localRuntimes" ) ; boolean local = false ; String runtimeName = sys . getRuntimeName ( ) ; if ( ! StringUtil . isEmpty ( localRts ) ) { local = false ; String [ ] localArr = StringUtil . split ( localRts , ',' ) ; for ( int i = 0 ; i < localArr . length ; i ++ ) { if ( localArr [ i ] . equals ( runtimeName ) ) { local = true ; break ; } } return local ; } } return false ; }
Returns true if the given method is declared to be local for the specified runtime - overrides the default detection of
 a remote method call for those cases where there really is a method in the local runtime even if the system does not find
 it.
Returns true if the given method is declared to be local for the specified runtime - overrides the default detection of a remote method call for those cases where there really is a method in the local runtime even if the system does not find it .