com.googlecode.androidannotations.annotationprocessor
Class AnnotatedAbstractProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.googlecode.androidannotations.annotationprocessor.AnnotatedAbstractProcessor
- All Implemented Interfaces:
- Processor
- Direct Known Subclasses:
- AndroidAnnotationProcessor
public abstract class AnnotatedAbstractProcessor
- extends AbstractProcessor
Extends AbstractProcessor
to override
AbstractProcessor.getSupportedAnnotationTypes()
, enabling usage of
SupportedAnnotationClasses
on a Processor
.
- Author:
- Pierre-Yves Ricau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatedAbstractProcessor
public AnnotatedAbstractProcessor()
getSupportedAnnotationTypes
public Set<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 Processor
- Overrides:
getSupportedAnnotationTypes
in class AbstractProcessor
- Returns:
- the names of the annotation classes supported by this processor,
or
AbstractProcessor.getSupportedAnnotationTypes()
result
if none
getSupportedAnnotationClasses
public Set<Class<? extends Annotation>> getSupportedAnnotationClasses()
Copyright © 2010-2013. All Rights Reserved.