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

public Interface RegisterGlobalsParticipant<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 of the annotated elements
Imports
java.util.List, org.eclipse.xtend.lib.macro.declaration.NamedElement, org.eclipse.xtext.xbase.lib.Extension, com.google.common.annotations.Beta

Call back to participate in the register-globals phase, where Java types are collected. Clients should implement this to register and create new Java types.
Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public void
doRegisterGlobals(List<? extends T>
the source elements from the currently processed compilation unit which are annotated with active annotation
annotatedSourceElements
,
RegisterGlobalsContext
services to register new Java types
context
)

Called by the compiler during register-globals phase.

Method Detail

doRegisterGlobalsback to summary
public void doRegisterGlobals(List<? extends T> annotatedSourceElements, RegisterGlobalsContext context)

Called by the compiler during register-globals phase.

Parameters
annotatedSourceElements:List<? extends T>

the source elements from the currently processed compilation unit which are annotated with active annotation

context:RegisterGlobalsContext

services to register new Java types

See Also
RegisterGlobalsContext