org.androidtransfuse
Class TransfuseAnnotationProcessor

Package class diagram package TransfuseAnnotationProcessor
java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by org.androidtransfuse.TransfuseAnnotationProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes(value={"org.androidtransfuse.annotations.Activity","org.androidtransfuse.annotations.Application","org.androidtransfuse.annotations.BroadcastReceiver","org.androidtransfuse.annotations.Service","org.androidtransfuse.annotations.Fragment","org.androidtransfuse.annotations.TransfuseModule","org.androidtransfuse.annotations.Injector"})
@SupportedSourceVersion(value=RELEASE_6)
public class TransfuseAnnotationProcessor
extends AbstractProcessor

Transfuse Annotation processor. Kicks off the process of analyzing and generating code based on the compiled codebase. To use this class, you simply have to annotate your classes with the proper root components (Activity, Application, etc) and have this annotation processor on the classpath during a full compilation. This approach is compatible with Java 6 and above. See http://androidtransfuse.org for more details

Author:
John Ericksen

Field Summary
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
TransfuseAnnotationProcessor()
           
 
Method Summary
 void init(ProcessingEnvironment processingEnv)
           
 boolean process(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnvironment)
           
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransfuseAnnotationProcessor

public TransfuseAnnotationProcessor()
Method Detail

init

public void init(ProcessingEnvironment processingEnv)
Specified by:
init in interface Processor
Overrides:
init in class AbstractProcessor

process

public boolean process(Set<? extends TypeElement> typeElements,
                       RoundEnvironment roundEnvironment)
Specified by:
process in interface Processor
Specified by:
process in class AbstractProcessor


Copyright © 2012. All Rights Reserved.