blob: 231d6790e6f6e35f1abf6db07a8b5f76ef39ae09 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2022 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
*
* This code is auto-generated
* from: org.eclipse.ocl.xtext.oclinecore/model/OCLinEcoreCS.genmodel
*
* Only the copyright statement is editable.
*******************************************************************************/
package org.eclipse.ocl.xtext.oclinecorecs.util;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
/**
* An AbstractNullOCLinEcoreCSVisitor 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 AbstractNullOCLinEcoreCSVisitor<@Nullable R, C>
extends org.eclipse.ocl.xtext.essentialoclcs.util.AbstractNullEssentialOCLCSVisitor<R, C> implements OCLinEcoreCSVisitor<R>
{
/**
* Initializes me with an initial value for my result.
*
* @param context my initial result value
*/
protected AbstractNullOCLinEcoreCSVisitor(C context) {
super(context);
}
@Override
public R visitOCLinEcoreConstraintCS(org.eclipse.ocl.xtext.oclinecorecs.@NonNull OCLinEcoreConstraintCS object) {
return null;
}
@Override
public R visitSysMLCS(org.eclipse.ocl.xtext.oclinecorecs.@NonNull SysMLCS object) {
return null;
}
@Override
public R visitTopLevelCS(org.eclipse.ocl.xtext.oclinecorecs.@NonNull TopLevelCS object) {
return null;
}
}