org.androidtransfuse.gen
Class InvocationBuilder
java.lang.Object
org.androidtransfuse.gen.InvocationBuilder
public class InvocationBuilder
- extends Object
- Author:
- John Ericksen
|
Method Summary |
com.sun.codemodel.JExpression |
buildConstructorCall(Map<InjectionNode,TypedExpression> expressionMap,
ConstructorInjectionPoint constructorInjectionPoint,
com.sun.codemodel.JType type)
|
com.sun.codemodel.JExpression |
buildFieldGet(ASTType returnType,
ASTType variableType,
com.sun.codemodel.JExpression variable,
String name,
ASTAccessModifier accessModifier)
|
com.sun.codemodel.JStatement |
buildFieldSet(TypedExpression expression,
FieldInjectionPoint fieldInjectionPoint,
com.sun.codemodel.JExpression variable)
|
com.sun.codemodel.JInvocation |
buildMethodCall(ASTType returnType,
List<ASTParameter> callingParameters,
Map<ASTParameter,TypedExpression> parameters,
ASTType targetExpressionType,
com.sun.codemodel.JExpression targetExpression,
ASTMethod methodToCall)
|
com.sun.codemodel.JStatement |
buildMethodCall(ASTType returnType,
Map<InjectionNode,TypedExpression> expressionMap,
MethodInjectionPoint methodInjectionPoint,
com.sun.codemodel.JExpression variable)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvocationBuilder
@Inject
public InvocationBuilder(javax.inject.Provider<PublicInjectionBuilder> publicProvider,
javax.inject.Provider<ProtectedInjectionBuilder> protectedProvider,
javax.inject.Provider<PrivateInjectionBuilder> privateProvider)
buildMethodCall
public com.sun.codemodel.JInvocation buildMethodCall(ASTType returnType,
List<ASTParameter> callingParameters,
Map<ASTParameter,TypedExpression> parameters,
ASTType targetExpressionType,
com.sun.codemodel.JExpression targetExpression,
ASTMethod methodToCall)
throws ClassNotFoundException,
com.sun.codemodel.JClassAlreadyExistsException
- Throws:
ClassNotFoundException
com.sun.codemodel.JClassAlreadyExistsException
buildMethodCall
public com.sun.codemodel.JStatement buildMethodCall(ASTType returnType,
Map<InjectionNode,TypedExpression> expressionMap,
MethodInjectionPoint methodInjectionPoint,
com.sun.codemodel.JExpression variable)
throws ClassNotFoundException,
com.sun.codemodel.JClassAlreadyExistsException
- Throws:
ClassNotFoundException
com.sun.codemodel.JClassAlreadyExistsException
buildFieldSet
public com.sun.codemodel.JStatement buildFieldSet(TypedExpression expression,
FieldInjectionPoint fieldInjectionPoint,
com.sun.codemodel.JExpression variable)
throws ClassNotFoundException,
com.sun.codemodel.JClassAlreadyExistsException
- Throws:
ClassNotFoundException
com.sun.codemodel.JClassAlreadyExistsException
buildFieldGet
public com.sun.codemodel.JExpression buildFieldGet(ASTType returnType,
ASTType variableType,
com.sun.codemodel.JExpression variable,
String name,
ASTAccessModifier accessModifier)
buildConstructorCall
public com.sun.codemodel.JExpression buildConstructorCall(Map<InjectionNode,TypedExpression> expressionMap,
ConstructorInjectionPoint constructorInjectionPoint,
com.sun.codemodel.JType type)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
Copyright © 2012. All Rights Reserved.