code: private Asset getAsset(Entity entity) {
          return getAsset(entity.getInstanceKey(), getAssetTypeToken(entity.getClass()));
      }
docs: Try to find an asset in the asset cache or create one for this entity.
  
  @param entity asset will be found for.
  @return An asset that will exist in the asset cache.