code: @SuppressWarnings("unchecked") //
    public static <T> T getDaggerComponent(Context context) {
      //noinspection ResourceType
      return (T) context.getSystemService(SERVICE_NAME);
    }
docs: Caller is required to know the type of the component for this context.