code: public static State getStateImpl() {
          State s = null;
          try {
               DiscoverClass dc = new DiscoverClass();
               s = (State) dc.newInstance(
               State.class,
               State.DEFAULT_STATE_IMPL);
          } catch (Exception ex) {
               // ignore as default implementation will be used.
          }
          return s;
      }
docs: <p>Returns the <code>State</code> implementation in use.</p>
  
  @return the <code>State</code> implementation in use.