Class TPCMValidator
- java.lang.Object
-
- org.eclipse.xtext.validation.AbstractInjectableValidator
-
- org.eclipse.xtext.validation.AbstractDeclarativeValidator
-
- org.palladiosimulator.commons.stoex.validation.AbstractStoexValidator
-
- org.palladiosimulator.commons.stoex.validation.StoexValidator
-
- org.palladiosimulator.textual.tpcm.validation.AbstractTPCMValidator
-
- org.palladiosimulator.textual.tpcm.validation.TPCMValidator
-
- All Implemented Interfaces:
EValidator
,org.eclipse.xtext.validation.ValidationMessageAcceptor
public class TPCMValidator extends AbstractTPCMValidator
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 Modifier and Type Field Description protected static de.uka.ipd.sdq.stoex.AbstractNamedReference
VALUE_REFERENCE
-
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
-
-
Constructor Summary
Constructors Constructor Description TPCMValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkAssemblyContextAssignmentIsExclusive(Connector connector)
void
checkCallParameterTypeIsCorrect(ParameterSpecification specification)
void
checkPositionalArgumentsDoNotFollowNamedArguments(SEFFCallAction callAction)
void
checkSignaturesWithoutParametersAreNotCalledWithParameters(SEFFCallAction callAction)
-
Methods inherited from class org.palladiosimulator.textual.tpcm.validation.AbstractTPCMValidator
getEPackages
-
Methods inherited from class org.palladiosimulator.commons.stoex.validation.StoexValidator
checkTypes, getIssues
-
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
-
-
-
-
Method Detail
-
checkSignaturesWithoutParametersAreNotCalledWithParameters
public void checkSignaturesWithoutParametersAreNotCalledWithParameters(SEFFCallAction callAction)
-
checkPositionalArgumentsDoNotFollowNamedArguments
public void checkPositionalArgumentsDoNotFollowNamedArguments(SEFFCallAction callAction)
-
checkCallParameterTypeIsCorrect
public void checkCallParameterTypeIsCorrect(ParameterSpecification specification)
-
checkAssemblyContextAssignmentIsExclusive
public void checkAssemblyContextAssignmentIsExclusive(Connector connector)
-
-