/** Sets back-reference to scan result after scan is complete. */ @Override void setScanResult(final ScanResult scanResult) { this.scanResult = scanResult; if (this.annotationInfo != null) { for (final AnnotationInfo ai : this.annotationInfo) { ai.setScanResult(scanResult); } } }
/** Sets back-reference to scan result after scan is complete. */ @Override void setScanResult(final ScanResult scanResult) { this.scanResult = scanResult; if (this.annotationInfo != null) { for (int i = 0; i < this.annotationInfo.size(); i++) { final AnnotationInfo ai = this.annotationInfo.get(i); ai.setScanResult(scanResult); } } if (this.parameterAnnotationInfo != null) { for (int i = 0; i < this.parameterAnnotationInfo.length; i++) { final AnnotationInfo[] pai = this.parameterAnnotationInfo[i]; if (pai != null) { for (final AnnotationInfo ai : pai) { ai.setScanResult(scanResult); } } } } }
/** Sets back-reference to scan result after scan is complete. */ @Override void setScanResult(final ScanResult scanResult) { this.scanResult = scanResult; if (annotationInfo != null) { for (final AnnotationInfo ai : annotationInfo) { ai.setScanResult(scanResult); } } if (fieldInfo != null) { for (final FieldInfo fi : fieldInfo) { fi.setScanResult(scanResult); } } if (methodInfo != null) { for (final MethodInfo mi : methodInfo) { mi.setScanResult(scanResult); } } }
@Override void setScanResult(final ScanResult scanResult) { if (annotationValueArray != null) { for (int i = 0; i < annotationValueArray.length; i++) { if (annotationValueArray[i] != null) { annotationValueArray[i].setScanResult(scanResult); } } } else if (annotationEnumValue != null) { annotationEnumValue.setScanResult(scanResult); } else if (annotationClassRef != null) { annotationClassRef.setScanResult(scanResult); } else if (annotationInfo != null) { annotationInfo.setScanResult(scanResult); } } }