Class ValueProviders

java.lang.Object
ch.tocco.nice2.toolbox.api.inject.ValueProviders

public abstract class ValueProviders extends Object
  • Method Details

    • concat

      public static ValueProvider concat(ValueProvider... providers)
      Creates a value provider from the given list of providers. The first provider that returns a non-null value is used.
    • concat

      public static ValueProvider concat(Collection<ValueProvider> providers)
      Creates a value provider from the given list of providers. The first provider that returns a non-null value is used.
    • findAnnotation

      @Nullable public static <T extends Annotation> T findAnnotation(Annotation[] annots, Class<? extends Annotation> clazz)