Class ResolutionContext

java.lang.Object
com.coditory.quark.context.ResolutionContext

public final class ResolutionContext extends Object
  • Method Details

    • get

      @NotNull public <T> T get(@NotNull @NotNull Class<T> type)
    • getOrNull

      @Nullable public <T> T getOrNull(@NotNull @NotNull Class<T> type)
    • get

      @NotNull public <T> T get(@NotNull @NotNull Class<T> type, @NotNull @NotNull String name)
    • getOrNull

      @Nullable public <T> T getOrNull(@NotNull @NotNull Class<T> type, @NotNull @NotNull String name)
    • contains

      public boolean contains(@NotNull @NotNull Class<?> type)
    • contains

      public boolean contains(@NotNull @NotNull String name)
    • contains

      public boolean contains(@NotNull @NotNull Class<?> type, @NotNull @NotNull String name)
    • getAll

      @NotNull public <T> @NotNull List<T> getAll(@NotNull @NotNull Class<T> type)
    • getAllOrEmpty

      @NotNull public <T> @NotNull List<T> getAllOrEmpty(@NotNull @NotNull Class<T> type)