
org.contextmapper.dsl.validation.ContextMappingDSLConfigurableIssueCodesProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of context-mapper-dsl Show documentation
Show all versions of context-mapper-dsl Show documentation
Use the ContextMapper DSL in your standalone application.
/*
* generated by Xtext 2.20.0
*/
package org.contextmapper.dsl.validation;
import org.eclipse.xtext.preferences.PreferenceKey;
import org.eclipse.xtext.util.IAcceptor;
import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider;
import org.eclipse.xtext.validation.SeverityConverter;
@SuppressWarnings("restriction")
public class ContextMappingDSLConfigurableIssueCodesProvider extends ConfigurableIssueCodesProvider {
protected static final String ISSUE_CODE_PREFIX = "org.contextmapper.dsl.";
public static final String DEPRECATED_MODEL_PART = ISSUE_CODE_PREFIX + "deprecatedModelPart";
@Override
protected void initialize(IAcceptor acceptor) {
super.initialize(acceptor);
acceptor.accept(create(DEPRECATED_MODEL_PART, SeverityConverter.SEVERITY_WARNING));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy