private @Nullable Method getDeclaredMethod(@NotNull Class<?> aClass) {
    Method method = ReflectionUtil.getMethod(aClass, myMethodName, myMethodParameters);
    return method == null ? ReflectionUtil.getDeclaredMethod(aClass, myMethodName, myMethodParameters) : method;
  }
private @Nullable Method getDeclaredMethod(@NotNull Class<?> aClass)