{
final GenericType generic = (GenericType) content;
ResourceKey source = null;
if (content instanceof ResourceType)
{
final ResourceType resourceType = (ResourceType) content;
source = resourceType.getContent().getSource();
}
final Object raw = generic.getRaw();
if (raw instanceof Image)
{