| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InjectorWriteContext
Generates Java expressions and statements that perform injection-related duties.
| Method Summary | |
|---|---|
|  java.lang.String | callChildGetter(GinjectorBindings childBindings,
                Key<?> key)Generates a Java expression that evaluates to an injected instance of the given key, as produced by the given child. | 
|  java.lang.String | callGetter(Key<?> key)Generates a Java expression that evaluates to an injected instance of the given key. | 
|  java.lang.String | callGinjectorInterfaceGetter()Generates a Java statement that evaluates to the implementation of the current Ginjector interface. | 
|  java.lang.String | callMemberInject(TypeLiteral<?> type,
                 java.lang.String input)Generates a Java statement (including trailing semicolon) that performs member injection on a value of the given type. | 
|  java.lang.String | callMethod(java.lang.String methodName,
           java.lang.String fragmentPackageName,
           java.lang.Iterable<java.lang.String> parameters)Generates a Java expression that evaluates to an invocation of the named method on the given package fragment. | 
|  java.lang.String | callParentGetter(Key<?> key,
                 GinjectorBindings parentBindings)Generates a Java expression that evaluates to an injected instance of the given key, as produced by the given parent injector. | 
| Method Detail | 
|---|
java.lang.String callGetter(Key<?> key)
java.lang.String callChildGetter(GinjectorBindings childBindings,
                                 Key<?> key)
java.lang.String callParentGetter(Key<?> key,
                                  GinjectorBindings parentBindings)
java.lang.String callMemberInject(TypeLiteral<?> type,
                                  java.lang.String input)
type - the type of value to perform member injection oninput - a Java expression that evaluates to the object that should
     be member-injected
java.lang.String callMethod(java.lang.String methodName,
                            java.lang.String fragmentPackageName,
                            java.lang.Iterable<java.lang.String> parameters)
Used when generating an intermediate invoker method; see
 MethodCallUtil.createMethodCallWithInjection(com.google.gwt.inject.rebind.reflect.MethodLiteral, ?>, java.lang.String, com.google.gwt.inject.rebind.util.NameGenerator, java.util.List.
java.lang.String callGinjectorInterfaceGetter()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||