org.androidannotations.holder
Class EComponentHolder

java.lang.Object
  extended by org.androidannotations.holder.BaseGeneratedClassHolder
      extended by org.androidannotations.holder.EComponentHolder
All Implemented Interfaces:
GeneratedClassHolder
Direct Known Subclasses:
EApplicationHolder, EComponentWithViewSupportHolder, EProviderHolder, EReceiverHolder, EServiceHolder

public abstract class EComponentHolder
extends BaseGeneratedClassHolder


Field Summary
protected  com.sun.codemodel.JExpression contextRef
           
protected  com.sun.codemodel.JMethod init
           
 
Fields inherited from class org.androidannotations.holder.BaseGeneratedClassHolder
annotatedElement, codeModelHelper, generatedClass, processHolder
 
Constructor Summary
EComponentHolder(ProcessHolder processHolder, TypeElement annotatedElement)
           
 
Method Summary
 com.sun.codemodel.JExpression getContextRef()
           
 com.sun.codemodel.JFieldVar getDatabaseHelperRef(TypeMirror databaseHelperTypeMirror)
           
 com.sun.codemodel.JVar getHandler()
           
 com.sun.codemodel.JMethod getInit()
           
 com.sun.codemodel.JBlock getInitBody()
           
 com.sun.codemodel.JVar getResourcesRef()
           
protected abstract  void setContextRef()
           
protected abstract  void setInit()
           
 
Methods inherited from class org.androidannotations.holder.BaseGeneratedClassHolder
classes, codeModel, definedClass, getAnnotatedElement, getGeneratedClass, processingEnvironment, refClass, refClass, setGeneratedClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contextRef

protected com.sun.codemodel.JExpression contextRef

init

protected com.sun.codemodel.JMethod init
Constructor Detail

EComponentHolder

public EComponentHolder(ProcessHolder processHolder,
                        TypeElement annotatedElement)
                 throws Exception
Throws:
Exception
Method Detail

getContextRef

public com.sun.codemodel.JExpression getContextRef()

setContextRef

protected abstract void setContextRef()

getInit

public com.sun.codemodel.JMethod getInit()

setInit

protected abstract void setInit()

getInitBody

public com.sun.codemodel.JBlock getInitBody()

getResourcesRef

public com.sun.codemodel.JVar getResourcesRef()

getDatabaseHelperRef

public com.sun.codemodel.JFieldVar getDatabaseHelperRef(TypeMirror databaseHelperTypeMirror)

getHandler

public com.sun.codemodel.JVar getHandler()


Copyright © 2010-2014. All Rights Reserved.