}
Map<String, LifecycleMethod> map = new HashMap<String, LifecycleMethod>();
for (Map.Entry<String, LifecycleCallbackType> entry : lifecycleCallbackTypes.entrySet()) {
String className = entry.getKey();
LifecycleCallbackType callback = entry.getValue();
LifecycleMethod method = new LifecycleMethod(className, callback.getLifecycleCallbackMethod().getStringValue().trim());
map.put(className, method);
}
return map;
}