cacheAnnotation = cacheResultAnnotation;
} else if (method.isAnnotationPresent(CacheRemove.class)) {
final CacheRemove cacheRemoveEntryAnnotation = method.getAnnotation(CacheRemove.class);
cacheKeyGenerator = getCacheKeyGenerator(beanManager, cacheRemoveEntryAnnotation.cacheKeyGenerator(), cacheDefaultsAnnotation);
cacheName = getCacheName(method, cacheRemoveEntryAnnotation.cacheName(), cacheDefaultsAnnotation, false);
aggregatedParameterMetaData = getAggregatedParameterMetaData(method, false);
cacheAnnotation = cacheRemoveEntryAnnotation;
if (cacheName.isEmpty()) {
throw log.cacheRemoveEntryMethodWithoutCacheName(method.getName());