}
for (Method method : methods) {
// FIXME Java5
Init init = method.getAnnotation(Init.class);
if (init != null && initInvoker == null) {
initInvoker = new MethodEventInvoker(method);
eagerInit = init.eager();
continue;
}
Destroy destroy = method.getAnnotation(Destroy.class);
if (destroy != null && destroyInvoker == null) {
destroyInvoker = new MethodEventInvoker(method);
continue;
}
ComponentName compName = method.getAnnotation(ComponentName.class);
if (compName != null) {
Injector injector = new MethodInjector(method, new SingletonObjectFactory(name));