Class ClosureUtil

java.lang.Object
io.github.srdjanv.localgitdependency.util.ClosureUtil

public final class ClosureUtil extends Object
  • Method Details

    • delegateNullSafe

      public static boolean delegateNullSafe(@Nullable @Nullable groovy.lang.Closure closure, @NotNull @NotNull Object delegate)
    • delegate

      public static void delegate(@NotNull @NotNull groovy.lang.Closure closure, @NotNull @NotNull Object delegate)
    • of

      public static <T> groovy.lang.Closure<T> of(Supplier<T> supplier)
    • configure

      public static <T> groovy.lang.Closure<T> configure(Consumer<T> consumer)