| java.lang.Object com.thoughtworks.xstream.converters.reflection.FieldDictionary
FieldDictionary | public class FieldDictionary (Code) | | A field dictionary instance caches information about classes fields.
author: Joe Walnes author: Jörg Schaible author: Guilherme Silveira |
FieldDictionary | public FieldDictionary()(Code) | | |
field | public Field field(Class cls, String name, Class definedIn)(Code) | | Returns an specific field of some class. If definedIn is null, it searches for the field
named 'name' inside the class cls. If definedIn is different than null, tries to find the
specified field name in the specified class cls which should be defined in class
definedIn (either equals cls or a one of it's superclasses)
Parameters: cls - the class where the field is to be searched Parameters: name - the field name Parameters: definedIn - the superclass (or the class itself) of cls where the field was defined the field itself |
fieldsFor | public Iterator fieldsFor(Class cls)(Code) | | Returns an iterator for all fields for some class
Parameters: cls - the class you are interested on an iterator for its fields |
|
|