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

T

the plugin type.

targets

the plugin target objects or collections of objects

See also