public static boolean isCompactConstructor(@NotNull PsiMethod method) {
    return method.isConstructor() && method.getParameterList().getText() == null;
  }
public static boolean isCompactConstructor(@NotNull PsiMethod method)