Package | Description |
---|---|
com.google.gwt.inject.rebind.binding | |
com.google.gwt.inject.rebind.util |
Modifier and Type | Method and Description |
---|---|
protected SourceSnippet |
CallConstructorBinding.getCreationStatement(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
protected SourceSnippet |
CallGwtDotCreateBinding.getCreationStatement(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
SourceSnippet |
Binding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput)
Gets one or more fully formed Java statements that create the bound value
and store it in a new local variable named
result . |
SourceSnippet |
ParentBinding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
SourceSnippet |
ExposedChildBinding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
SourceSnippet |
BindProviderBinding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
SourceSnippet |
ProviderMethodBinding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
SourceSnippet |
AsyncProviderBinding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
SourceSnippet |
BindClassBinding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
SourceSnippet |
FactoryBinding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
SourceSnippet |
GinjectorBinding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
SourceSnippet |
ImplicitProviderBinding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
SourceSnippet |
BindConstantBinding.getCreationStatements(NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractInjectorMethod
Common base class for injector methods.
|
Modifier and Type | Method and Description |
---|---|
static InjectorMethod |
SourceSnippets.asMethod(boolean isNative,
String signature,
String pkg,
SourceSnippet body)
Creates an
InjectorMethod using the given SourceSnippet as
its body. |
Modifier and Type | Method and Description |
---|---|
void |
SourceWriteUtil.writeMethod(InjectorMethod method,
com.google.gwt.user.rebind.SourceWriter writer,
InjectorWriteContext writeContext)
Writes the given method to the given source writer.
|
Modifier and Type | Method and Description |
---|---|
SourceSnippet |
MethodCallUtil.createConstructorInjection(MethodLiteral<?,Constructor<?>> constructor,
NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput)
Creates a constructor injecting method and returns a string that invokes
the new method.
|
SourceSnippet |
SourceWriteUtil.createFieldInjection(FieldLiteral<?> field,
String injecteeName,
NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput)
Creates a field injecting method and returns a string that invokes the
written method.
|
SourceSnippet |
SourceWriteUtil.createFieldInjections(Iterable<FieldLiteral<?>> fields,
String injecteeName,
NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput)
Appends a field injecting method for each passed field to the
sourceWriter and returns a string that invokes all written
methods. |
String |
SourceWriteUtil.createMemberInjection(TypeLiteral<?> type,
NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput)
Generates all the required injector methods to inject members of the given
type, and a standard member-inject method that invokes them.
|
SourceSnippet |
MethodCallUtil.createMethodCallWithInjection(MethodLiteral<?,?> method,
String invokeeName,
NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput)
Creates a method that calls the passed method, injecting its parameters
using getters, and returns a string that invokes the new method.
|
SourceSnippet |
MethodCallUtil.createMethodCallWithInjection(MethodLiteral<?,?> method,
String invokeeName,
String[] parameterNames,
NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput)
Creates a method that calls the passed method, injecting its parameters
using getters as necessary, and returns a string that invokes the new
method.
|
SourceSnippet |
SourceWriteUtil.createMethodInjections(Iterable<? extends MethodLiteral<?,?>> methods,
String injecteeName,
NameGenerator nameGenerator,
List<InjectorMethod> methodsOutput)
Creates a method injecting method and returns a string that invokes the new
method.
|
void |
SourceWriteUtil.writeMethods(Iterable<InjectorMethod> methods,
com.google.gwt.user.rebind.SourceWriter writer,
InjectorWriteContext writeContext)
Writes the given methods to the given source writer.
|
Copyright © 2008–2018. All rights reserved.