Modifier and Type | Method and Description |
---|---|
boolean |
Context.isInScope(MetaField field)
Checks is the given
MetaField is in scope (part of the attached class contexts). |
Modifier and Type | Method and Description |
---|---|
VariableReferenceContextualStatementBuilder |
ContextualStatementBuilder.loadField(MetaField field) |
Modifier and Type | Method and Description |
---|---|
VariableReferenceContextualStatementBuilder |
ContextualStatementBuilderImpl.loadField(MetaField field) |
Modifier and Type | Class and Description |
---|---|
static class |
MetaField.ArrayLengthMetaField
Special-purpose implementation of MetaField that represents the
length property of an array. |
Modifier and Type | Method and Description |
---|---|
static MetaField |
MetaClassFactory.get(Field field) |
abstract MetaField |
MetaClass.getDeclaredField(String name) |
abstract MetaField[] |
MetaClass.getDeclaredFields() |
abstract MetaField |
MetaClass.getField(String name) |
abstract MetaField[] |
MetaClass.getFields() |
abstract MetaField |
MetaClass.getInheritedField(String name)
Searches for the named field in this type, its superinterfaces, and its superclasses.
|
Modifier and Type | Method and Description |
---|---|
abstract List<MetaField> |
MetaClass.getFieldsAnnotatedWith(Class<? extends Annotation> annotation)
Returns all declared and inherited fields on this class that have the
given annotation targeting them.
|
abstract List<MetaField> |
MetaClass.getFieldsWithMetaAnnotations(Class<? extends Annotation> annotations) |
Modifier and Type | Method and Description |
---|---|
MetaField |
AbstractMetaClass.getInheritedField(String name) |
Modifier and Type | Method and Description |
---|---|
List<MetaField> |
AbstractMetaClass.getFieldsAnnotatedWith(Class<? extends Annotation> annotation) |
List<MetaField> |
AbstractMetaClass.getFieldsWithMetaAnnotations(Class<? extends Annotation> annotation) |
Modifier and Type | Class and Description |
---|---|
class |
BuildMetaField |
class |
ShadowBuildMetaField |
Modifier and Type | Method and Description |
---|---|
MetaField |
BuildMetaClass.getDeclaredField(String name) |
MetaField[] |
BuildMetaClass.getDeclaredFields() |
MetaField |
BuildMetaClass.getField(String name) |
MetaField[] |
BuildMetaClass.getFields() |
Constructor and Description |
---|
ShadowBuildMetaField(BuildMetaClass declaringClass,
Statement statement,
Scope scope,
MetaClass type,
String name,
MetaField shadow) |
Modifier and Type | Class and Description |
---|---|
class |
GWTField |
Modifier and Type | Method and Description |
---|---|
MetaField |
GWTClass.getDeclaredField(String name) |
MetaField[] |
GWTClass.getDeclaredFields() |
MetaField |
GWTClass.getField(String name) |
MetaField[] |
GWTClass.getFields() |
Modifier and Type | Class and Description |
---|---|
class |
JavaReflectionField |
Modifier and Type | Method and Description |
---|---|
MetaField |
JavaReflectionClass.getDeclaredField(String name) |
MetaField[] |
JavaReflectionClass.getDeclaredFields() |
MetaField |
JavaReflectionClass.getField(String name) |
MetaField[] |
JavaReflectionClass.getFields() |
Modifier and Type | Method and Description |
---|---|
static void |
PrivateAccessUtil.addPrivateAccessStubs(PrivateAccessType accessType,
String type,
ClassStructureBuilder<?> classBuilder,
MetaField f)
Generates methods for accessing a private field using either JSNI or Java
Reflection.
|
static void |
PrivateAccessUtil.addPrivateAccessStubs(PrivateAccessType accessType,
String accessorType,
ClassStructureBuilder<?> classBuilder,
MetaField f,
Modifier[] modifiers)
Generates methods for accessing a private field using either JSNI or Java
Reflection.
|
static void |
PrivateAccessUtil.addPrivateAccessStubs(String type,
ClassStructureBuilder<?> classBuilder,
MetaField f) |
void |
GWTPrivateMemberAccessor.createReadableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
void |
PrivateMemberAccessor.createReadableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
void |
ReflectionPrivateMemberAccessor.createReadableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
void |
GWTPrivateMemberAccessor.createWritableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
void |
PrivateMemberAccessor.createWritableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
void |
ReflectionPrivateMemberAccessor.createWritableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
static boolean |
GenUtil.equals(MetaField a,
MetaField b) |
static String |
JSNIUtil.fieldAccess(MetaField field) |
static String |
PrivateAccessUtil.getPrivateFieldInjectorName(MetaField field) |
static String |
ReflectionPrivateMemberAccessor.getReflectionFieldGetterName(MetaField f) |
static String |
ReflectionPrivateMemberAccessor.getReflectionFieldSetterName(MetaField f) |
static String |
ReflectionPrivateMemberAccessor.initCachedField(ClassStructureBuilder<?> classBuilder,
MetaField f) |
Modifier and Type | Method and Description |
---|---|
static Collection<MetaField> |
ClassScanner.getFieldsAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx) |
Modifier and Type | Method and Description |
---|---|
MetaField |
UnsatisfiedField.getField() |
Modifier and Type | Method and Description |
---|---|
static UnsatisfiedDependenciesException |
UnsatisfiedDependenciesException.createWithSingleFieldFailure(MetaField field,
MetaClass enclosingType,
MetaClass injectedType,
String message) |
Constructor and Description |
---|
UnsatisfiedField(MetaField field,
MetaClass enclosingType,
MetaClass injectedType,
String message) |
Modifier and Type | Method and Description |
---|---|
Collection<MetaField> |
InjectUtil.BeanMetric.getFieldInjectors() |
Modifier and Type | Method and Description |
---|---|
static Statement |
InjectUtil.getPrivateFieldValue(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext processingContext,
Statement obj,
MetaField field)
Retrieves the value of a private field managed IOC component.
|
static Statement |
InjectUtil.getPublicOrPrivateFieldValue(InjectionContext context,
Statement obj,
MetaField field)
Read from the specified field, and automatically determine whether to make a public or private read based on the
visibility of the specified field.
|
static String |
InjectUtil.getVarNameFromType(MetaClass clazz,
MetaField parameter) |
static Statement |
InjectUtil.setPrivateFieldValue(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext processingContext,
Statement obj,
MetaField field,
Statement val)
Set the value of a private field on a managed IOC component.
|
static Statement |
InjectUtil.setPublicOrPrivateFieldValue(InjectionContext context,
Statement obj,
MetaField field,
Statement val)
Write to the specified field, and automatically determine whether to make a public or private write based on the
visibility of the specified field.
|
Modifier and Type | Field and Description |
---|---|
protected MetaField |
AsyncInjectionTask.field |
protected MetaField |
InjectionTask.field |
protected MetaField |
InjectionPoint.field |
Modifier and Type | Method and Description |
---|---|
MetaField |
InjectionPoint.getField() |
Modifier and Type | Method and Description |
---|---|
Map<MetaField,PrivateAccessType> |
InjectionContext.getPrivateFieldsToExpose() |
Modifier and Type | Method and Description |
---|---|
void |
InjectionContext.addExposedField(MetaField field,
PrivateAccessType accessType) |
static <T extends Annotation> |
InjectableInstance.getFieldInjectedInstance(MetaField field,
Injector injector,
InjectionContext context) |
Constructor and Description |
---|
AsyncDecoratorTask(Injector injector,
MetaField field,
IOCDecoratorExtension[] decs) |
AsyncInjectionTask(Injector injector,
MetaField field) |
DecoratorTask(Injector injector,
MetaField field,
Class<? extends Annotation> annotationType,
IOCDecoratorExtension[] decs) |
InjectableInstance(T annotation,
TaskType taskType,
MetaConstructor constructor,
MetaMethod method,
MetaField field,
MetaClass type,
MetaParameter parm,
Injector injector,
InjectionContext injectionContext) |
InjectionPoint(T annotation,
TaskType taskType,
MetaConstructor constructor,
MetaMethod method,
MetaField field,
MetaClass type,
MetaParameter parm,
Injector injector,
InjectionContext injectionContext) |
InjectionTask(Injector injector,
MetaField field) |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.