org.androidannotations.holder
Class EComponentHolder
java.lang.Object
org.androidannotations.holder.BaseGeneratedClassHolder
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contextRef
protected com.sun.codemodel.JExpression contextRef
init
protected com.sun.codemodel.JMethod init
EComponentHolder
public EComponentHolder(ProcessHolder processHolder,
TypeElement annotatedElement)
throws Exception
- Throws:
Exception
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.