@NotNull
  private static @InspectionMessage String getMessage(@NotNull final RefMethod refMethod) {
    if (refMethod.isAbstract()) {
      return JavaAnalysisBundle.message("inspection.redundant.throws.problem.descriptor");
    }
    if (!refMethod.getDerivedMethods().isEmpty()) {
      return JavaAnalysisBundle.message("inspection.redundant.throws.problem.descriptor1");
    }

    return JavaAnalysisBundle.message("inspection.redundant.throws.problem.descriptor2");
  }
@NotNull
  private static @InspectionMessage String getMessage(@NotNull final RefMethod refMethod)