code: public Class<?> getIntentClass() {
      try {
        return Class.forName(realIntent.getComponent().getClassName());
      } catch (ClassNotFoundException e) {
        throw new RuntimeException(e);
      }
    }
docs: Returns the {@code Class} object set by
  {@link Intent#setClass(android.content.Context, Class)}
  
  @return the {@code Class} object set by
  {@link Intent#setClass(android.content.Context, Class)}