code: public static boolean isResolved(Type type) {
      if (type instanceof GenericArrayType) {
        return isResolved(((GenericArrayType) type).getGenericComponentType());
      }
      if (type instanceof ParameterizedType) {
        for (Type t : ((ParameterizedType) type).getActualTypeArguments()) {
          if (!isResolved(t)) {
            return false;
          }
        }
        return true;
      }
      return type instanceof Class;
    }
docs: Checks if the given type is fully resolved.