public static String getClassReference(final MetaType metaClass, final Context context, final boolean typeParms) { final Map<MetaType, String> cacheStore = context.getRenderingCache(CLASS_LITERAL_RENDER_CACHE); String result = cacheStore.get(metaClass); if (result == null) { result = _getClassReference(metaClass, context, typeParms); } return result; }
public static String getClassReference(final MetaType metaClass, final Context context, final boolean typeParms) { final Map<MetaType, String> cacheStore = context.getRenderingCache(CLASS_LITERAL_RENDER_CACHE); String result = cacheStore.get(metaClass); if (result == null) { result = _getClassReference(metaClass, context, typeParms); } return result; }
Map<Object, LiteralValue<?>> LITERAL_CACHE = null; if (context != null) { LITERAL_CACHE = context.getRenderingCache(CLASS_LITERAL_RENDER_CACHE);
Map<Object, LiteralValue<?>> LITERAL_CACHE = null; if (context != null) { LITERAL_CACHE = context.getRenderingCache(CLASS_LITERAL_RENDER_CACHE);
private static String getClassReferencesForParameterizedTypes(final MetaParameterizedType parameterizedType, final Context context) { final Map<MetaParameterizedType, String> cacheStore = context.getRenderingCache(PARMTYPE_LITERAL_RENDER_CACHE);
private static String getClassReferencesForParameterizedTypes(final MetaParameterizedType parameterizedType, final Context context) { final Map<MetaParameterizedType, String> cacheStore = context.getRenderingCache(PARMTYPE_LITERAL_RENDER_CACHE);