code: static List<EventMethod> getMethodsForTarget(@NonNull Object target) {
          if (target instanceof Class) {
              return getMethodsFromClass((Class<?>) target, true);
          } else {
              return getMethodsFromClass(target.getClass(), false);
          }
      }
docs: Returns list of annotated methods for given class.
  This list will be cached on per-class basis to avoid costly annotations look up.