| Constructor and Description |
|---|
FieldDictionary() |
FieldDictionary(FieldKeySorter sorter) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Field |
field(java.lang.Class cls,
java.lang.String name,
java.lang.Class definedIn)
Returns an specific field of some class.
|
java.lang.reflect.Field |
fieldOrNull(java.lang.Class cls,
java.lang.String name,
java.lang.Class definedIn)
Returns an specific field of some class.
|
java.util.Iterator |
fieldsFor(java.lang.Class cls)
Returns an iterator for all fields for some class
|
void |
flushCache() |
protected java.lang.Object |
readResolve() |
java.util.Iterator |
serializableFieldsFor(java.lang.Class cls)
Deprecated.
As of 1.3, use
fieldsFor(Class) instead |
public FieldDictionary()
public FieldDictionary(FieldKeySorter sorter)
public java.util.Iterator serializableFieldsFor(java.lang.Class cls)
fieldsFor(Class) insteadcls - the class you are interested onpublic java.util.Iterator fieldsFor(java.lang.Class cls)
cls - the class you are interested onpublic java.lang.reflect.Field field(java.lang.Class cls,
java.lang.String name,
java.lang.Class definedIn)
cls - the class where the field is to be searchedname - the field namedefinedIn - the superclass (or the class itself) of cls where the field was definedObjectAccessException - if no field can be foundpublic java.lang.reflect.Field fieldOrNull(java.lang.Class cls,
java.lang.String name,
java.lang.Class definedIn)
cls - the class where the field is to be searchedname - the field namedefinedIn - the superclass (or the class itself) of cls where the field was definednullpublic void flushCache()
flushCache in interface Cachingprotected java.lang.Object readResolve()
Copyright © 2004–2024 XStream. All rights reserved.