public class JvmTypeReferencesValidator extends AbstractDeclarativeValidator
AbstractDeclarativeValidator.MethodWrapper, AbstractDeclarativeValidator.State, 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_SEVERITIESINSIGNIFICANT_INDEX| Constructor and Description |
|---|
JvmTypeReferencesValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFunctionTypeArgsNonVoid(XFunctionTypeRef typeRef) |
void |
checkJvmFormalParameterNotPrimitiveVoid(JvmFormalParameter param) |
void |
checkNotMultipleBounds(JvmWildcardTypeReference typeRef) |
protected void |
checkNotPrimitive(JvmTypeReference jvmTypeReference) |
void |
checkTypeArgsAgainstTypeParameters(JvmParameterizedTypeReference typeRef) |
void |
checkTypeArgumentsNotPrimitive(JvmParameterizedTypeReference typeRef) |
void |
checkTypeArgumentsNotPrimitive(JvmTypeConstraint typeRef) |
protected void |
error(String message,
String issueCode,
JvmParameterizedTypeReference typeReference) |
protected void |
errorTypeIsNotGeneric(JvmType type,
JvmParameterizedTypeReference typeRef) |
protected List<org.eclipse.emf.ecore.EPackage> |
getEPackages() |
protected void |
warning(String message,
String issueCode,
JvmParameterizedTypeReference typeReference) |
protected void |
warnRawType(JvmType type,
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, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning, warninggetCurrentLanguage, isLanguageSpecific, isResponsible, register, validate, validate, validateprotected List<org.eclipse.emf.ecore.EPackage> getEPackages()
getEPackages in class AbstractInjectableValidatorpublic 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(String message, String issueCode, JvmParameterizedTypeReference typeReference)
protected void error(String message, String issueCode, JvmParameterizedTypeReference typeReference)
public void checkTypeArgumentsNotPrimitive(JvmTypeConstraint typeRef)
protected void checkNotPrimitive(JvmTypeReference jvmTypeReference)
public void checkJvmFormalParameterNotPrimitiveVoid(JvmFormalParameter param)
public void checkFunctionTypeArgsNonVoid(XFunctionTypeRef typeRef)
Copyright © 2015. All Rights Reserved.