com.googlecode.androidannotations.annotationprocessor
Class AnnotatedAbstractProcessor

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by com.googlecode.androidannotations.annotationprocessor.AnnotatedAbstractProcessor
All Implemented Interfaces:
javax.annotation.processing.Processor
Direct Known Subclasses:
AndroidAnnotationProcessor

public abstract class AnnotatedAbstractProcessor
extends javax.annotation.processing.AbstractProcessor

Extends AbstractProcessor to override AbstractProcessor.getSupportedAnnotationTypes(), enabling usage of SupportedAnnotationClasses on a Processor.

Author:
Pierre-Yves Ricau

Field Summary
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
AnnotatedAbstractProcessor()
           
 
Method Summary
 java.util.Set<java.lang.String> getSupportedAnnotationTypes()
          If the processor class is annotated with SupportedAnnotationClasses , return an unmodifiable set with the set of strings corresponding to the array of classes of the annotation.
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, getSupportedSourceVersion, init, isInitialized, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedAbstractProcessor

public AnnotatedAbstractProcessor()
Method Detail

getSupportedAnnotationTypes

public java.util.Set<java.lang.String> getSupportedAnnotationTypes()
If the processor class is annotated with SupportedAnnotationClasses , return an unmodifiable set with the set of strings corresponding to the array of classes of the annotation. If the class is not so annotated, the AbstractProcessor.getSupportedAnnotationTypes() method is called.

Specified by:
getSupportedAnnotationTypes in interface javax.annotation.processing.Processor
Overrides:
getSupportedAnnotationTypes in class javax.annotation.processing.AbstractProcessor
Returns:
the names of the annotation classes supported by this processor, or AbstractProcessor.getSupportedAnnotationTypes() result if none


Copyright © 2010-2012. All Rights Reserved.