com.osbcp.apbs.annotations
Class AjaxPostBackAnnotationProcessor

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by com.osbcp.apbs.annotations.AjaxPostBackAnnotationProcessor
All Implemented Interfaces:
javax.annotation.processing.Processor

@SupportedAnnotationTypes(value="com.osbcp.apbs.annotations.IsAjaxPostBackEvent")
public class AjaxPostBackAnnotationProcessor
extends javax.annotation.processing.AbstractProcessor

The Annotation Processing Tool logic for the @IsAjaxPostBackEvent annotation.

Author:
Christoffer Pettersson
See Also:
@IsAjaxPostBackEvent, AbstractProcessor

Field Summary
static boolean DEBUG
          Used to toggle debug mode.
 
Constructor Summary
AjaxPostBackAnnotationProcessor()
           
 
Method Summary
 boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnvironment)
          AbstractProcessor.process
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static boolean DEBUG
Used to toggle debug mode.

Constructor Detail

AjaxPostBackAnnotationProcessor

public AjaxPostBackAnnotationProcessor()
Method Detail

process

public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
                       javax.annotation.processing.RoundEnvironment roundEnvironment)
AbstractProcessor.process

Specified by:
process in interface javax.annotation.processing.Processor
Specified by:
process in class javax.annotation.processing.AbstractProcessor
Parameters:
annotations - The annotation types requested to be processed.
roundEnvironment - Environment for information about the current and prior round.
Returns:
Whether or not the set of annotations are claimed by this processor.
See Also:
AbstractProcessor.process