private void dumpProcessingResult(HandlerProcessingResult result) { if (result==null || !AnnotationUtils.shouldLog("annotation")) { return; } Map<Class<? extends Annotation>, ResultType> annotationResults = result.processedAnnotations(); for (Map.Entry<Class<? extends Annotation>, ResultType> element : annotationResults.entrySet()) { logger.finer("Annotation " + element.getKey() + " : " + element.getValue()); } } public void pushAnnotationHandler(AnnotationHandler handler) {
private void dumpProcessingResult(HandlerProcessingResult result) { if (result==null || !AnnotationUtils.shouldLog("annotation")) { return; } Map<Class<? extends Annotation>, ResultType> annotationResults = result.processedAnnotations(); for (Map.Entry<Class<? extends Annotation>, ResultType> element : annotationResults.entrySet()) { logger.finer("Annotation " + element.getKey() + " : " + element.getValue()); } } public void pushAnnotationHandler(AnnotationHandler handler) {
public void addAll(HandlerProcessingResult result) { if (result == null) { return; } if (result.getOverallResult().compareTo(overallResult)>0) { overallResult = result.getOverallResult(); } results.putAll(result.processedAnnotations()); }
public void addAll(HandlerProcessingResult result) { if (result == null) { return; } if (result.getOverallResult().compareTo(overallResult)>0) { overallResult = result.getOverallResult(); } results.putAll(result.processedAnnotations()); }