code: public static String toStringConstructor(final Constructor constructor, final Map<String, Type> generics) {
          return String.format("%s(%s)",
                  constructor.getDeclaringClass().getSimpleName(),
                  toStringTypes(constructor.getGenericParameterTypes(), generics));
      }
docs: <pre>{@code class B extends A<Long> {}
  class A<T> {
  A(T arg);
  }
  
  Constructor method = A.class.getConstructor(Object.class);
  Map<String, Type> generics = (context of B).method().visibleGenericsMap();
  TypeToStringUtils.toStringConstructor(constructor, generics) == "A(Long)"
  }</pre>.
  
  @param constructor constructor
  @param generics    required generics (type generics and possible constructor generics)
  @return constructor string with replaced generic variables
  @see ru.vyarus.java.generics.resolver.util.map.PrintableGenericsMap to print not known generic names
  @see ru.vyarus.java.generics.resolver.util.map.IgnoreGenericsMap to print Object instead of not known generic