| /******************************************************************************* |
| * Copyright (c) 2013, 2018 Willink Transformations and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * E.D.Willink - Initial API and implementation |
| * |
| * </copyright> |
| * |
| * This code is auto-generated |
| * from: org.eclipse.qvtd.pivot.qvttemplate/model/QVTtemplate.genmodel |
| * |
| * Only the copyright statement is editable. |
| *******************************************************************************/ |
| package org.eclipse.qvtd.pivot.qvttemplate.util; |
| |
| import org.eclipse.jdt.annotation.NonNull; |
| import org.eclipse.jdt.annotation.Nullable; |
| |
| /** |
| * An AbstractNullQVTtemplateVisitor provides a default implementation for each |
| * visitXxx method that returns null. |
| * |
| * @deprecated Explicit 'Null' functionality is obsolete with Java 8 @Nullable annotations. |
| */ |
| @Deprecated |
| public abstract class AbstractNullQVTtemplateVisitor<@Nullable R, C> |
| extends org.eclipse.qvtd.pivot.qvtbase.util.AbstractNullQVTbaseVisitor<R, C> implements QVTtemplateVisitor<R> |
| { |
| /** |
| * Initializes me with an initial value for my result. |
| * |
| * @param context my initial result value |
| */ |
| protected AbstractNullQVTtemplateVisitor(C context) { |
| super(context); |
| } |
| |
| @Override |
| public R visitCollectionTemplateExp(org.eclipse.qvtd.pivot.qvttemplate.@NonNull CollectionTemplateExp object) { |
| return null; |
| } |
| |
| @Override |
| public R visitObjectTemplateExp(org.eclipse.qvtd.pivot.qvttemplate.@NonNull ObjectTemplateExp object) { |
| return null; |
| } |
| |
| @Override |
| public R visitPropertyTemplateItem(org.eclipse.qvtd.pivot.qvttemplate.@NonNull PropertyTemplateItem object) { |
| return null; |
| } |
| |
| @Override |
| public R visitTemplateExp(org.eclipse.qvtd.pivot.qvttemplate.@NonNull TemplateExp object) { |
| return null; |
| } |
| } |