Package | Description |
---|---|
com.artemis.injection | |
com.artemis.link | |
com.artemis.utils.reflect |
Modifier and Type | Field and Description |
---|---|
Field[] |
CachedClass.allFields
All fields relevant for the class.
|
Field |
CachedField.field
The field this class represents.
|
Modifier and Type | Method and Description |
---|---|
CachedField |
InjectionCache.getCachedField(Field field) |
Class<?> |
InjectionCache.getGenericType(Field field) |
Object |
ArtemisFieldResolver.resolve(Object target,
Class<?> fieldType,
Field field) |
Object |
AspectFieldResolver.resolve(Object target,
Class<?> fieldType,
Field field) |
Object |
FieldHandler.resolve(Object target,
Class<?> fieldType,
Field field)
Returns the first non-null value provided by
FieldResolver.resolve(Object, Class, Field) , or null if no resolver returned a valid value. |
Object |
WiredFieldResolver.resolve(Object target,
Class<?> fieldType,
Field field) |
Object |
FieldResolver.resolve(Object target,
Class<?> fieldType,
Field field) |
Constructor and Description |
---|
CachedField(Field field,
WireType wireType,
String name,
boolean failOnNull) |
Modifier and Type | Method and Description |
---|---|
T |
MultiFieldMutator.read(C c,
Field f) |
int |
UniFieldMutator.read(Component c,
Field f) |
void |
UniFieldMutator.write(int value,
Component c,
Field f) |
Modifier and Type | Method and Description |
---|---|
static Field |
ClassReflection.getDeclaredField(Class c,
String name)
Returns a
Field that represents the specified declared field for the supplied class. |
static Field[] |
ClassReflection.getDeclaredFields(Class c)
Returns an array of
Field objects reflecting all the fields declared by the supplied class. |
static Field |
ClassReflection.getField(Class c,
String name)
Returns a
Field that represents the specified public member field for the supplied class. |
static Field[] |
ClassReflection.getFields(Class c)
Returns an array of
Field containing the public fields of the class represented by the supplied Class. |
Modifier and Type | Method and Description |
---|---|
static boolean |
ReflectionUtil.isGenericType(Field f,
Class<?> mainType,
Class typeParameter) |
Copyright © 2019. All rights reserved.