system/src/sc/lang/java/ModelUtil.java
public static String arrayToString(Object[] list) {
      if (list == null)
         return "";
      StringBuilder sb = new StringBuilder();
      for (int i = 0; i < list.length; i++) {
         Object elem = list[i];
         if (elem == null)
            continue;
         sb.append(elementToString(elem, false));
         sb.append("\n");
      }
      return sb.toString();
   }
/** Takes an array of methods, fields etc. and dumps it to standard out for debugging purposes.
    *  Semantic nodes use their language representation.  Fields, Methods, etc. are ok as they are in Java with toString.
    */
Takes an array of methods, fields etc. and dumps it to standard out for debugging purposes.
Semantic nodes use their language representation.  Fields, Methods, etc. are ok as they are in Java with toString.
Takes an array of methods fields etc . and dumps it to standard out for debugging purposes . Semantic nodes use their language representation . Fields Methods etc . are ok as they are in Java with toString .
public static String arrayToString(Object[] list) {
      if (list == null)
         return "";
      StringBuilder sb = new StringBuilder();
      for (int i = 0; i < list.length; i++) {
         Object elem = list[i];
         if (elem == null)
            continue;
         sb.append(elementToString(elem, false));
         sb.append("\n");
      }
      return sb.toString();
   }
public static String arrayToString ( Object [ ] list ) { if ( list == null ) return "" ; StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 ; i < list . length ; i ++ ) { Object elem = list [ i ] ; if ( elem == null ) continue ; sb . append ( elementToString ( elem , false ) ) ; sb . append ( "\n" ) ; } return sb . toString ( ) ; }
Takes an array of methods, fields etc.
Takes an array of methods fields etc .