public < T , K extends T > void alias ( Class < T > abstraction , Class < K > implementation ) { injectorConfiguration = injectorConfiguration . withAlias ( abstraction , implementation ) ; }
Create an alias definition for an abstraction . This can be used to specify implementations for abstractions .