private boolean shouldHandleAsSimpleMethod(@NotNull PsiMethod method) {
    if (!mySettings.KEEP_SIMPLE_METHODS_IN_ONE_LINE) return false;
    PsiCodeBlock body = method.getBody();
    return body != null && !body.textContains('\n') && shouldAddNewLineWhenBodyIsPresent(body);
  }
private boolean shouldHandleAsSimpleMethod(@NotNull PsiMethod method)