Class TypeTokenUtils


  • @Beta
    public final class TypeTokenUtils
    extends Object
    • Method Detail

      • isSupertypeOf

        public static <C> boolean isSupertypeOf​(com.google.common.reflect.TypeToken<C> token,
                                                Type type)
      • isSupertypeOf

        public static <C,​D> boolean isSupertypeOf​(com.google.common.reflect.TypeToken<C> token,
                                                        com.google.common.reflect.TypeToken<D> token2)