Class GuiceInjectionService<C>

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <C> GuiceInjectionService<C> create​(@NonNull com.google.inject.Injector injector)
      Create a new Guice injection service that wraps the given injector
      @Nullable java.lang.Object handle​(@NonNull Triplet<CommandContext<C>,​java.lang.Class<?>,​AnnotationAccessor> triplet)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
      • Methods inherited from interface cloud.commandframework.services.types.Service

        apply, order
    • Method Detail

      • create

        public static <C> GuiceInjectionService<C> create​(@NonNull com.google.inject.Injector injector)
        Create a new Guice injection service that wraps the given injector
        Type Parameters:
        C - Command sender type
        Parameters:
        injector - Injector to wrap
        Returns:
        the created injection service