return elem;
}
private Element getMissingCallbackMethod() {
Element elem = new Element("component", "");
elem.addAttribute(new Attribute("classname", clazz));
// iPOJO cannot determine the specification of this type of dependency.
Element dependency = new Element("requires", "");
dependency.addAttribute(new Attribute("field", "fs"));
Element callback = new Element("callback", "");
callback.addAttribute(new Attribute("type", "bind"));
// callback.addAttribute(new Attribute("method", "refBind")); --> Method missing.
dependency.addElement(callback);
elem.addElement(dependency);
elem.addElement(manipulation);