protected final Map<String,Boolean> packageExistence = new HashMap<String,Boolean>();
public static AbstractModelLoader instance(Context context) {
AbstractModelLoader instance = context.get(AbstractModelLoader.class);
if (instance == null) {
ModelLoaderFactory factory = context.get(ModelLoaderFactory.class);
if (factory != null) {
instance = factory.createModelLoader(context);
}
else {
instance = new CeylonModelLoader(context);
}
context.put(AbstractModelLoader.class, instance);