java.lang.Object |
↳ |
com.thoughtworks.xstream.converters.reflection.ReflectionProviderWrapper |
Class Overview
A wrapper implementation for the ReflectionProvider.
Fields
Public Constructors
Public Methods
public
boolean
fieldDefinedInClass
(String fieldName, Class type)
public
Field
getField
(Class definedIn, String fieldName)
Returns a field defined in some class.
Parameters
definedIn
| class where the field was defined |
fieldName
| field name |
public
Object
newInstance
(Class type)
Creates a new instance of the specified type. It is in the responsibility
of the implementation how such an instance is created.
Parameters
type
| the type to instantiate |
Returns
- a new instance of this type