test_class.file: component/core/src/test/java/fr/norad/visuwall/providers/common/ResourceCacheTest.java
test_class.identifier: ResourceCacheTest
test_case.body: @Test
      public void should_not_get_element_wth_media_type() {
          ResourceCache cache = new ResourceCache();
          assertNull(cache.get("url", ResourceCache.class, MediaType.TEXT_HTML_TYPE));
      }
test_case.class_method_signature: ResourceCacheTest.should_not_get_element_wth_media_type()
test_case.full_signature: @Test public void should_not_get_element_wth_media_type()
test_case.identifier: should_not_get_element_wth_media_type
test_case.invocations: assertNull get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_not_get_element_wth_media_type()
focal_class.declarator: cache
focal_class.modifier: private final
focal_class.original_string: private final Cache cache;
focal_class.type: Cache
focal_class.var_name: cache
focal_class.declarator: ENABLE_STATISTICS = false
focal_class.modifier: private static final
focal_class.original_string: private static final boolean ENABLE_STATISTICS = false;
focal_class.type: boolean
focal_class.var_name: ENABLE_STATISTICS
focal_class.file: component/core/src/main/java/fr/norad/visuwall/providers/common/ResourceCache.java
focal_class.identifier: ResourceCache
focal_class.class_method_signature: ResourceCache.ResourceCache()
focal_class.full_signature: public  ResourceCache()
focal_class.identifier: ResourceCache
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ResourceCache()
focal_class.class_method_signature: ResourceCache.get(String url, Class<T> clazz)
focal_class.full_signature: @SuppressWarnings("unchecked") public T get(String url, Class<T> clazz)
focal_class.identifier: get
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (String url, Class<T> clazz)
focal_class.return: T
focal_class.signature: T get(String url, Class<T> clazz)
focal_class.class_method_signature: ResourceCache.get(String url, Class<T> clazz, MediaType mediaType)
focal_class.full_signature: @SuppressWarnings("unchecked") public T get(String url, Class<T> clazz, MediaType mediaType)
focal_class.identifier: get
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (String url, Class<T> clazz, MediaType mediaType)
focal_class.return: T
focal_class.signature: T get(String url, Class<T> clazz, MediaType mediaType)
focal_class.class_method_signature: ResourceCache.put(T object, String url, Class<T> clazz)
focal_class.full_signature: public void put(T object, String url, Class<T> clazz)
focal_class.identifier: put
focal_class.modifiers: public
focal_class.parameters: (T object, String url, Class<T> clazz)
focal_class.return: void
focal_class.signature: void put(T object, String url, Class<T> clazz)
focal_class.class_method_signature: ResourceCache.put(T object, String url, Class<T> clazz, MediaType mediaType)
focal_class.full_signature: public void put(T object, String url, Class<T> clazz, MediaType mediaType)
focal_class.identifier: put
focal_class.modifiers: public
focal_class.parameters: (T object, String url, Class<T> clazz, MediaType mediaType)
focal_class.return: void
focal_class.signature: void put(T object, String url, Class<T> clazz, MediaType mediaType)
focal_class.class_method_signature: ResourceCache.key(String url, Class<T> clazz)
focal_class.full_signature: private Serializable key(String url, Class<T> clazz)
focal_class.identifier: key
focal_class.modifiers: private
focal_class.parameters: (String url, Class<T> clazz)
focal_class.return: Serializable
focal_class.signature: Serializable key(String url, Class<T> clazz)
focal_class.class_method_signature: ResourceCache.key(String url, Class<T> clazz, MediaType mediaType)
focal_class.full_signature: private Serializable key(String url, Class<T> clazz, MediaType mediaType)
focal_class.identifier: key
focal_class.modifiers: private
focal_class.parameters: (String url, Class<T> clazz, MediaType mediaType)
focal_class.return: Serializable
focal_class.signature: Serializable key(String url, Class<T> clazz, MediaType mediaType)
focal_method.body: @SuppressWarnings("unchecked")
      public <T> T get(String url, Class<T> clazz) {
          Serializable cacheKey = key(url, clazz);
          if (cache.isKeyInCache(cacheKey)) {
              Element element = cache.get(cacheKey);
              if (element != null) {
                  Object objectValue = element.getObjectValue();
                  return (T) objectValue;
              }
          }
          return null;
      }
focal_method.class_method_signature: ResourceCache.get(String url, Class<T> clazz)
focal_method.full_signature: @SuppressWarnings("unchecked") public T get(String url, Class<T> clazz)
focal_method.identifier: get
focal_method.invocations: key isKeyInCache get getObjectValue
focal_method.modifiers: @SuppressWarnings("unchecked") public
focal_method.parameters: (String url, Class<T> clazz)
focal_method.return: T
focal_method.signature: T get(String url, Class<T> clazz)