- callChildGetter(GinjectorBindings, Key<?>) - Method in interface com.google.gwt.inject.rebind.util.InjectorWriteContext
-
Generates a Java expression that evaluates to an injected instance of the
given key, as produced by the given child.
- callChildGetter(GinjectorBindings, Key<?>) - Static method in class com.google.gwt.inject.rebind.util.SourceSnippets
-
Creates a snippet that evaluates to an injected instance of the given key,
as produced by the given child.
- CallConstructorBinding - Class in com.google.gwt.inject.rebind.binding
-
A binding that calls a single constructor directly.
- callGetter(Key<?>) - Method in interface com.google.gwt.inject.rebind.util.InjectorWriteContext
-
Generates a Java expression that evaluates to an injected instance of the
given key.
- callGetter(Key<?>) - Static method in class com.google.gwt.inject.rebind.util.SourceSnippets
-
Creates a snippet that evaluates to an injected instance of the given key
in the current
GinjectorBindings
.
- callGinjectorInterfaceGetter() - Method in interface com.google.gwt.inject.rebind.util.InjectorWriteContext
-
Generates a Java statement that evaluates to the implementation of the
current Ginjector interface.
- callGinjectorInterfaceGetter() - Static method in class com.google.gwt.inject.rebind.util.SourceSnippets
-
Creates a snippet that evaluates to the implementation of the current
Ginjector interface.
- CallGwtDotCreateBinding - Class in com.google.gwt.inject.rebind.binding
-
A binding that just calls GWT.create()
for the requested type.
- callMemberInject(TypeLiteral<?>, String) - Method in interface com.google.gwt.inject.rebind.util.InjectorWriteContext
-
Generates a Java statement (including trailing semicolon) that performs
member injection on a value of the given type.
- callMemberInject(TypeLiteral<?>, String) - Static method in class com.google.gwt.inject.rebind.util.SourceSnippets
-
Creates a snippet (including a trailing semicolon) that performs member
injection on a value of the given type.
- callMethod(String, String, Iterable<String>) - Method in interface com.google.gwt.inject.rebind.util.InjectorWriteContext
-
Generates a Java expression that evaluates to an invocation of the named
method on the given package fragment.
- callMethod(String, String, Iterable<String>) - Static method in class com.google.gwt.inject.rebind.util.SourceSnippets
-
Creates a snippet that evaluates to an invocation of the named method on
the given package fragment.
- callParentGetter(Key<?>, GinjectorBindings) - Method in interface com.google.gwt.inject.rebind.util.InjectorWriteContext
-
Generates a Java expression that evaluates to an injected instance of the
given key, as produced by the given parent injector.
- callParentGetter(Key<?>, GinjectorBindings) - Static method in class com.google.gwt.inject.rebind.util.SourceSnippets
-
Creates a snippet that evaluates to an injected instance of the given key,
as produced by the given parent injector.
- checkArgument(boolean) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the
calling method.
- checkArgument(boolean, Object) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the
calling method.
- checkArgument(boolean, String, Object...) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the
calling method.
- checkBindings(GinjectorBindings) - Method in class com.google.gwt.inject.rebind.DoubleBindingChecker
-
- checkBindings(GinjectorBindings, Map<Key<?>, GinjectorBindings>) - Method in class com.google.gwt.inject.rebind.DoubleBindingChecker
-
- checkElementIndex(int, int) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures that index
specifies a valid element in an array,
list or string of size size
.
- checkElementIndex(int, int, String) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures that index
specifies a valid element in an array,
list or string of size size
.
- checkForError() - Method in class com.google.gwt.inject.rebind.ErrorManager
-
- checkNotNull(T) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures that an object reference passed as a parameter to the calling
method is not null.
- checkNotNull(T, Object) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures that an object reference passed as a parameter to the calling
method is not null.
- checkNotNull(T, String, Object...) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures that an object reference passed as a parameter to the calling
method is not null.
- checkPositionIndex(int, int) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures that index
specifies a valid position in an array,
list or string of size size
.
- checkPositionIndex(int, int, String) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures that index
specifies a valid position in an array,
list or string of size size
.
- checkPositionIndexes(int, int, int) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures that start
and end
specify a valid positions
in an array, list or string of size size
, and are in order.
- checkState(boolean) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures the truth of an expression involving the state of the calling
instance, but not involving any parameters to the calling method.
- checkState(boolean, Object) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures the truth of an expression involving the state of the calling
instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object...) - Static method in class com.google.gwt.inject.rebind.util.Preconditions
-
Ensures the truth of an expression involving the state of the calling
instance, but not involving any parameters to the calling method.
- com.google.gwt.inject - package com.google.gwt.inject
-
Top level package of GIN Project
- com.google.gwt.inject.client - package com.google.gwt.inject.client
-
- com.google.gwt.inject.client.assistedinject - package com.google.gwt.inject.client.assistedinject
-
- com.google.gwt.inject.client.binder - package com.google.gwt.inject.client.binder
-
- com.google.gwt.inject.client.multibindings - package com.google.gwt.inject.client.multibindings
-
- com.google.gwt.inject.rebind - package com.google.gwt.inject.rebind
-
- com.google.gwt.inject.rebind.adapter - package com.google.gwt.inject.rebind.adapter
-
- com.google.gwt.inject.rebind.binding - package com.google.gwt.inject.rebind.binding
-
- com.google.gwt.inject.rebind.output - package com.google.gwt.inject.rebind.output
-
- com.google.gwt.inject.rebind.reflect - package com.google.gwt.inject.rebind.reflect
-
- com.google.gwt.inject.rebind.resolution - package com.google.gwt.inject.rebind.resolution
-
- com.google.gwt.inject.rebind.util - package com.google.gwt.inject.rebind.util
-
- configure(GinBinder) - Method in class com.google.gwt.inject.client.AbstractGinModule
-
- configure() - Method in class com.google.gwt.inject.client.AbstractGinModule
-
- configure(GinBinder) - Method in class com.google.gwt.inject.client.assistedinject.FactoryModule
-
- configure(GinBinder) - Method in interface com.google.gwt.inject.client.GinModule
-
Contributes bindings and other configurations for this module to binder
.
- configure(GinBinder) - Method in class com.google.gwt.inject.client.PrivateGinModule
-
- configure() - Method in class com.google.gwt.inject.client.PrivateGinModule
-
Creates bindings and other configurations private to this module.
- configure(Binder) - Method in class com.google.gwt.inject.rebind.adapter.GinModuleAdapter
-
- configure() - Method in class com.google.gwt.inject.rebind.adapter.PrivateGinModuleAdapter
-
- configure() - Method in class com.google.gwt.inject.rebind.output.OutputModule
-
- configure() - Method in class com.google.gwt.inject.rebind.resolution.ResolutionModule
-
- Context - Class in com.google.gwt.inject.rebind.binding
-
Describes the context in which a binding or dependency was created.
- Context(String, Object...) - Constructor for class com.google.gwt.inject.rebind.binding.Context
-
- convertToValidMemberName(String) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
- create(GinjectorBindings) - Method in interface com.google.gwt.inject.rebind.GuiceElementVisitor.GuiceElementVisitorFactory
-
- create(String) - Method in interface com.google.gwt.inject.rebind.output.FragmentPackageName.Factory
-
Request a fragment package name that can access values in the given
package name.
- create(TreeLogger) - Method in interface com.google.gwt.inject.rebind.resolution.DependencyExplorer.Factory
-
- create(Key<?>) - Method in class com.google.gwt.inject.rebind.resolution.ImplicitBindingCreator
-
Creates the implicit binding
- create(TreeLogger) - Method in interface com.google.gwt.inject.rebind.resolution.ImplicitBindingCreator.Factory
-
- create(TreeLogger) - Method in interface com.google.gwt.inject.rebind.resolution.UnresolvedBindingValidator.Factory
-
- create(BindingIndex) - Method in interface com.google.gwt.inject.rebind.util.SourceWriteUtil.Factory
-
- createChildGinjectorBindings(Class<?>) - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- createConstructorInjection(MethodLiteral<?, Constructor<?>>, NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.util.MethodCallUtil
-
Creates a constructor injecting method and returns a string that invokes
the new method.
- createFieldInjection(FieldLiteral<?>, String, NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.util.SourceWriteUtil
-
Creates a field injecting method and returns a string that invokes the
written method.
- createFieldInjections(Iterable<FieldLiteral<?>>, String, NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.util.SourceWriteUtil
-
Appends a field injecting method for each passed field to the
sourceWriter
and returns a string that invokes all written
methods.
- createMemberInjection(TypeLiteral<?>, NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.util.SourceWriteUtil
-
Generates all the required injector methods to inject members of the given
type, and a standard member-inject method that invokes them.
- createMethodCallWithInjection(MethodLiteral<?, ?>, String, NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.util.MethodCallUtil
-
Creates a method that calls the passed method, injecting its parameters
using getters, and returns a string that invokes the new method.
- createMethodCallWithInjection(MethodLiteral<?, ?>, String, String[], NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.util.MethodCallUtil
-
Creates a method that calls the passed method, injecting its parameters
using getters as necessary, and returns a string that invokes the new
method.
- createMethodInjections(Iterable<? extends MethodLiteral<?, ?>>, String, NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.util.SourceWriteUtil
-
Creates a method injecting method and returns a string that invokes the new
method.
- createMethodName(String) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Returns a new valid (i.e.
- CreationException - Exception in com.google.gwt.inject.client
-
Exception thrown by Gin at GWT runtime if an error occurs while creating a
requested object.
- CreationException(String) - Constructor for exception com.google.gwt.inject.client.CreationException
-
- CreationException(String, Throwable) - Constructor for exception com.google.gwt.inject.client.CreationException
-
- CreationException(Throwable) - Constructor for exception com.google.gwt.inject.client.CreationException
-
- generate(TreeLogger, GeneratorContext, String) - Method in class com.google.gwt.inject.rebind.GinjectorGenerator
-
- get(AsyncCallback<? super T>) - Method in interface com.google.gwt.inject.client.AsyncProvider
-
- get() - Method in class com.google.gwt.inject.rebind.adapter.GwtDotCreateProvider
-
- get(Field, TypeLiteral<T>) - Static method in class com.google.gwt.inject.rebind.reflect.FieldLiteral
-
Returns a new field literal based on the passed field and its declaring
type.
- get(Method, TypeLiteral<T>) - Static method in class com.google.gwt.inject.rebind.reflect.MethodLiteral
-
Creates a new MethodLiteral
based on the passed method and its
declaring type.
- get(Constructor<?>, TypeLiteral<T>) - Static method in class com.google.gwt.inject.rebind.reflect.MethodLiteral
-
Creates a new MethodLiteral
based on the passed constructor and
its declaring type.
- getAllKeys() - Method in class com.google.gwt.inject.rebind.resolution.DependencyGraph
-
Returns all the keys that appear in the Dependency Graph, other than the "common root",
Dependency.GINJECTOR
.
- getAnnotation(Class<T>) - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns this member's annotation of the passed type or null
if no
matching annotation is present.
- getAnnotations() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns this member's annotations.
- getAssistedInjectMethodName(Key<?>, String) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Returns the name of an assisted injection helper method.
- getAsyncProviderBinding(Key<?>) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getAsyncProviderBinding(Key<?>) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getBindClassBinding(Key<?>, Key<?>, Context) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getBindClassBinding(Key<?>, Key<?>, Context) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getBindConstantBinding(Key<T>, T, Context) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getBindConstantBinding(Key<T>, T, Context) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getBinding(Key<?>) - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getBindingAnnotation() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns this member's binding annotation or null
if no such
annotation is present.
- getBindingAnnotation(Annotation[]) - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
- getBindingErrors() - Method in class com.google.gwt.inject.rebind.resolution.DependencyExplorer.DependencyExplorerOutput
-
Returns pairs containing the Key<?>
s that were unavailable from the injector
hierarchy but that we were unable to create implicit bindings for and an error message
describing the problem we encountered while creating the implicit binding.
- getBindings() - Method in class com.google.gwt.inject.client.assistedinject.FactoryModule
-
- getBindings() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getBindProviderBinding(Key<? extends Provider<?>>, Key<?>, Context) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getBindProviderBinding(Key<? extends Provider<?>>, Key<?>, Context) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getBoundKeys() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getCallConstructorBinding(MethodLiteral<?, Constructor<?>>) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getCallConstructorBinding(MethodLiteral<?, Constructor<?>>) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getCallGwtDotCreateBinding(TypeLiteral<?>) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getCallGwtDotCreateBinding(TypeLiteral<?>) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getCanonicalClassName(GinjectorBindings) - Method in class com.google.gwt.inject.rebind.GinjectorNameGenerator
-
- getChildBindings() - Method in class com.google.gwt.inject.rebind.binding.ExposedChildBinding
-
- getChildInjectorGetterMethodName(String) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Returns the name of a getter for a child injector.
- getChildren() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getChildWhichBindsLocally(Key<?>) - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
Returns the child injector which binds the given key.
- getClassName(GinjectorBindings) - Method in class com.google.gwt.inject.rebind.GinjectorNameGenerator
-
- getContext() - Method in interface com.google.gwt.inject.rebind.binding.Binding
-
Returns the context in which this binding was created.
- getContext() - Method in class com.google.gwt.inject.rebind.binding.Dependency
-
- getCreationStatement(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.CallConstructorBinding
-
- getCreationStatement(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.CallGwtDotCreateBinding
-
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.AsyncProviderBinding
-
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.BindClassBinding
-
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.BindConstantBinding
-
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in interface com.google.gwt.inject.rebind.binding.Binding
-
Gets one or more fully formed Java statements that create the bound value
and store it in a new local variable named result
.
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.BindProviderBinding
-
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.ExposedChildBinding
-
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.FactoryBinding
-
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.GinjectorBinding
-
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.ImplicitProviderBinding
-
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.ParentBinding
-
- getCreationStatements(NameGenerator, List<InjectorMethod>) - Method in class com.google.gwt.inject.rebind.binding.ProviderMethodBinding
-
- getDeclaringType() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns the type declaring this member.
- getDependencies() - Method in class com.google.gwt.inject.rebind.binding.AsyncProviderBinding
-
- getDependencies() - Method in class com.google.gwt.inject.rebind.binding.BindClassBinding
-
- getDependencies() - Method in class com.google.gwt.inject.rebind.binding.BindConstantBinding
-
- getDependencies() - Method in interface com.google.gwt.inject.rebind.binding.Binding
-
Returns the set of dependencies that this binding produces.
- getDependencies() - Method in class com.google.gwt.inject.rebind.binding.BindProviderBinding
-
- getDependencies() - Method in class com.google.gwt.inject.rebind.binding.ExposedChildBinding
-
- getDependencies() - Method in class com.google.gwt.inject.rebind.binding.FactoryBinding
-
- getDependencies() - Method in class com.google.gwt.inject.rebind.binding.GinjectorBinding
-
- getDependencies() - Method in class com.google.gwt.inject.rebind.binding.ImplicitProviderBinding
-
- getDependencies() - Method in class com.google.gwt.inject.rebind.binding.ParentBinding
-
- getDependencies() - Method in class com.google.gwt.inject.rebind.binding.ProviderMethodBinding
-
- getDependencies() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getDependencies(Key<?>, MethodLiteral<?, ?>) - Method in class com.google.gwt.inject.rebind.util.GuiceUtil
-
Collects and returns all keys required to inject the given method.
- getDependenciesOf(Key<?>) - Method in class com.google.gwt.inject.rebind.resolution.DependencyGraph
-
- getDependenciesTargeting(Key<?>) - Method in class com.google.gwt.inject.rebind.resolution.DependencyGraph
-
- getExceptionTypes() - Method in class com.google.gwt.inject.rebind.reflect.MethodLiteral
-
Returns this method's exception types, if appropriate parametrized with
the declaring class's type parameters.
- getExpectedTypeName() - Method in class com.google.gwt.inject.rebind.binding.CallGwtDotCreateBinding
-
- getExpectedTypeName() - Method in class com.google.gwt.inject.rebind.binding.RemoteServiceProxyBinding
-
- getExposedChildBinding(Key<?>, GinjectorBindings, Context) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getExposedChildBinding(Key<?>, GinjectorBindings, Context) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getFactoryBinding(Map<Key<?>, TypeLiteral<?>>, Key<?>, Context) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getFactoryBinding(Map<Key<?>, TypeLiteral<?>>, Key<?>, Context) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getFactoryModules() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getFactoryType() - Method in class com.google.gwt.inject.client.assistedinject.FactoryModule
-
- getFieldName(GinjectorBindings) - Method in class com.google.gwt.inject.rebind.GinjectorNameGenerator
-
- getFields(TypeLiteral<?>) - Method in class com.google.gwt.inject.rebind.util.MemberCollector
-
Returns all fields in the provided type, including those of the type's
(recursive) super classes.
- getFieldType() - Method in class com.google.gwt.inject.rebind.reflect.FieldLiteral
-
Returns the field's type, if appropriate parametrized with the declaring
class's type parameters.
- getFragmentCanonicalClassName(String, FragmentPackageName) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Computes the canonical name (including package) of a single fragment of a
Ginjector.
- getFragmentClassName(String, FragmentPackageName) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Computes the name of a single fragment of a Ginjector.
- getFragmentFieldName(FragmentPackageName) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Computes the field name of a single fragment of an injector.
- getFragmentGetterMethodName(FragmentPackageName) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Returnst he name of a getter for an injector fragment.
- getGetterMethodName(Key<?>) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Returns the key's getter method name.
- getGetterMethodPackage() - Method in interface com.google.gwt.inject.rebind.binding.Binding
-
Returns the package in which the getter for the bound key is created.
- getGetterMethodPackage() - Method in class com.google.gwt.inject.rebind.binding.ExposedChildBinding
-
The getter must be placed in the same package as the child getter, to ensure that its return
type is visible.
- getGetterMethodPackage() - Method in class com.google.gwt.inject.rebind.binding.ParentBinding
-
The getter must be placed in the same package as the parent getter, to ensure that its return
type is visible.
- getGinjectorBinding() - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getGinjectorBinding() - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getGinjectorInterface() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getGinjectorInterfaceFieldName() - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Computes the name of the field in which the Ginjector interface
implementation is stored.
- getGinjectorInterfaceGetterMethodName() - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Computes the name of the method used to retrieve the Ginjector interface
implementation.
- getGraph() - Method in class com.google.gwt.inject.rebind.resolution.DependencyExplorer.DependencyExplorerOutput
-
Returns the
DependencyGraph
containing information about nodes found from the origin.
- getImplicitBindings() - Method in class com.google.gwt.inject.rebind.resolution.DependencyExplorer.DependencyExplorerOutput
-
Returns map entries containing the
Key<?>
s that weren't already available and the
Binding
we created (implicitly) for it.
- getImplicitlyBoundKeys() - Method in class com.google.gwt.inject.rebind.resolution.DependencyExplorer.DependencyExplorerOutput
-
Return the Key<?>
s that weren't already available and for which we successfully
created implicit bindings.
- getImplicitProviderBinding(Key<?>) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getImplicitProviderBinding(Key<?>) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getInvalidKeys(DependencyExplorer.DependencyExplorerOutput) - Method in class com.google.gwt.inject.rebind.resolution.UnresolvedBindingValidator
-
Returns an
UnresolvedBindingValidator.InvalidKeys
object containing information about all the errors that we
discovered in required keys, and the set of all optional bindings that should be removed from
the graph in order to make it valid.
- getInvalidOptionalKeys() - Method in class com.google.gwt.inject.rebind.resolution.UnresolvedBindingValidator.InvalidKeys
-
- getInvalidRequiredKeys() - Method in class com.google.gwt.inject.rebind.resolution.UnresolvedBindingValidator.InvalidKeys
-
- getKey(MethodLiteral<?, ?>) - Method in class com.google.gwt.inject.rebind.util.GuiceUtil
-
Retrieves a key based on the passed
Ginjector
method.
- getKey(FieldLiteral<?>) - Method in class com.google.gwt.inject.rebind.util.GuiceUtil
-
Returns a key based on the passed field, taking any binding annotations
into account.
- getMember() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
- getMemberInjectionDependencies(Key<?>, TypeLiteral<?>) - Method in class com.google.gwt.inject.rebind.util.GuiceUtil
-
Collects and returns all keys required to member-inject the given class.
- getMemberInjectMethodName(TypeLiteral<?>) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Returns the type's member inject method name.
- getMemberInjectRequests() - Method in interface com.google.gwt.inject.rebind.binding.Binding
-
Returns the set of types for which this binding requires member injection methods to be
written.
- getMemberInjectRequests() - Method in class com.google.gwt.inject.rebind.binding.FactoryBinding
-
- getMemberInjectRequests() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getMessages() - Method in class com.google.gwt.inject.rebind.GuiceElementVisitor
-
- getMethodBody(InjectorWriteContext) - Method in interface com.google.gwt.inject.rebind.util.InjectorMethod
-
Returns the body of the method in the given context (e.g., "return this;")
- getMethods(TypeLiteral<?>) - Method in class com.google.gwt.inject.rebind.util.MemberCollector
-
Returns all methods in the provided type, including those of the type's
(recursive) super classes and interfaces.
- getMethodSignature() - Method in class com.google.gwt.inject.rebind.util.AbstractInjectorMethod
-
- getMethodSignature() - Method in interface com.google.gwt.inject.rebind.util.InjectorMethod
-
Returns the signature of the method (e.g., "public void foo()")
- getModifiers() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns this member's modifiers.
- getModule() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getModuleName() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getName() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns this member's name.
- getNameGenerator() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getOrigin() - Method in class com.google.gwt.inject.rebind.resolution.DependencyGraph
-
- getPackageName() - Method in class com.google.gwt.inject.rebind.util.AbstractInjectorMethod
-
- getPackageName() - Method in interface com.google.gwt.inject.rebind.util.InjectorMethod
-
Get the name of the package in which this method should be created.
- getParameterAnnotations() - Method in class com.google.gwt.inject.rebind.reflect.MethodLiteral
-
- getParameterKeys() - Method in class com.google.gwt.inject.rebind.reflect.MethodLiteral
-
Returns this method's parameter keys, if appropriate parametrized with the
declaring class's type parameters.
- getParameterTypes() - Method in class com.google.gwt.inject.rebind.reflect.MethodLiteral
-
Returns this method's parameter types, if appropriate parametrized with
the declaring class's type parameters.
- getParent() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getParentBinding(Key<?>, GinjectorBindings, Context) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getParentBinding(Key<?>, GinjectorBindings, Context) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getParentBindings() - Method in class com.google.gwt.inject.rebind.binding.ParentBinding
-
- getPreExistingLocations() - Method in class com.google.gwt.inject.rebind.resolution.DependencyExplorer.DependencyExplorerOutput
-
Returns a map from each Key<?>
that was already available in the injector hierarchy
to the Ginjector on which it was found.
- getProvidedKey(Key<?>) - Static method in class com.google.gwt.inject.rebind.reflect.ReflectUtil
-
Given a parameterized type (such as a Provider<Foo>
) return the
parameter (Foo
).
- getProviderMethodBinding(ProviderMethod<?>, Context) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getProviderMethodBinding(ProviderMethod<?>, Context) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getRawDeclaringType() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns this member's raw (i.e.
- getRawParameterTypes() - Method in class com.google.gwt.inject.rebind.reflect.MethodLiteral
-
Returns this method's parameter types without any type parametrization
applied.
- getRemoteServiceProxyBinding(TypeLiteral<?>) - Method in interface com.google.gwt.inject.rebind.binding.BindingFactory
-
- getRemoteServiceProxyBinding(TypeLiteral<?>) - Method in class com.google.gwt.inject.rebind.binding.BindingFactoryImpl
-
- getReturnType() - Method in class com.google.gwt.inject.rebind.reflect.MethodLiteral
-
Returns this method's return type, if appropriate parametrized with the
declaring class's type parameters.
- getSingletonFieldName(Key<?>) - Method in class com.google.gwt.inject.rebind.util.NameGenerator
-
Returns the key's singleton field name.
- getSource() - Method in class com.google.gwt.inject.client.assistedinject.FactoryModule
-
Returns the source location of the factory module's declaration.
- getSource() - Method in class com.google.gwt.inject.rebind.binding.Dependency
-
- getSource(InjectorWriteContext) - Method in interface com.google.gwt.inject.rebind.util.SourceSnippet
-
Format this code for the given write context.
- getSourceName(TypeLiteral<?>) - Static method in class com.google.gwt.inject.rebind.reflect.ReflectUtil
-
Alternate toString method for TypeLiterals that fixes a JDK bug that was
replicated in Guice.
- getSourceName(Type) - Static method in class com.google.gwt.inject.rebind.reflect.ReflectUtil
-
Returns a string representation of the passed type's name while ensuring
that all type names (base and parameters) are converted to source type
names.
- getStaticInjectionRequests() - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- getTarget() - Method in class com.google.gwt.inject.rebind.binding.Dependency
-
- getTypeNameToCreate() - Method in class com.google.gwt.inject.rebind.binding.CallGwtDotCreateBinding
-
- getTypeNameToCreate() - Method in class com.google.gwt.inject.rebind.binding.RemoteServiceProxyBinding
-
- getTypeParameters() - Method in class com.google.gwt.inject.rebind.reflect.MethodLiteral
-
Returns this method's type parameters.
- getUserPackageName(TypeLiteral<?>) - Static method in class com.google.gwt.inject.rebind.reflect.ReflectUtil
-
Return the name of the package from which the given type can be used.
- getUserPackageName(Key<?>) - Static method in class com.google.gwt.inject.rebind.reflect.ReflectUtil
-
Return the name of the package from which the given key can be used.
- GinAnnotatedBindingBuilder<T> - Interface in com.google.gwt.inject.client.binder
-
- GinAnnotatedConstantBindingBuilder - Interface in com.google.gwt.inject.client.binder
-
- GinAnnotatedElementBuilder - Interface in com.google.gwt.inject.client.binder
-
Builder returned from calls to expose, used to add an (optional) annotation
to the element that is being exposed.
- GinBinder - Interface in com.google.gwt.inject.client.binder
-
Collects configuration information (primarily bindings) which will be
used to create a Ginjector
.
- GinConstantBindingBuilder - Interface in com.google.gwt.inject.client.binder
-
Binds to a constant value.
- GinFactoryModuleBuilder - Class in com.google.gwt.inject.client.assistedinject
-
- GinFactoryModuleBuilder() - Constructor for class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- Ginjector - Interface in com.google.gwt.inject.client
-
Where the GWT world stops and the GIN/Guice world begins.
- GINJECTOR - Static variable in class com.google.gwt.inject.rebind.binding.Dependency
-
A unique key used to indicate that a dependency originated in the Ginjector; for instance,
keys produced by the root Ginjector, or while visiting bindings in
GuiceBindingVisitor
often have as their source
Dependency.GINJECTOR
.
- GinjectorBinding - Class in com.google.gwt.inject.rebind.binding
-
Simple binding that allows injection of the ginjector.
- GinjectorBinding(Class<? extends Ginjector>) - Constructor for class com.google.gwt.inject.rebind.binding.GinjectorBinding
-
- GinjectorBindings - Class in com.google.gwt.inject.rebind
-
Stores information that describes the bindings present in a given injector,
and the relationship to the other injectors in the hierarchy.
- GinjectorBindings(NameGenerator, TreeLogger, GuiceUtil, Class<? extends Ginjector>, Provider<GinjectorBindings>, MemberCollector, ErrorManager, BindingResolver) - Constructor for class com.google.gwt.inject.rebind.GinjectorBindings
-
- GinjectorGenerator - Class in com.google.gwt.inject.rebind
-
- GinjectorGenerator() - Constructor for class com.google.gwt.inject.rebind.GinjectorGenerator
-
- GinjectorImplOutputter - Class in com.google.gwt.inject.rebind.output
-
Outputs all the generated classes for an implementation of a Ginjector
interface.
- GinjectorImplOutputter(GinjectorBindingsOutputter, GeneratorContext, FragmentPackageName.Factory, GinjectorNameGenerator, GuiceUtil, TreeLogger, Provider<MemberCollector>, ReachabilityAnalyzer, SourceWriteUtil.Factory) - Constructor for class com.google.gwt.inject.rebind.output.GinjectorImplOutputter
-
- GinjectorInterfaceType - Annotation Type in com.google.gwt.inject.rebind
-
A binding annotation to be applied to a Class
for
the type of the Ginjector
interface being generated.
- GinjectorNameGenerator - Class in com.google.gwt.inject.rebind
-
Manages class and field names for GinjectorBindings.
- GinLinkedBindingBuilder<T> - Interface in com.google.gwt.inject.client.binder
-
- GinMapBinder<K,V> - Class in com.google.gwt.inject.client.multibindings
-
A utility that mimics the behavior and API of Guice MapBinder for GIN.
- GinModule - Interface in com.google.gwt.inject.client
-
GIN counterpart of Guice's Module
.
- GinModuleAdapter - Class in com.google.gwt.inject.rebind.adapter
-
- GinModuleAdapter(GinModule) - Constructor for class com.google.gwt.inject.rebind.adapter.GinModuleAdapter
-
- GinModuleAdapter(GinModule, GinjectorBindings) - Constructor for class com.google.gwt.inject.rebind.adapter.GinModuleAdapter
-
- GinModuleAdapter(GinModule, GinjectorBindings, boolean) - Constructor for class com.google.gwt.inject.rebind.adapter.GinModuleAdapter
-
- GinModules - Annotation Type in com.google.gwt.inject.client
-
An annotation to put on @Ginjector
subtypes to indicate which
GinModule
implementations to use.
- GinMultibinder<T> - Class in com.google.gwt.inject.client.multibindings
-
A utility that mimics the behavior and API of Guice Multibinder for GIN.
- GinMultibinder(GinBinder, TypeLiteral<T>, Key<Provider<T>>) - Constructor for class com.google.gwt.inject.client.multibindings.GinMultibinder
-
- GinScope - Enum in com.google.gwt.inject.rebind
-
Enum for scopes that GIN supports.
- GinScopedBindingBuilder - Interface in com.google.gwt.inject.client.binder
-
- GraphPruner(DependencyGraph) - Constructor for class com.google.gwt.inject.rebind.resolution.DependencyGraph.GraphPruner
-
Create a
DependencyGraph.GraphPruner
for building a new DependencyGraph by (destructively!) removing
edges from an existing DependencyGraph.
- GuiceBindingVisitor<T> - Class in com.google.gwt.inject.rebind
-
Gathers information about Guice Bindings and adds the information to a
GinjectorBindings
.
- GuiceBindingVisitor(Key<T>, List<Message>, GinjectorBindings, BindingFactory) - Constructor for class com.google.gwt.inject.rebind.GuiceBindingVisitor
-
- GuiceBindingVisitorFactory - Class in com.google.gwt.inject.rebind
-
- GuiceBindingVisitorFactory(BindingFactory) - Constructor for class com.google.gwt.inject.rebind.GuiceBindingVisitorFactory
-
- GuiceElementVisitor - Class in com.google.gwt.inject.rebind
-
- GuiceElementVisitor(TreeLogger, GuiceElementVisitor.GuiceElementVisitorFactory, GuiceBindingVisitorFactory, ErrorManager, GinjectorBindings, BindingFactory) - Constructor for class com.google.gwt.inject.rebind.GuiceElementVisitor
-
- GuiceElementVisitor.GuiceElementVisitorFactory - Interface in com.google.gwt.inject.rebind
-
- GuiceUtil - Class in com.google.gwt.inject.rebind.util
-
Util object that offers helper methods which can retrieve
Keys
and additional dependency injection information on types or members.
- GuiceUtil(MemberCollector) - Constructor for class com.google.gwt.inject.rebind.util.GuiceUtil
-
- GwtDotCreateProvider<T> - Class in com.google.gwt.inject.rebind.adapter
-
A dummy provider to register for cases like
bind().in(scope)
(where there is no target key).
- implement(Class<T>, Class<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(Class<T>, TypeLiteral<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(TypeLiteral<T>, Class<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(TypeLiteral<T>, TypeLiteral<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(Class<T>, Annotation, Class<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(Class<T>, Annotation, TypeLiteral<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(TypeLiteral<T>, Annotation, Class<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(TypeLiteral<T>, Annotation, TypeLiteral<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(Class<T>, Class<? extends Annotation>, Class<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(Class<T>, Class<? extends Annotation>, TypeLiteral<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(TypeLiteral<T>, Class<? extends Annotation>, Class<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(TypeLiteral<T>, Class<? extends Annotation>, TypeLiteral<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(Key<T>, Class<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- implement(Key<T>, TypeLiteral<? extends T>) - Method in class com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder
-
- ImplicitBindingCreator - Class in com.google.gwt.inject.rebind.resolution
-
Class responsible for creating implicit bindings.
- ImplicitBindingCreator(BindingFactory, GeneratorContext, TreeLogger) - Constructor for class com.google.gwt.inject.rebind.resolution.ImplicitBindingCreator
-
- ImplicitBindingCreator.BindingCreationException - Exception in com.google.gwt.inject.rebind.resolution
-
Exception thrown to indicate an error occurred during binding creation.
- ImplicitBindingCreator.Factory - Interface in com.google.gwt.inject.rebind.resolution
-
- ImplicitProviderBinding - Class in com.google.gwt.inject.rebind.binding
-
Binding implementation for Provider<T>
that just uses the binding
to T
.
- in(Class<? extends Annotation>) - Method in interface com.google.gwt.inject.client.binder.GinScopedBindingBuilder
-
- Injectable - Annotation Type in com.google.gwt.inject.rebind.binding
-
Binding for
MemberCollector
s
that collect injectable methods and fields (i.e.
- InjectorMethod - Interface in com.google.gwt.inject.rebind.util
-
A method that will be written to an injector implementation.
- InjectorWriteContext - Interface in com.google.gwt.inject.rebind.util
-
Generates Java expressions and statements that perform injection-related
duties.
- install(GinModule) - Method in class com.google.gwt.inject.client.AbstractGinModule
-
- install(GinModule) - Method in interface com.google.gwt.inject.client.binder.GinBinder
-
Uses the given module to configure more bindings.
- install(GinModule) - Method in class com.google.gwt.inject.client.PrivateGinModule
-
- isAnnotationPresent(Class<? extends Annotation>) - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns true
if an annotation of the passed type is present on
this member.
- isBound(Key<?>) - Method in interface com.google.gwt.inject.rebind.binding.BindingIndex
-
Returns true if the passed key is bound in the Ginjector.
- isBound(Key<?>) - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- isBoundLocallyInChild(Key<?>) - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- isClassOrInterface(Type) - Static method in class com.google.gwt.inject.rebind.reflect.ReflectUtil
-
Returns true
if the passed type is either a class or an interface
(but not a primitive, enum or similar).
- isConstantKey(Key<?>) - Static method in class com.google.gwt.inject.rebind.binding.BindConstantBinding
-
Returns true if the provided key is a valid constant key, i.e.
- isConstructor() - Method in class com.google.gwt.inject.rebind.reflect.MethodLiteral
-
Returns true
if this method literal is based on a constructor.
- isDefaultAccess() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns true
if this member is declared as default access.
- isLazy() - Method in class com.google.gwt.inject.rebind.binding.Dependency
-
- isLegacyFinalField() - Method in class com.google.gwt.inject.rebind.reflect.FieldLiteral
-
Returns true
if this is a final field that past versions of Gin
allowed to be set by member injection.
- isMemberInject(MethodLiteral<?, ?>) - Method in class com.google.gwt.inject.rebind.util.GuiceUtil
-
Returns true if the passed
Ginjector
method is used for member
injection (i.e.
- isNative() - Method in class com.google.gwt.inject.rebind.util.AbstractInjectorMethod
-
- isNative() - Method in interface com.google.gwt.inject.rebind.util.InjectorMethod
-
Returns whether this is a native method.
- isOptional() - Method in class com.google.gwt.inject.rebind.binding.Dependency
-
- isOptional(MemberLiteral<?, ?>) - Method in class com.google.gwt.inject.rebind.util.GuiceUtil
-
Returns true if the passed method has an @Inject
annotation and the injection is marked as optional (
@Inject(optional = true)
).
- isPinned(Key<?>) - Method in class com.google.gwt.inject.rebind.GinjectorBindings
-
- isPrivate() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns true
if this member is declared private.
- isPrivate(Class<?>) - Static method in class com.google.gwt.inject.rebind.reflect.ReflectUtil
-
Returns true
if the passed type's visibility is private
.
- isPrivate(TypeLiteral<?>) - Static method in class com.google.gwt.inject.rebind.reflect.ReflectUtil
-
Returns true
if the passed type's visibility is private
.
- isPrivate(Member) - Static method in class com.google.gwt.inject.rebind.reflect.ReflectUtil
-
Returns true
if the passed member's visibility is private
.
- isPublic() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns true
if this member is declared public.
- isPublic(Class<?>) - Static method in class com.google.gwt.inject.rebind.reflect.ReflectUtil
-
Returns true
if the passed type's visibility is public
.
- isRemoteServiceProxy(TypeLiteral<?>) - Static method in class com.google.gwt.inject.rebind.binding.RemoteServiceProxyBinding
-
- isRequired(Key<?>) - Method in class com.google.gwt.inject.rebind.resolution.RequiredKeySet
-
- isStatic() - Method in class com.google.gwt.inject.rebind.reflect.MemberLiteral
-
Returns true
if this member is declared static.