void (String className, PluginId id) { if (!LOG.isDebugEnabled()) { return; } String message = "Detected a plugin " + id + " by class " + className; IdeaPluginDescriptor descriptor = PluginManagerCore.getPlugin(id); if (descriptor != null) { ClassLoader loader = descriptor.getClassLoader(); message += "; loader=" + loader + '/' + loader.getClass(); if (loader instanceof PluginClassLoader) { message += "; loaded class: " + ((PluginClassLoader)loader).hasLoadedClass(className); } } LOG.debug(message); }