Esempio n. 1
0
 /**
  * Return if the Fantom Type is represented as a Java class such as sys::Int as java.lang.Long.
  */
 public static boolean isJavaRepresentation(Type t) {
   if (t.pod() != Sys.sysPod) return false;
   return t == Sys.ObjType
       || t == Sys.BoolType
       || t == Sys.StrType
       || t == Sys.IntType
       || t == Sys.FloatType
       || t == Sys.NumType
       || t == Sys.DecimalType;
 }