annotation.setDescription(element.attributeValue("role"));
String role = element.attributeValue("role"); if (role != null) annotation.setDescription(role);
		public XMLConvertible fromElement(Element element) throws DocumentException {			String className = element.attributeValue("classname");			String methodName = element.attributeValue("name");			String methodSig = element.attributeValue("signature");			MethodAnnotation annotation = new MethodAnnotation(className, methodName, methodSig);			annotation.setDescription(element.attributeValue("role"));			// SourceLines may be present as a nested element			java.util.Iterator i = element.elements().iterator();			while (i.hasNext()) {				Element child = (Element) i.next();				String childName = child.getName();				XMLTranslator translator = XMLTranslatorRegistry.instance().getTranslator(childName);				if (translator == null)					throw new DocumentException("Bad element type: " + childName);				annotation.setSourceLines((SourceLineAnnotation) translator.fromElement(child));			}			return annotation;		}