code: public InjectorConfiguration withDefined(Constructor constructorDefinition) {
          //noinspection unchecked
          return new InjectorConfiguration(
              scopes, definedClasses.withModified(
                  scopeValue -> scopeValue
                      .withCompute(
                          constructorDefinition.getDeclaringClass(),
                          (key, currentValue) -> (
                              currentValue == null?
                                  new ImmutableArrayList<Constructor>()
                                  :
                                  currentValue
                          ).withAdd(constructorDefinition)
                      )
              ),
              factories,
              factoryClasses,
              sharedClasses,
              sharedInstances,
              aliases,
              collectedAliases,
              namedParameterValues
          );
      }
docs: Marks a class as injectable on a global scope with one specific constructor.
  
  @param constructorDefinition the class to mark injectable
  
  @return a modified copy of this injection configuration.