/** * Determine whether the method is definitely synchronous, that is, it is not marked client-async, and the return * value of the method is not {@code void} or {@code Future<?>}. * * @return {@code true} if the method is definitely synchronous, {@code false} if the method may be asynchronous */ public boolean isSynchronous() { return ! isClientAsync() && methodInfo.isSynchronous(); }
final boolean async = view.isAsynchronous(method) || invocation.isClientAsync();
/** * Determine whether the method is definitely synchronous, that is, it is not marked client-async, and the return * value of the method is not {@code void} or {@code Future<?>}. * * @return {@code true} if the method is definitely synchronous, {@code false} if the method may be asynchronous */ public boolean isSynchronous() { return ! isClientAsync() && methodInfo.isSynchronous(); }
/** * Determine whether the method is definitely synchronous, that is, it is not marked client-async, and the return * value of the method is not {@code void} or {@code Future<?>}. * * @return {@code true} if the method is definitely synchronous, {@code false} if the method may be asynchronous */ public boolean isSynchronous() { return ! isClientAsync() && methodInfo.isSynchronous(); }