-
All Superinterfaces:
-
org.eclipse.emf.ecore.EValidator, org.eclipse.xtext.validation.ValidationMessageAcceptor
An implementation of a validator to deal with annotations.
-
Maven Group Identifier:
-
-
Maven Artifact Identifier:
-
-
Since:
-
Property Summary
Inherited: associations,
expressionHelper,
featureNameValidator,
grammarAccess,
immutableTypeValidator,
inheritanceHelper,
logicalContainerProvider,
operationHelper,
parentValidator,
readAndWriteTracking,
sarlActionSignatures,
services,
typeReferences,
visibilityModifiers
Field Summary
Modifier and type |
Field and description |
protected val com.google.common.collect.Multimap<K,V> |
targetInfos
Information about that annotation targets. |
Modifier and type |
Field and description |
protected val com.google.common.collect.Multimap<K,V> |
targetInfos
Information about that annotation targets. |
Constructor Summary
Constructor and description |
new |
Action Summary
Inherited: canonicalName(EObject),
canonicalName(LightweightTypeReference),
checkNoJavaKeyword(EObject,EAttribute),
doCheckValidMemberName(XtendMember),
getActualType(EObject,JvmIdentifiableElement),
getActualType(JvmIdentifiableElement),
getActualType(XExpression),
getAllFeatureCalls(XExpression),
getAssociations,
getDeclaratorName(JvmFeature),
getExpectedType(XExpression),
getExpressionHelper,
getFeatureNameValidator,
getGrammarAccess,
getImmutableTypeValidator,
getInheritanceHelper,
getIssueSeverities(Map<K,V>,EObject),
getLogicalContainerProvider,
getNameOfTypes(LightweightTypeReference),
getOperationHelper,
getOutermostType(XtendMember),
getParamTypeReferences(JvmExecutable,boolean,boolean),
getParentValidator,
getReadAndWriteTracking,
getRootOfMemberFeatureCallSequence(EObject,EObject,Procedure1<Param>),
getSarlActionSignatures,
getServices,
getTypeReferences,
getVisibilityModifiers,
isAOConstructorContainer(XtendTypeDeclaration),
isAOContainer(XtendTypeDeclaration),
isIgnored(String,EObject),
isImmutable(EObject),
isLocallyAssigned(EObject,EObject),
isReallyDisallowedName(QualifiedName),
isTypeFreeExpression(XExpression),
memberName(XtendField),
memberName(XtendFunction),
register(EValidatorRegistrar),
toLightweightTypeReference(JvmTypeReference),
toLightweightTypeReference(JvmTypeReference,boolean),
typeName(XtendTypeDeclaration)
Field Details
-
targetInfos
-
protected val targetInfos : com.google.common.collect.Multimap<K,V>
Information about that annotation targets.
Constructor Details
-
new
-
new
Action Details
-
checkAnnotationTarget(XAnnotation)
-
def checkAnnotationTarget(XAnnotation)
-
checkDefaultSkillAnnotation(SarlCapacity)
-
def checkDefaultSkillAnnotation(SarlCapacity)
-
Parameters:
-
capacity -
-
checkManualInlineDefinition(XtendAnnotationTarget)
-
def checkManualInlineDefinition(XtendAnnotationTarget)
Check for @Inline
annotation usage.
-
Parameters:
-
annotationTarget -
-
checkMultipleAnnotations(XtendAnnotationTarget)
-
def checkMultipleAnnotations(XtendAnnotationTarget)
-
checkProgrammaticIssueMessage(XAbstractFeatureCall)
-
def checkProgrammaticIssueMessage(XAbstractFeatureCall)
Check if element has an programmatic issue message.
-
Parameters:
-
expression -
-
Since:
-
-
checkReservedAnnotation(XtendAnnotationTarget)
-
def checkReservedAnnotation(XtendAnnotationTarget)
Check for reserved annotations.
-
Parameters:
-
annotationTarget -
-
isAOActiveAnnotation(XAnnotation)
-
protected def isAOActiveAnnotation(XAnnotation) : boolean
Replies if the given container can receive an active annotation.
-
Parameters:
-
annotation -
-
Returns:
-
-
See:
-
-
isAOActiveAnnotationReceiver(XtendTypeDeclaration)
-
protected def isAOActiveAnnotationReceiver(XtendTypeDeclaration) : boolean
Replies if the given annotation is an active annotation for agent-oriented elements.
-
Parameters:
-
container -
-
Returns:
-
-
See:
-
-
isOOActiveAnnotation(XAnnotation)
-
protected def isOOActiveAnnotation(XAnnotation) : boolean
Replies if the given annotation is an active annotation for object-oriented elements.
-
Parameters:
-
annotation -
-
Returns:
-
-
See:
-
-
isOOType(XtendTypeDeclaration)
-
protected def isOOType(XtendTypeDeclaration) : boolean
Replies if the given element is an object oriented type.
-
Parameters:
-
type -
-
Returns:
-