[
https://issues.apache.org/jira/browse/LANG-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16566642#comment-16566642
]
ASF GitHub Bot commented on LANG-1354:
--------------------------------------
GitHub user mdbuck opened a pull request:
https://github.com/apache/commons-lang/pull/339
[LANG-1354] Added Methods to FieldUtils to Return Non-Synthetic Fields From
a Class
I created two new methods as I felt that modifying the existing methods
would break backward compatibility.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mdbuck/commons-lang lang-1354-synthetic_fields
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-lang/pull/339.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #339
----
commit 2fd06307c4b0ee23f2c01f6b6c62292d98f87b62
Author: Michael Buck <mike.buck@...>
Date: 2018-08-02T11:14:22Z
added methods to return non-synthetic fields from a given class and its
parent(s).
----
> FieldUtils should ignore any synthetic fields
> ---------------------------------------------
>
> Key: LANG-1354
> URL: https://issues.apache.org/jira/browse/LANG-1354
> Project: Commons Lang
> Issue Type: Improvement
> Reporter: Yegor Koldov
> Priority: Minor
>
> For my opinion [FieldUtils.getAllFieldsList |
> https://github.com/apache/commons-lang/blob/release/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java#L212]
> should ignore any synthetic fileds (Jacoco for ex.)
> If you agree with that, i could prepaire PR on github
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)