code: private static boolean isAssignableFrom(GenericArrayType type1, Class<?> type2) {
          return type2.isArray() && isAssignableFrom(Reflections.getRawType(type1.getGenericComponentType()), type2.getComponentType());
      }
docs: /*
  GenericArrayType