com.googlecode.androidannotations.processing.rest
Class PostProcessor

java.lang.Object
  extended by com.googlecode.androidannotations.processing.rest.MethodProcessor
      extended by com.googlecode.androidannotations.processing.rest.PostProcessor
All Implemented Interfaces:
HasTarget, ElementProcessor

public class PostProcessor
extends MethodProcessor


Field Summary
 
Fields inherited from class com.googlecode.androidannotations.processing.rest.MethodProcessor
restAnnotationHelper, restImplementationsHolder
 
Constructor Summary
PostProcessor(javax.annotation.processing.ProcessingEnvironment processingEnv, RestImplementationsHolder restImplementationHolder)
           
 
Method Summary
protected  com.sun.codemodel.JInvocation addHttpEntityVar(com.sun.codemodel.JInvocation restCall, MethodProcessorHolder methodHolder)
           
protected  com.sun.codemodel.JVar addHttpHeadersVar(com.sun.codemodel.JBlock body, javax.lang.model.element.ExecutableElement executableElement)
           
protected  com.sun.codemodel.JInvocation addResponseEntityArg(com.sun.codemodel.JInvocation restCall, MethodProcessorHolder methodHolder)
           
protected  com.sun.codemodel.JInvocation addResultCallMethod(com.sun.codemodel.JInvocation restCall, MethodProcessorHolder methodHolder)
           
 java.lang.Class<? extends java.lang.annotation.Annotation> getTarget()
           
 void process(javax.lang.model.element.Element element, com.sun.codemodel.JCodeModel codeModel, EBeansHolder activitiesHolder)
           
 
Methods inherited from class com.googlecode.androidannotations.processing.rest.MethodProcessor
generateHttpEntityVar, generateHttpHeadersVar, generateRestTemplateCallBlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostProcessor

public PostProcessor(javax.annotation.processing.ProcessingEnvironment processingEnv,
                     RestImplementationsHolder restImplementationHolder)
Method Detail

getTarget

public java.lang.Class<? extends java.lang.annotation.Annotation> getTarget()
Specified by:
getTarget in interface HasTarget
Specified by:
getTarget in class MethodProcessor

process

public void process(javax.lang.model.element.Element element,
                    com.sun.codemodel.JCodeModel codeModel,
                    EBeansHolder activitiesHolder)
Specified by:
process in interface ElementProcessor
Specified by:
process in class MethodProcessor

addHttpEntityVar

protected com.sun.codemodel.JInvocation addHttpEntityVar(com.sun.codemodel.JInvocation restCall,
                                                         MethodProcessorHolder methodHolder)
Specified by:
addHttpEntityVar in class MethodProcessor

addResponseEntityArg

protected com.sun.codemodel.JInvocation addResponseEntityArg(com.sun.codemodel.JInvocation restCall,
                                                             MethodProcessorHolder methodHolder)
Specified by:
addResponseEntityArg in class MethodProcessor

addResultCallMethod

protected com.sun.codemodel.JInvocation addResultCallMethod(com.sun.codemodel.JInvocation restCall,
                                                            MethodProcessorHolder methodHolder)
Specified by:
addResultCallMethod in class MethodProcessor

addHttpHeadersVar

protected com.sun.codemodel.JVar addHttpHeadersVar(com.sun.codemodel.JBlock body,
                                                   javax.lang.model.element.ExecutableElement executableElement)
Specified by:
addHttpHeadersVar in class MethodProcessor


Copyright © 2010-2012. All Rights Reserved.