public class CachedField extends Object
Wire
annotation of the field.
CachedField is typically managed by InjectionCache
,
and can be retrieved with InjectionCache.getCachedField(Field)
.
Modifier and Type | Field and Description |
---|---|
boolean |
failOnNull |
Field |
field
The field this class represents.
|
String |
name
If the field is annotated with
Wire , this will contain the cached value of
Wire.name() . |
WireType |
wireType
WireType.WIRE if the field is annotated with Wire ,
WireType.SKIPWIRE if the field is annotated with com.artemis.annotations.SkipWire),
{@link WireType#IGNORED} otherwise. |
Constructor and Description |
---|
CachedField(Field field,
WireType wireType,
String name,
boolean failOnNull) |
public final Field field
public final WireType wireType
WireType.WIRE
if the field is annotated with Wire
,
WireType.SKIPWIRE
if the field is annotated with com.artemis.annotations.SkipWire),
{@link WireType#IGNORED} otherwise.public final String name
Wire
, this will contain the cached value of
Wire.name()
.public final boolean failOnNull
Copyright © 2019. All rights reserved.