private static boolean needReplace(@NotNull PsiClass outerClass,
                                     @NotNull PsiMethod method,
                                     @NotNull PsiMethodCallExpression referenceExpression) {
    PsiExpression qualifier = referenceExpression.getMethodExpression().getQualifierExpression();
    return !PsiReflectionAccessUtil.isAccessibleMember(method, outerClass, qualifier);
  }
private static boolean needReplace(@NotNull PsiClass outerClass,
                                     @NotNull PsiMethod method,
                                     @NotNull PsiMethodCallExpression referenceExpression)