Class DDDslValidator
java.lang.Object
org.eclipse.xtext.validation.AbstractInjectableValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator
org.palladiosimulator.dataflow.dictionary.characterized.dsl.validation.AbstractCharacterizedDataDictionaryValidator
org.palladiosimulator.dataflow.dictionary.characterized.dsl.validation.CharacterizedDataDictionaryValidator
org.palladiosimulator.dataflow.confidentiality.pcm.dddsl.validation.AbstractDDDslValidator
org.palladiosimulator.dataflow.confidentiality.pcm.dddsl.validation.DDDslValidator
- All Implemented Interfaces:
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.StateAccess
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator
EValidator.Descriptor, EValidator.PatternMatcher, EValidator.Registry, EValidator.SubstitutionLabelProvider, EValidator.ValidationDelegate
-
Field Summary
Fields inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator
CURRENT_LANGUAGE_NAME, ISSUE_SEVERITIES
Fields inherited from interface org.eclipse.emf.ecore.EValidator
MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE
Fields inherited from interface org.eclipse.xtext.validation.ValidationMessageAcceptor
INSIGNIFICANT_INDEX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkReference
(de.uka.ipd.sdq.stoex.VariableReference reference) void
checkVariableUsages
(ReusableBehaviour behaviour) findParentOfType
(EObject obj, Class<T> type) protected static Collection<String>
getVariableNames
(Optional<ReusableBehaviour> behaviour, Function<ReusableBehaviour, Collection<de.uka.ipd.sdq.stoex.VariableReference>> getter) protected static boolean
isTransitiveChild
(EObject root, EObject child) Methods 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, warning
Methods inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator
getCurrentLanguage, isLanguageSpecific, isResponsible, register, validate, validate, validate
-
Constructor Details
-
DDDslValidator
public DDDslValidator()
-
-
Method Details
-
getEPackages
- Overrides:
getEPackages
in classAbstractDDDslValidator
-
checkVariableUsages
-
checkReference
public void checkReference(de.uka.ipd.sdq.stoex.VariableReference reference) -
getVariableNames
protected static Collection<String> getVariableNames(Optional<ReusableBehaviour> behaviour, Function<ReusableBehaviour, Collection<de.uka.ipd.sdq.stoex.VariableReference>> getter) -
findParentOfType
-
isTransitiveChild
-