if( f != null ) {
} else {
String fielname = attribute.getNodeValue();
FXMLValidationMessage message = new FXMLValidationMessage(IMessage.ERROR_AND_WARNING, "FXMLValidator.unknownControllerField", fxCtrl.getSimpleName(), fielname);
IDOMAttr domAttr = (IDOMAttr) attribute;
message.setLength(getAttributeLength(structuredDocumentRegion, domAttr));
message.setOffset(domAttr.getStartOffset());
UnknownControllerFieldQuickAssist processor = new UnknownControllerFieldQuickAssist(fielname, type, fxCtrl);
message.setAttribute(IQuickAssistProcessor.class.getName(), processor);
reporter.addMessage(this, message);
}
} else {
IFXProperty p = props.get(attribute.getNodeName());
if (p instanceof IFXEventHandlerProperty) {
IFXCtrlEventMethod evtMethod = fxCtrl.getAllEventMethods().get(attribute.getNodeValue().substring(1));
if (evtMethod == null) {
String methodName = nnm.item(j).getNodeValue().substring(1);
FXMLValidationMessage message = new FXMLValidationMessage(IMessage.HIGH_SEVERITY, "FXMLValidator.unknownControllerMethod", fxCtrl.getSimpleName(), methodName);
IDOMAttr domAttr = (IDOMAttr) attribute;
message.setLength(getAttributeLength(structuredDocumentRegion, domAttr));
message.setOffset(domAttr.getStartOffset());
UnknownControllerEventMethodQuickFixAssist processor = new UnknownControllerEventMethodQuickFixAssist(methodName, fxCtrl, (IFXEventHandlerProperty) p);
message.setAttribute(IQuickAssistProcessor.class.getName(), processor);
reporter.addMessage(this, message);
}