final String name = cReturnType == null ? "void" : cReturnType.getName(); fireDiff(MSG_METHOD_RETURNTYPE_CHANGED, getSeverity(compatBaseline, baselineMethod, Severity.ERROR), compatBaseline, baselineMethod, new String[] {name});
    private void checkReturnType(JavaType compatBaseline, Method baselineMethod, Method currentMethod)    {        JavaType bReturnType = baselineMethod.getReturnType();        JavaType cReturnType = currentMethod.getReturnType();        // TODO: Check assignability. If the new return type is        // assignable to the old type, then the code is source-code        // compatible even when binary-incompatible.        if (!bReturnType.toString().equals(cReturnType.toString()))        {            fireDiff(MSG_METHOD_RETURNTYPE_CHANGED,                    getSeverity(compatBaseline, baselineMethod, Severity.ERROR),                    compatBaseline, baselineMethod,                    new String[] {cReturnType.toString()});        }    }