else if (ERROR_ID_NO_SETTER.equals(errorId)) {
String propertyName = marker.getAttribute("PROPERTY", null);
if (className != null && propertyName != null && file != null) {
NodeInfo nodeInfo = findNodeInfo(marker, BeansSchemaConstants.ATTR_NAME, propertyName);
if (nodeInfo != null) {
proposals = new PropertyAttributeQuickAssistProcessor(nodeInfo.offset, nodeInfo.length,
className, propertyName, file.getProject(), false,
PropertyAttributeQuickAssistProcessor.Type.SETTER).computeQuickAssistProposals(null);
}
}
}
else if (ERROR_ID_NO_GETTER.equals(errorId)) {
String propertyName = marker.getAttribute("PROPERTY", null);
if (className != null && propertyName != null && file != null) {
NodeInfo nodeInfo = findNodeInfo(marker, BeansSchemaConstants.ATTR_NAME, propertyName);
if (nodeInfo != null) {
proposals = new PropertyAttributeQuickAssistProcessor(nodeInfo.offset, nodeInfo.length,
className, propertyName, file.getProject(), false,
PropertyAttributeQuickAssistProcessor.Type.GETTER).computeQuickAssistProposals(null);
}
}
}