Top Description Methods
org.eclipse.xtend.lib.macro

public Interface ValidationParticipant<T extends NamedElement>

Known Direct Implementers
org.eclipse.xtend.lib.macro.AbstractAnnotationTypeProcessor, org.eclipse.xtend.lib.macro.AbstractClassProcessor, org.eclipse.xtend.lib.macro.AbstractConstructorProcessor, org.eclipse.xtend.lib.macro.AbstractEnumerationTypeProcessor, org.eclipse.xtend.lib.macro.AbstractFieldProcessor, org.eclipse.xtend.lib.macro.AbstractInterfaceProcessor, org.eclipse.xtend.lib.macro.AbstractMethodProcessor
Annotations
@Beta
Type Parameters
<T>
the type which this processor validates.
Imports
java.util.List, org.eclipse.xtend.lib.macro.declaration.NamedElement, .TypeReference, org.eclipse.xtext.xbase.lib.Extension, com.google.common.annotations.Beta

A callback interface for the validation phase. This callback is invoked after all transformations are done. Inferred TypeReferences are resolved at that time, so it is safe to inspect them. The AST is read-only in this phase.

Method Summary

Modifier and TypeMethod and Description
public void
doValidate(List<? extends T>
the java representation of the annotated elements
annotatedTargetElements
,
ValidationContext
a ValidationContext providing useful services.
context
)

Invoked by the validator

Method Detail

doValidateback to summary
public void doValidate(List<? extends T> annotatedTargetElements, ValidationContext context)

Invoked by the validator

Parameters
annotatedTargetElements:List<? extends T>

the java representation of the annotated elements

context:ValidationContext

a ValidationContext providing useful services.