apply To
Applies the plugin of the given type T to the specified object. Does nothing if the plugin has already been applied.
The given class should implement the Plugin interface.
Parameters
T
the plugin type.
targets
the plugin target objects or collections of objects