|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.xtext.validation.AbstractInjectableValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator
org.eclipse.emf.mwe2.language.validation.AbstractMwe2JavaValidator
org.eclipse.emf.mwe2.language.validation.Mwe2JavaValidator
public class Mwe2JavaValidator
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator |
|---|
org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.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 | |
|---|---|
static java.lang.String |
ABSTRACT_OR_INTERFACE
|
static java.lang.String |
DUPLICATE_LOCAL
|
static java.lang.String |
INCOMPATIBLE_ASSIGNMENT
|
static java.lang.String |
MISSING_DEFAULT_CONSTRUCTOR
|
static java.lang.String |
MISSING_MANDATORY_FEATURE
|
static java.lang.String |
UNUSED_LOCAL
|
| Fields inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator |
|---|
CURRENT_LANGUAGE_NAME, ISSUE_SEVERITIES |
| 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 | |
|---|---|
Mwe2JavaValidator()
|
|
| Method Summary | |
|---|---|
void |
checkCompatibility(Assignment assignment)
|
void |
checkCompatibility(DeclaredProperty property)
|
void |
checkComponentTypeIsInterfaceOrAbstract(Component component)
|
void |
checkInstantiable(Component component)
|
void |
checkManadatoryFeaturesAssigned(Component component)
|
void |
checkReferables(Module referable)
|
java.util.Set<java.lang.String> |
collectFeatureNames(Component component)
|
java.util.Map<java.lang.String,org.eclipse.xtext.common.types.JvmIdentifiableElement> |
collectMandatoryFeatures(Component component)
|
java.util.Map<java.lang.String,Referrable> |
collectReferablesUpTo(Component component)
|
protected java.util.List<org.eclipse.emf.ecore.EPackage> |
getEPackages()
|
boolean |
isMandatory(org.eclipse.xtext.common.types.JvmIdentifiableElement feature)
|
| Methods inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator |
|---|
acceptError, acceptError, acceptInfo, acceptInfo, acceptWarning, acceptWarning, addIssue, addIssue, addIssue, addIssue, addIssue, addIssueToState, checkDone, checkIsFromCurrentlyCheckedResource, createDiagnostic, createDiagnostic, 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 |
| Methods inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator |
|---|
getCurrentLanguage, isLanguageSpecific, isResponsible, register, validate, validate, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String INCOMPATIBLE_ASSIGNMENT
public static final java.lang.String UNUSED_LOCAL
public static final java.lang.String DUPLICATE_LOCAL
public static final java.lang.String MISSING_DEFAULT_CONSTRUCTOR
public static final java.lang.String ABSTRACT_OR_INTERFACE
public static final java.lang.String MISSING_MANDATORY_FEATURE
| Constructor Detail |
|---|
public Mwe2JavaValidator()
| Method Detail |
|---|
public void checkCompatibility(Assignment assignment)
public void checkCompatibility(DeclaredProperty property)
public void checkReferables(Module referable)
public java.util.Set<java.lang.String> collectFeatureNames(Component component)
public void checkInstantiable(Component component)
public void checkComponentTypeIsInterfaceOrAbstract(Component component)
public void checkManadatoryFeaturesAssigned(Component component)
public java.util.Map<java.lang.String,Referrable> collectReferablesUpTo(Component component)
public java.util.Map<java.lang.String,org.eclipse.xtext.common.types.JvmIdentifiableElement> collectMandatoryFeatures(Component component)
public boolean isMandatory(org.eclipse.xtext.common.types.JvmIdentifiableElement feature)
protected java.util.List<org.eclipse.emf.ecore.EPackage> getEPackages()
getEPackages in class AbstractMwe2JavaValidator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||