com.googlecode.androidannotations.helper
Class APTCodeModelHelper
java.lang.Object
com.googlecode.androidannotations.helper.APTCodeModelHelper
public class APTCodeModelHelper
- extends Object
Method Summary |
void |
addActivityIntentBuilder(com.sun.codemodel.JCodeModel codeModel,
EBeanHolder holder)
|
void |
addServiceIntentBuilder(com.sun.codemodel.JCodeModel codeModel,
EBeanHolder holder)
|
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)
|
void |
copyConstructorsAndAddStaticEViewBuilders(Element element,
com.sun.codemodel.JCodeModel codeModel,
com.sun.codemodel.JClass eBeanClass,
EBeanHolder holder,
com.sun.codemodel.JMethod setContentViewMethod)
|
com.sun.codemodel.JDefinedClass |
createDelegatingAnonymousRunnableClass(EBeanHolder holder,
com.sun.codemodel.JMethod delegatedMethod)
|
com.sun.codemodel.JVar |
findParameterByName(com.sun.codemodel.JMethod method,
String name)
|
String |
getIdStringFromIdFieldRef(com.sun.codemodel.JFieldRef idRef)
|
com.sun.codemodel.JBlock |
ifContextInstanceOfActivity(EBeanHolder holder,
com.sun.codemodel.JBlock methodBody)
|
com.sun.codemodel.JMethod |
overrideAnnotatedMethod(ExecutableElement executableElement,
EBeanHolder holder)
|
com.sun.codemodel.JBlock |
removeBody(com.sun.codemodel.JMethod method)
|
com.sun.codemodel.JClass |
typeMirrorToJClass(TypeMirror type,
EBeanHolder holder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APTCodeModelHelper
public APTCodeModelHelper()
typeMirrorToJClass
public com.sun.codemodel.JClass typeMirrorToJClass(TypeMirror type,
EBeanHolder holder)
overrideAnnotatedMethod
public com.sun.codemodel.JMethod overrideAnnotatedMethod(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)
getIdStringFromIdFieldRef
public String getIdStringFromIdFieldRef(com.sun.codemodel.JFieldRef idRef)
createDelegatingAnonymousRunnableClass
public com.sun.codemodel.JDefinedClass createDelegatingAnonymousRunnableClass(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)
copyConstructorsAndAddStaticEViewBuilders
public void copyConstructorsAndAddStaticEViewBuilders(Element element,
com.sun.codemodel.JCodeModel codeModel,
com.sun.codemodel.JClass eBeanClass,
EBeanHolder holder,
com.sun.codemodel.JMethod setContentViewMethod)
findParameterByName
public com.sun.codemodel.JVar findParameterByName(com.sun.codemodel.JMethod method,
String name)
addActivityIntentBuilder
public void addActivityIntentBuilder(com.sun.codemodel.JCodeModel codeModel,
EBeanHolder holder)
throws Exception
- Throws:
Exception
addServiceIntentBuilder
public void addServiceIntentBuilder(com.sun.codemodel.JCodeModel codeModel,
EBeanHolder holder)
throws Exception
- Throws:
Exception
Copyright © 2010-2013. All Rights Reserved.