Package | Description |
---|---|
com.google.gwt.inject.rebind.reflect | |
com.google.gwt.inject.rebind.util |
Modifier and Type | Method and Description |
---|---|
static <T> FieldLiteral<T> |
FieldLiteral.get(Field field,
TypeLiteral<T> declaringType)
Returns a new field literal based on the passed field and its declaring
type.
|
Modifier and Type | Method and Description |
---|---|
Collection<FieldLiteral<?>> |
MemberCollector.getFields(TypeLiteral<?> typeLiteral)
Returns all fields in the provided type, including those of the type's
(recursive) super classes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MemberCollector.FieldFilter.accept(FieldLiteral<?> field) |
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.
|
Key<?> |
GuiceUtil.getKey(FieldLiteral<?> field)
Returns a key based on the passed field, taking any binding annotations
into account.
|
Modifier and Type | Method and Description |
---|---|
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. |
Copyright © 2008–2018. All rights reserved.