T
- the type of the annotated elements@Beta
public interface RegisterGlobalsParticipant<T extends NamedElement>
Modifier and Type | Method and Description |
---|---|
void |
doRegisterGlobals(java.util.List<? extends T> annotatedSourceElements,
RegisterGlobalsContext context)
Called by the compiler during register-globals phase.
|
void doRegisterGlobals(java.util.List<? extends T> annotatedSourceElements, @Extension RegisterGlobalsContext context)
annotatedSourceElements
- the source elements from the currently processed compilation
unit which are annotated with active annotationcontext
- services to register new Java typesRegisterGlobalsContext