code: public String getJavaType(boolean wrapArray) {
          String t = "";
          if (type.equals("string")) {
              t = "String";
          }
          else if (type.equals("float")) {
              t = "Double";
          }
          else if (type.equals("int")) {
              t = "Long";
          }
          else if (type.equals("bool")) {
              t = "Boolean";
          }
          else {
              t = type;
          }
  
          if (wrapArray && isArray) {
              return t + "[]";
          }
          else {
              return t;
          }
      }
docs: Returns the Java type this type maps to. Used by Idl2Java code generator.
  
  @param wrapArray If true, returned String will include '[]' after type to designate
  a Java array type