blob: fb2eb4391b3b004164a0114afa49c99ff315a378 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2017 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* E.D.Willink - initial API and implementation
*******************************************************************************/
package org.eclipse.qvtd.compiler;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.qvtd.compiler.CompilerProblem;
public abstract class AbstractCompilerProblem implements CompilerProblem
{
protected final @NonNull Severity severity;
protected AbstractCompilerProblem(@NonNull Severity severity) {
this.severity = severity;
}
@Override
public @NonNull Severity getSeverity() {
return severity;
}
}