Top Description Fields Constructors Methods
org.lwjgl.util.generator.opengl

public Class GLGeneratorProcessor

extends AbstractProcessor
Class Inheritance
Annotations
@SupportedAnnotationTypes:*
@SupportedSourceVersion:RELEASE_6
@SupportedOptions:generatechecks, contextspecific
Imports
org.lwjgl.util.generator.Utils, java.io.IOException, .PrintWriter, java.util.Map, .Set, javax.annotation.processing.*, javax.lang.model.SourceVersion, javax.lang.model.element.TypeElement, javax.lang.model.util.ElementFilter

Generator tool for creating the ContexCapabilities class
Author
elias_naur
Version
$Revision: 3316 $ $Id: ContextGeneratorProcessorFactory.java 3316 2010-04-09 23:57:40Z spasi $

Field Summary

Modifier and TypeField and Description
private static boolean
Inherited from javax.annotation.processing.AbstractProcessor:
processingEnv

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
generateContextCapabilitiesSource(Set<TypeElement> templates, boolean context_specific, boolean generate_error_checks)

public boolean
process(Set<? extends TypeElement>
the annotation interfaces requested to be processed
annotations
,
RoundEnvironment
environment for information about the current and prior round
roundEnv
)

Implements abstract javax.annotation.processing.AbstractProcessor.process.

Implements javax.annotation.processing.Processor.process.

Processes a set of annotation interfaces on root elements originating from the prior round and returns whether or not these annotation interfaces are claimed by this processor.
Inherited from javax.annotation.processing.AbstractProcessor:
getCompletionsgetSupportedAnnotationTypesgetSupportedOptionsgetSupportedSourceVersioninitisInitialized

Field Detail

first_roundback to summary
private static boolean first_round

Constructor Detail

GLGeneratorProcessorback to summary
public GLGeneratorProcessor()

Method Detail

generateContextCapabilitiesSourceback to summary
private void generateContextCapabilitiesSource(Set<TypeElement> templates, boolean context_specific, boolean generate_error_checks) throws IOException
processback to summary
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)

Implements abstract javax.annotation.processing.AbstractProcessor.process.

Implements javax.annotation.processing.Processor.process.

Doc from javax.annotation.processing.AbstractProcessor.process.

Processes a set of annotation interfaces on root elements originating from the prior round and returns whether or not these annotation interfaces are claimed by this processor. If true is returned, the annotation interfaces are claimed and subsequent processors will not be asked to process them; if false is returned, the annotation interfaces are unclaimed and subsequent processors may be asked to process them. A processor may always return the same boolean value or may vary the result based on its own chosen criteria.

The input set will be empty if the processor supports "*" and the root elements have no annotations. A Processor must gracefully handle an empty set of annotations.

Parameters
annotations:Set<? extends TypeElement>

the annotation interfaces requested to be processed

roundEnv:RoundEnvironment

environment for information about the current and prior round

Returns:boolean

Doc from javax.annotation.processing.Processor.process.

whether or not the set of annotation interfaces are claimed by this processor

Annotations
@Override