Class LoadedClass<T>

    • Constructor Detail

      • LoadedClass

        public LoadedClass​(Class<? extends T> clazz)
    • Method Detail

      • load

        public Class<T> load()
        Description copied from interface: DeferredClass
        Retrieves the class, for example from a cache or a class loader.
        Returns:
        Class instance
      • getName

        public String getName()
        Description copied from interface: DeferredClass
        Returns the name of the deferred class.
        Returns:
        Class name
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • get

        public final T get()
        Specified by:
        get in interface com.google.inject.Provider<T>
        Specified by:
        get in interface javax.inject.Provider<T>