List of usage examples for com.google.common.util.concurrent FutureCallback getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.jenkinsci.plugins.workflow.cps.CpsThread.java
@CpsVmThreadOnly void addCompletionHandler(FutureCallback<Object> h) { if (!(h instanceof Serializable)) throw new IllegalArgumentException(h.getClass() + " is not serializable"); completionHandlers.add(h);//from www .jav a2 s. co m }