for (int i = 0; i < syncMethods.length; ++i) {
JMethod syncMethod = syncMethods[i];
String asyncSig = computeAsyncMethodSignature(syncMethod);
JMethod asyncMethod = (JMethod) asyncMethodMap.get(asyncSig);
if (asyncMethod == null) {
branch.branch(TreeLogger.ERROR,
"Missing asynchronous version of the synchronous method '"
+ syncMethod.getReadableDeclaration() + "'", null);
failed = true;
} else if (asyncMethod.getReturnType() != JPrimitiveType.VOID) {
branch.branch(TreeLogger.ERROR,