MCPcopy Create free account
hub / github.com/diffplug/goomph / call

Method call

src/main/java/com/diffplug/gradle/GroovyCompat.java:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 public static <T> Closure<T> closureFrom(Object owner, Function<T, T> closure) {
28 return new Closure<T>(owner) {
29 @SuppressWarnings("unchecked")
30 @Override
31 public T call() {
32 return closure.apply((T) getDelegate());
33 }
34 };
35 }
36

Callers

nothing calls this directly

Calls 1

applyMethod · 0.80

Tested by

no test coverage detected