public InjectorConfiguration withDefined ( Class classDefinition ) { //noinspection unchecked return new InjectorConfiguration ( scopes , definedClasses . withModified ( value -> value . withPut ( classDefinition , new ImmutableArrayList <> ( Arrays . asList ( classDefinition . getConstructors ( ) ) ) ) ) , factories , factoryClasses , sharedClasses , sharedInstances , aliases , collectedAliases , namedParameterValues ) ; }
Marks a class as injectable on a global scope with all possible constructors .