org.eclipse.xtext.xbase.validation
Class FeatureCallValidator

java.lang.Object
  extended by org.eclipse.xtext.validation.AbstractInjectableValidator
      extended by org.eclipse.xtext.validation.AbstractDeclarativeValidator
          extended by org.eclipse.xtext.xbase.validation.FeatureCallValidator
All Implemented Interfaces:
org.eclipse.emf.ecore.EValidator, ValidationMessageAcceptor

public class FeatureCallValidator
extends AbstractDeclarativeValidator

Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
AbstractDeclarativeValidator.State, AbstractDeclarativeValidator.StateAccess
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator
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
 
Field Summary
protected  UIStrings uiStrings
           
 
Fields inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator
CURRENT_LANGUAGE_NAME
 
Fields inherited from interface org.eclipse.xtext.validation.ValidationMessageAcceptor
INSIGNIFICANT_INDEX
 
Fields inherited from interface org.eclipse.emf.ecore.EValidator
MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE
 
Constructor Summary
FeatureCallValidator()
           
 
Method Summary
 void checkInvalidFeatureLinked(XAbstractFeatureCall featureCall)
           
 void checkInvalidFeatureLinked(XConstructorCall constructorCall)
           
protected  void error(XAbstractFeatureCall featureCall, java.lang.String issueCode)
           
protected  void error(XConstructorCall constructorCall, java.lang.String issueCode)
           
 void register(EValidatorRegistrar registrar)
           
 
Methods inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
acceptError, acceptError, acceptInfo, acceptInfo, acceptWarning, acceptWarning, checkDone, createDiagnostic, createDiagnostic, error, error, error, error, error, error, error, getChain, getCheckMode, getContext, getCurrentMethod, getCurrentObject, getMessageAcceptor, guard, info, info, info, info, info, info, internalValidate, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning
 
Methods inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator
getCurrentLanguage, getEPackages, isLanguageSpecific, isResponsible, validate, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uiStrings

@Inject
protected UIStrings uiStrings
Constructor Detail

FeatureCallValidator

public FeatureCallValidator()
Method Detail

checkInvalidFeatureLinked

public void checkInvalidFeatureLinked(XAbstractFeatureCall featureCall)

checkInvalidFeatureLinked

public void checkInvalidFeatureLinked(XConstructorCall constructorCall)

error

protected void error(XAbstractFeatureCall featureCall,
                     java.lang.String issueCode)

error

protected void error(XConstructorCall constructorCall,
                     java.lang.String issueCode)

register

public void register(EValidatorRegistrar registrar)
Overrides:
register in class AbstractInjectableValidator