public static Context wrap(Context context, ContextualStore store) { if (context instanceof WeldAlterableContext) { return new WeldAlterableContextWrapper((WeldAlterableContext) context, store); } else { if (context instanceof AlterableContext) { return new AlterableContextWrapper((AlterableContext) context, store); } else { return new ContextWrapper(context, store); } } }
public static Context wrap(Context context, ContextualStore store) { if (context instanceof WeldAlterableContext) { return new WeldAlterableContextWrapper((WeldAlterableContext) context, store); } else { if (context instanceof AlterableContext) { return new AlterableContextWrapper((AlterableContext) context, store); } else { return new ContextWrapper(context, store); } } }
public static Context wrap(Context context, ContextualStore store) { if (context instanceof WeldAlterableContext) { return new WeldAlterableContextWrapper((WeldAlterableContext) context, store); } else { if (context instanceof AlterableContext) { return new AlterableContextWrapper((AlterableContext) context, store); } else { return new ContextWrapper(context, store); } } }
public static Context wrap(Context context, ContextualStore store) { if (context instanceof WeldAlterableContext) { return new WeldAlterableContextWrapper((WeldAlterableContext) context, store); } else { if (context instanceof AlterableContext) { return new AlterableContextWrapper((AlterableContext) context, store); } else { return new ContextWrapper(context, store); } } }
public static Context wrap(Context context, ContextualStore store) { if (context instanceof WeldAlterableContext) { return new WeldAlterableContextWrapper((WeldAlterableContext) context, store); } else { if (context instanceof AlterableContext) { return new AlterableContextWrapper((AlterableContext) context, store); } else { return new ContextWrapper(context, store); } } }