Class VilBuildLanguageValidator
java.lang.Object
org.eclipse.xtext.validation.AbstractInjectableValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator
de.uni_hildesheim.sse.vil.expressions.validation.AbstractExpressionDslValidator
de.uni_hildesheim.sse.vil.expressions.validation.ExpressionDslValidator
de.uni_hildesheim.sse.vil.buildlang.validation.AbstractVilBuildLanguageValidator
de.uni_hildesheim.sse.vil.buildlang.validation.VilBuildLanguageValidator
- All Implemented Interfaces:
org.eclipse.emf.ecore.EValidator,org.eclipse.xtext.validation.ValidationMessageAcceptor
This class contains custom validation rules.
See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccessNested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator
org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate net.ssehub.easy.dslCore.validation.ValidationUtils.IModelValidationCallback<ImplementationUnit, net.ssehub.easy.instantiation.core.model.buildlangModel.Script> Fields inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator
CURRENT_LANGUAGE_NAME, ISSUE_SEVERITIESFields inherited from interface org.eclipse.emf.ecore.EValidator
MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTEFields inherited from interface org.eclipse.xtext.validation.ValidationMessageAcceptor
INSIGNIFICANT_INDEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckModel(ImplementationUnit unit) Checks the model on top-level element layer.Methods inherited from class de.uni_hildesheim.sse.vil.buildlang.validation.AbstractVilBuildLanguageValidator
getEPackagesMethods inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
acceptError, acceptError, acceptInfo, acceptInfo, acceptWarning, acceptWarning, addIssue, addIssue, addIssue, addIssue, addIssue, addIssueToState, checkDone, checkIsFromCurrentlyCheckedResource, createDiagnostic, createDiagnostic, createMethodWrapper, error, error, error, error, error, error, error, error, getCancelIndicator, getChain, getCheckMode, getContext, getCurrentMethod, getCurrentObject, getIssueSeverities, getMessageAcceptor, guard, handleExceptionDuringValidation, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning, warningMethods inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator
getCurrentLanguage, isLanguageSpecific, isResponsible, register, validate, validate, validate
-
Field Details
-
callback
private net.ssehub.easy.dslCore.validation.ValidationUtils.IModelValidationCallback<ImplementationUnit,net.ssehub.easy.instantiation.core.model.buildlangModel.Script> callback
-
-
Constructor Details
-
VilBuildLanguageValidator
public VilBuildLanguageValidator()
-
-
Method Details
-
checkModel
Checks the model on top-level element layer. This method is called by dynamic dispatch.- Parameters:
unit- the variability unit to start tests with
-