Class JavaClosure

java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.Closure
io.github.jwharm.javagi.gobject.JavaClosure
All Implemented Interfaces:
Proxy

public class JavaClosure extends Closure
An implementation of Closure that can be used with Java callbacks. In most cases, the callback will be invoked using reflection. For two common cases (Runnable and BooleanSupplier), the callback will be invoked directly.