// New: also turn on extended accessibility, so elements don't have to be
// public anymore.
method.setAccessible(true);
final PluginLoaded annotation = method.getAnnotation(PluginLoaded.class);
if (annotation != null) {
final PluginLoadedInformation pli = new PluginLoadedInformation();
final Class<?>[] parameterTypes = method.getParameterTypes();
if (parameterTypes.length != 1) {
log("pluginloadedmethods/wrongnumberofparams", new OptionInfo("plugin", spawnResult.plugin.getClass().getCanonicalName()), new OptionInfo("method", method.getName()));
continue;