// wrap it in a return if necessary
JStatement callOrReturn;
if (bridgeMethod.getType() == program.getTypeVoid()) {
callOrReturn = call.makeStatement();
} else {
callOrReturn = new JReturnStatement(program.createSourceInfoSynthetic(
GenerateJavaAST.class, "part of a bridge method"), call);
}
// create a body that is just that call
JMethodBody body = (JMethodBody) bridgeMethod.getBody();