public class CachedClass extends Object
InjectionCache
,
and can be retrieved with InjectionCache.getCachedClass(Class)
.Modifier and Type | Field and Description |
---|---|
Field[] |
allFields
All fields relevant for the class.
|
Class<?> |
clazz
The class that this CachedClass represents.
|
boolean |
failOnNull
Cached value of
Wire.failOnNull() |
boolean |
injectInherited
Cached value of
Wire.injectInherited() |
Wire |
wireAnnotation
The
Wire annotation for this class (at class level). |
WireType |
wireType
If the class is annotated with
Wire , this will have the type WireType.WIRE , otherwise it will be
WireType.IGNORED . |
Constructor and Description |
---|
CachedClass(Class<?> clazz) |
public Class<?> clazz
public Field[] allFields
Wire
annotation has injectInherited
set to true, this array will contain ALL declared fields for this class and superclasses.
If injectInherited is false, only the declared fields for clazz
will be cached here.public Wire wireAnnotation
public boolean injectInherited
Wire.injectInherited()
public boolean failOnNull
Wire.failOnNull()
public WireType wireType
Wire
, this will have the type WireType.WIRE
, otherwise it will be
WireType.IGNORED
.public CachedClass(Class<?> clazz)
Copyright © 2019. All rights reserved.