com.googlecode.androidannotations.helper
Class APTCodeModelHelper

java.lang.Object
  extended by com.googlecode.androidannotations.helper.APTCodeModelHelper

public class APTCodeModelHelper
extends java.lang.Object


Nested Class Summary
static class APTCodeModelHelper.Parameter
           
 
Constructor Summary
APTCodeModelHelper()
           
 
Method Summary
 void callSuperMethod(com.sun.codemodel.JMethod superMethod, EBeanHolder holder, com.sun.codemodel.JBlock callBlock)
           
 com.sun.codemodel.JVar castContextToActivity(EBeanHolder holder, com.sun.codemodel.JBlock ifActivityBody)
           
 com.sun.codemodel.JDefinedClass createDelegatingAnonymousRunnableClass(com.sun.codemodel.JCodeModel codeModel, EBeanHolder holder, com.sun.codemodel.JMethod delegatedMethod)
           
 com.sun.codemodel.JBlock ifContextInstanceOfActivity(EBeanHolder holder, com.sun.codemodel.JBlock methodBody)
           
 com.sun.codemodel.JMethod overrideAnnotatedMethod(javax.lang.model.element.ExecutableElement executableElement, EBeanHolder holder)
           
 com.sun.codemodel.JBlock removeBody(com.sun.codemodel.JMethod method)
           
 com.sun.codemodel.JClass typeMirrorToJClass(javax.lang.model.type.TypeMirror type, EBeanHolder holder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APTCodeModelHelper

public APTCodeModelHelper()
Method Detail

typeMirrorToJClass

public com.sun.codemodel.JClass typeMirrorToJClass(javax.lang.model.type.TypeMirror type,
                                                   EBeanHolder holder)

overrideAnnotatedMethod

public com.sun.codemodel.JMethod overrideAnnotatedMethod(javax.lang.model.element.ExecutableElement executableElement,
                                                         EBeanHolder holder)

callSuperMethod

public void callSuperMethod(com.sun.codemodel.JMethod superMethod,
                            EBeanHolder holder,
                            com.sun.codemodel.JBlock callBlock)

removeBody

public com.sun.codemodel.JBlock removeBody(com.sun.codemodel.JMethod method)

createDelegatingAnonymousRunnableClass

public com.sun.codemodel.JDefinedClass createDelegatingAnonymousRunnableClass(com.sun.codemodel.JCodeModel codeModel,
                                                                              EBeanHolder holder,
                                                                              com.sun.codemodel.JMethod delegatedMethod)

castContextToActivity

public com.sun.codemodel.JVar castContextToActivity(EBeanHolder holder,
                                                    com.sun.codemodel.JBlock ifActivityBody)

ifContextInstanceOfActivity

public com.sun.codemodel.JBlock ifContextInstanceOfActivity(EBeanHolder holder,
                                                            com.sun.codemodel.JBlock methodBody)


Copyright © 2010-2012. All Rights Reserved.