private void obtainPluginLoadedMethods(SpawnResult spawnResult, Method[] methods) {
for (final Method method : methods) {
// 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) {