getProvidingPlugin

public static JavaPlugin getProvidingPlugin(Class<? extends Object> clazz)

This method provides fast access to the plugin that has provided the given class.

Return

the plugin that provided the class

Parameters

clazz

getClassById class belonging to getClassById plugin

Throws

if class is null

if called from the static initializer for given JavaPlugin