org.androidannotations.helper
Class IntentBuilder

java.lang.Object
  extended by org.androidannotations.helper.IntentBuilder
Direct Known Subclasses:
ActivityIntentBuilder, ServiceIntentBuilder

public class IntentBuilder
extends Object


Field Summary
protected  AndroidManifest androidManifest
           
protected  APTCodeModelHelper codeModelHelper
           
protected  com.sun.codemodel.JClass contextClass
           
protected  com.sun.codemodel.JFieldVar contextField
           
protected  Elements elementUtils
           
protected  com.sun.codemodel.JFieldVar fragmentField
           
protected  com.sun.codemodel.JFieldVar fragmentSupportField
           
protected  HasIntentBuilder holder
           
protected  com.sun.codemodel.JClass intentClass
           
protected  Map<Pair<TypeMirror,String>,com.sun.codemodel.JMethod> putExtraMethods
           
protected  Types typeUtils
           
 
Constructor Summary
IntentBuilder(HasIntentBuilder holder, AndroidManifest androidManifest)
           
 
Method Summary
 void build()
           
 com.sun.codemodel.JMethod getPutExtraMethod(TypeMirror elementType, String parameterName, com.sun.codemodel.JFieldVar extraKeyField)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

holder

protected HasIntentBuilder holder

androidManifest

protected AndroidManifest androidManifest

contextField

protected com.sun.codemodel.JFieldVar contextField

contextClass

protected com.sun.codemodel.JClass contextClass

intentClass

protected com.sun.codemodel.JClass intentClass

fragmentField

protected com.sun.codemodel.JFieldVar fragmentField

fragmentSupportField

protected com.sun.codemodel.JFieldVar fragmentSupportField

putExtraMethods

protected Map<Pair<TypeMirror,String>,com.sun.codemodel.JMethod> putExtraMethods

elementUtils

protected Elements elementUtils

typeUtils

protected Types typeUtils

codeModelHelper

protected APTCodeModelHelper codeModelHelper
Constructor Detail

IntentBuilder

public IntentBuilder(HasIntentBuilder holder,
                     AndroidManifest androidManifest)
Method Detail

build

public void build()
           throws com.sun.codemodel.JClassAlreadyExistsException
Throws:
com.sun.codemodel.JClassAlreadyExistsException

getPutExtraMethod

public com.sun.codemodel.JMethod getPutExtraMethod(TypeMirror elementType,
                                                   String parameterName,
                                                   com.sun.codemodel.JFieldVar extraKeyField)


Copyright © 2010-2014. All Rights Reserved.