code: @SuppressWarnings( {"UnusedDeclaration", "unchecked"} )
      public <T> ObjectIdGenerator<T> findObjectIdGenerator( ObjectIdGenerator<T> gen ) {
          if ( null != generators ) {
              for ( ObjectIdGenerator<?> generator : generators ) {
                  if ( generator.canUseFor( gen ) ) {
                      return (ObjectIdGenerator<T>) generator;
                  }
              }
          }
          return null;
      }
docs: Used by generated {@link AbstractBeanJsonSerializer}
  
  @param gen generator used to find equivalent generator
  @param <T> a T object.
  
  @return a {@link com.fasterxml.jackson.annotation.ObjectIdGenerator} object.