code: public static Type findComponent(Class<?> type) {
          int i;
          Type cmp;
  
          for (i = 0; i < Type.PRIMITIVES.length; i++) {
              cmp = Type.PRIMITIVES[i];
              if (type == cmp.type) {
                  return cmp;
              }
          }
          return Type.REFERENCE;
      }
docs: returns Type.REFERENCE_TYPE;