public class TemplateValidator extends CodetemplatesJavaValidator
AbstractDeclarativeValidator.MethodWrapper, AbstractDeclarativeValidator.State, AbstractDeclarativeValidator.StateAccess
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
CURRENT_LANGUAGE_NAME, ISSUE_SEVERITIES
INSIGNIFICANT_INDEX
Constructor and Description |
---|
TemplateValidator() |
Modifier and Type | Method and Description |
---|---|
void |
checkNameIsNotEmpty(Codetemplate template) |
void |
checkParameters(Variable variable) |
void |
checkParameterSyntax(Variable variable) |
void |
checkTemplate(TemplateBody template) |
checkDollarEscaped, checkParameterListIsNotEmpty, isLanguageSpecific
getEPackages
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, getChain, getCheckMode, getContext, getCurrentMethod, getCurrentObject, getIssueSeverities, getMessageAcceptor, guard, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning, warning
getCurrentLanguage, isResponsible, register, validate, validate, validate
public void checkTemplate(TemplateBody template)
public void checkParameterSyntax(Variable variable)
public void checkParameters(Variable variable)
public void checkNameIsNotEmpty(Codetemplate template)