public class JvmTypeReferencesValidator extends AbstractDeclarativeValidator
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 |
---|
JvmTypeReferencesValidator() |
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, isLanguageSpecific, isResponsible, register, validate, validate, validate
protected java.util.List<org.eclipse.emf.ecore.EPackage> getEPackages()
getEPackages
in class AbstractInjectableValidator
public void checkTypeArgumentsNotPrimitive(JvmParameterizedTypeReference typeRef)
public void checkNotMultipleBounds(JvmWildcardTypeReference typeRef)
public void checkTypeArgsAgainstTypeParameters(JvmParameterizedTypeReference typeRef)
protected void warnRawType(JvmType type, JvmParameterizedTypeReference typeRef)
protected void errorTypeIsNotGeneric(JvmType type, JvmParameterizedTypeReference typeRef)
protected void warning(java.lang.String message, java.lang.String issueCode, JvmParameterizedTypeReference typeReference)
protected void error(java.lang.String message, java.lang.String issueCode, JvmParameterizedTypeReference typeReference)
public void checkTypeArgumentsNotPrimitive(JvmTypeConstraint typeRef)
protected void checkNotPrimitive(JvmTypeReference jvmTypeReference)
public void checkJvmFormalParameterNotPrimitiveVoid(JvmFormalParameter param)
public void checkFunctionTypeArgsNonVoid(XFunctionTypeRef typeRef)