docs: private State checkDefaultConstructor(Class<?> cls, State state) throws NoClassDefFoundError {
      try {
        cls.getConstructor();
        return State.DEFAULT_INSTANTIABLE;
      }
      catch(Exception e) {
        // do nothing.
      }
      return state;
    }