# applyTo

inline fun <T : Plugin<*>> PluginAware.applyTo(vararg targets: Any)(source)

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

targets

the plugin target objects or collections of objects

#### Type Parameters

T

the plugin type.

#### See also

PluginAware.apply