Acesse a classe principal de outra torneira de classe

private MainClassName plugin;

public currentClassname(MainClassName instance) {
	plugin = instance;
}

// you can then use your plugin as the plugin variable
TechTalk