if (declaring == null || method == null) return;
if (!method.isAnnotationPresent(GET.class)) return;
Cache cache = declaring.getAnnotation(Cache.class);
NoCache nocache = declaring.getAnnotation(NoCache.class);
Cache methodCached = method.getAnnotation(Cache.class);
NoCache noMethodCache = method.getAnnotation(NoCache.class);
CacheControl cacheControl = null;
if (methodCached != null)
{
cacheControl= initCacheControl(methodCached);