throw new AnnotationDefinitionResolutionException(resourceLocation,
e.getMessage());
}
File annotationCacheCopy = resolveResource.getCacheResourceCopy();
CachedResource cacheResource = cacheLookupService.findInCache(
ANNOTATIONS, resourceLocation);
AnnotationHeaderProcessor annotationHeaderProcessor =
new AnnotationHeaderProcessor();
AnnotationHeader annotationHeader;
try {
annotationHeader =
annotationHeaderProcessor
.processAnnotationHeader(resourceLocation,
annotationCacheCopy,
cacheResource
.getLocalFile());
} catch (IndexingFailure e) {
throw new AnnotationDefinitionResolutionException(resourceLocation,
e.getMessage());
}