if (callbacks[e] == null)
callbacks[e] = new ArrayList<LifecycleCallbacks>(3);
MetaDataParsers.validateMethodsForSameCallback(cls,
callbacks[e], m, tag, conf, repos.getLog());
if (listener) {
callbacks[e].add(new BeanLifecycleCallbacks(cls, m,
false));
} else {
callbacks[e].add(new MethodLifecycleCallbacks(m,
false));
}