org.androidtransfuse.gen.invocationBuilder
Class PublicInjectionBuilder
java.lang.Object
org.androidtransfuse.gen.invocationBuilder.PublicInjectionBuilder
- All Implemented Interfaces:
- ModifierInjectionBuilder
public class PublicInjectionBuilder
- extends Object
- implements ModifierInjectionBuilder
Injection Builder for building publicly scoped elements.
- 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)
|
com.sun.codemodel.JStatement |
buildFieldSet(TypedExpression expression,
FieldInjectionPoint fieldInjectionPoint,
com.sun.codemodel.JExpression variable)
|
<T> com.sun.codemodel.JInvocation |
|
buildMethodCall(ASTType returnType,
Map<T,TypedExpression> expressionMap,
String methodName,
List<T> parameters,
List<ASTType> types,
ASTType targetExpressionType,
com.sun.codemodel.JExpression targetExpression)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublicInjectionBuilder
@Inject
public PublicInjectionBuilder(TypeInvocationHelper invocationHelper)
buildConstructorCall
public com.sun.codemodel.JExpression buildConstructorCall(Map<InjectionNode,TypedExpression> expressionMap,
ConstructorInjectionPoint constructorInjectionPoint,
com.sun.codemodel.JType type)
- Specified by:
buildConstructorCall in interface ModifierInjectionBuilder
buildMethodCall
public <T> com.sun.codemodel.JInvocation buildMethodCall(ASTType returnType,
Map<T,TypedExpression> expressionMap,
String methodName,
List<T> parameters,
List<ASTType> types,
ASTType targetExpressionType,
com.sun.codemodel.JExpression targetExpression)
- Specified by:
buildMethodCall in interface ModifierInjectionBuilder
buildFieldGet
public com.sun.codemodel.JExpression buildFieldGet(ASTType returnType,
ASTType variableType,
com.sun.codemodel.JExpression variable,
String name)
- Specified by:
buildFieldGet in interface ModifierInjectionBuilder
buildFieldSet
public com.sun.codemodel.JStatement buildFieldSet(TypedExpression expression,
FieldInjectionPoint fieldInjectionPoint,
com.sun.codemodel.JExpression variable)
- Specified by:
buildFieldSet in interface ModifierInjectionBuilder
Copyright © 2012. All Rights Reserved.