public static NativeSystem.Family getFamily() {
      String var0 = System.getProperty("os.name");
      NativeSystem.Family var1;
      if(var0.equalsIgnoreCase("freebsd")) {
         var1 = NativeSystem.Family.FREEBSD;
      } else if(var0.equalsIgnoreCase("openbsd")) {
         var1 = NativeSystem.Family.OPENBSD;
      } else if(var0.equalsIgnoreCase("mac os x")) {
         var1 = NativeSystem.Family.OSX;
      } else if(!var0.equalsIgnoreCase("solaris") && !var0.equalsIgnoreCase("sunos")) {
         if(var0.equalsIgnoreCase("linux")) {
            var1 = NativeSystem.Family.LINUX;
         } else if(var0.toLowerCase().startsWith("windows")) {
            var1 = NativeSystem.Family.WINDOWS;
         } else {
            var1 = NativeSystem.Family.UNSUPPORTED;
         }
      } else {
         var1 = NativeSystem.Family.SOLARIS;
      }

      return var1;
   }