Cache cache = method.getAnnotation(Cache.class);
if (cache != null) {
cacheDefinition = new CacheDefinition(cache, method);
}
CacheDelete cacheDelete = method.getAnnotation(CacheDelete.class);
if (cacheDelete != null) {
CacheDeleteDefinition definition = new CacheDeleteDefinition(cacheDelete, method);
cacheDeleteDefinitions = lazyInit(cacheDeleteDefinitions);
cacheDeleteDefinitions.add(definition);
}