![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Affects Versions:
|
1.4.4 |
|
Assignee:
|
Jörg Schaible
|
|
Components:
|
Core |
|
Created:
|
26/Feb/13 2:14 PM
|
|
Description:
|
In Jenkin's custom ReflectionConverter implementation, we'd like to read into transient fields (for backward compatibility when evolving classes) without writing transient fields.
To do this, we check if the field is defined in a given class. To do this efficiently, we created {{ReflectionProvider.getFieldOrNull(Class definedIn, String fieldName)}.
This method works like getField except that instead of throwing an exception (which is costly performance-wise), it returns null.
Note that this method defers from the fieldDefinedInClass method in that it still finds fields that are marked transient.
|
|
Project:
|
XStream
|
|
Priority:
|
Major
|
|
Reporter:
|
Kohsuke Kawaguchi
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email