public class JvmTypeReferencesValidator
extends org.eclipse.xtext.validation.AbstractDeclarativeValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccessorg.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.ValidationDelegateCURRENT_LANGUAGE_NAME, ISSUE_SEVERITIES| Constructor and Description |
|---|
JvmTypeReferencesValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFunctionTypeArgsNonVoid(XFunctionTypeRef typeRef) |
void |
checkJvmFormalParameterNotPrimitiveVoid(org.eclipse.xtext.common.types.JvmFormalParameter param) |
void |
checkNotMultipleBounds(org.eclipse.xtext.common.types.JvmWildcardTypeReference typeRef) |
protected void |
checkNotPrimitive(org.eclipse.xtext.common.types.JvmTypeReference jvmTypeReference) |
void |
checkTypeArgsAgainstTypeParameters(org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeRef) |
void |
checkTypeArgumentsNotPrimitive(org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeRef) |
void |
checkTypeArgumentsNotPrimitive(org.eclipse.xtext.common.types.JvmTypeConstraint typeRef) |
void |
checkTypesAreDisjoint(org.eclipse.xtext.common.types.JvmSynonymTypeReference typeRef) |
protected void |
error(java.lang.String message,
java.lang.String issueCode,
org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeReference) |
protected void |
errorTypeIsNotGeneric(org.eclipse.xtext.common.types.JvmType type,
org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeRef) |
protected java.util.List<org.eclipse.emf.ecore.EPackage> |
getEPackages() |
protected void |
warning(java.lang.String message,
java.lang.String issueCode,
org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeReference) |
protected void |
warnRawType(org.eclipse.xtext.common.types.JvmType type,
org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeRef) |
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, handleExceptionDuringValidation, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning, warningprotected java.util.List<org.eclipse.emf.ecore.EPackage> getEPackages()
getEPackages in class org.eclipse.xtext.validation.AbstractInjectableValidatorpublic void checkTypeArgumentsNotPrimitive(org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeRef)
public void checkNotMultipleBounds(org.eclipse.xtext.common.types.JvmWildcardTypeReference typeRef)
public void checkTypeArgsAgainstTypeParameters(org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeRef)
protected void warnRawType(org.eclipse.xtext.common.types.JvmType type,
org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeRef)
protected void errorTypeIsNotGeneric(org.eclipse.xtext.common.types.JvmType type,
org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeRef)
protected void warning(java.lang.String message,
java.lang.String issueCode,
org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeReference)
protected void error(java.lang.String message,
java.lang.String issueCode,
org.eclipse.xtext.common.types.JvmParameterizedTypeReference typeReference)
public void checkTypeArgumentsNotPrimitive(org.eclipse.xtext.common.types.JvmTypeConstraint typeRef)
public void checkTypesAreDisjoint(org.eclipse.xtext.common.types.JvmSynonymTypeReference typeRef)
protected void checkNotPrimitive(org.eclipse.xtext.common.types.JvmTypeReference jvmTypeReference)
public void checkJvmFormalParameterNotPrimitiveVoid(org.eclipse.xtext.common.types.JvmFormalParameter param)
public void checkFunctionTypeArgsNonVoid(XFunctionTypeRef typeRef)