Package | Description |
---|---|
com.google.gwt.inject.rebind.reflect | |
com.google.gwt.inject.rebind.util |
Modifier and Type | Class and Description |
---|---|
class |
FieldLiteral<T>
Generic field representation preserving the fields type parametrization.
|
class |
MethodLiteral<T,M extends Member & AnnotatedElement & GenericDeclaration>
Generic method and constructor representation that preserves the member's
parametrization and allows common operations on methods and constructors
where appropriate.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
GuiceUtil.hasInject(MemberLiteral<?,?> member)
Returns
true if the passed member has a inject annotation. |
boolean |
GuiceUtil.isOptional(MemberLiteral<?,?> member)
Returns true if the passed method has an @
Inject
annotation and the injection is marked as optional (
@Inject(optional = true) ). |
Copyright © 2008–2018. All rights reserved.