io.sarl.lang.extralanguage.validator
Class Context
Enclosing class:
AbstractExtraLanguageValidator
protected static class Context
extends java.lang.Object
Validation context.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.6
Property Summary
Modifier and type Property and description
org.eclipse.emf.common.util.DiagnosticChain chain
Replies the diagnostic chain.
org.eclipse.xtext.validation.CheckMode checkMode
Replies the current check mode.
org.eclipse.xtext.validation.CheckType checkType
Replies the current check type.
java.util.Map<K,V> context
Replies the current validation context.
java.lang.reflect.Method currentMethod
Replies the current validation method.
org.eclipse.emf.ecore.EObject currentObject
Replies the object under validation.
AbstractExtraLanguageValidator currentValidator
Replies the current validator.
org.eclipse.xtext.validation.ValidationMessageAcceptor messageAcceptor
Replies the message acceptor.
Action Summary
Modifier and type Action and description
org.eclipse.emf.common.util.DiagnosticChain getChain
Replies the diagnostic chain.
org.eclipse.xtext.validation.CheckMode getCheckMode
Replies the current check mode.
org.eclipse.xtext.validation.CheckType getCheckType
Replies the current check type.
java.util.Map<K,V> getContext
Replies the current validation context.
java.lang.reflect.Method getCurrentMethod
Replies the current validation method.
org.eclipse.emf.ecore.EObject getCurrentObject
Replies the object under validation.
AbstractExtraLanguageValidator getCurrentValidator
Replies the current validator.
org.eclipse.xtext.validation.ValidationMessageAcceptor getMessageAcceptor
Replies the message acceptor.
Property Details
chain
val chain : org.eclipse.emf.common.util.DiagnosticChain
Replies the diagnostic chain.

This property is an alias for the action: getChain

Returns:
the diagnostic chain.
checkMode
val checkMode : org.eclipse.xtext.validation.CheckMode
Replies the current check mode.

This property is an alias for the action: getCheckMode

Returns:
the mode.
checkType
val checkType : org.eclipse.xtext.validation.CheckType
Replies the current check type.

This property is an alias for the action: getCheckType

Returns:
the type.
context
val context : java.util.Map<K,V>
Replies the current validation context.

This property is an alias for the action: getContext

Returns:
the context.
currentMethod
val currentMethod : java.lang.reflect.Method
Replies the current validation method.

This property is an alias for the action: getCurrentMethod

Returns:
the current validation method.
currentObject
val currentObject : org.eclipse.emf.ecore.EObject
Replies the object under validation.

This property is an alias for the action: getCurrentObject

Returns:
the object under validation.
currentValidator
val currentValidator : AbstractExtraLanguageValidator
Replies the current validator.

This property is an alias for the action: getCurrentValidator

Returns:
the current validator.
messageAcceptor
val messageAcceptor : org.eclipse.xtext.validation.ValidationMessageAcceptor
Replies the message acceptor.

This property is an alias for the action: getMessageAcceptor

Returns:
the message acceptor.
Action Details
getChain
def getChain : org.eclipse.emf.common.util.DiagnosticChain
Replies the diagnostic chain.
Returns:
the diagnostic chain.
getCheckMode
def getCheckMode : org.eclipse.xtext.validation.CheckMode
Replies the current check mode.
Returns:
the mode.
getCheckType
def getCheckType : org.eclipse.xtext.validation.CheckType
Replies the current check type.
Returns:
the type.
getContext
def getContext : java.util.Map<K,V>
Replies the current validation context.
Returns:
the context.
getCurrentMethod
def getCurrentMethod : java.lang.reflect.Method
Replies the current validation method.
Returns:
the current validation method.
getCurrentObject
def getCurrentObject : org.eclipse.emf.ecore.EObject
Replies the object under validation.
Returns:
the object under validation.
getCurrentValidator
def getCurrentValidator : AbstractExtraLanguageValidator
Replies the current validator.
Returns:
the current validator.
getMessageAcceptor
def getMessageAcceptor : org.eclipse.xtext.validation.ValidationMessageAcceptor
Replies the message acceptor.
Returns:
the message acceptor.