Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.3
-
None
Description
While it is very nice reflection can be used to build a nice equals method, the strategy to focus on private properties is non-negotiable. This strategy is incompatible with CGLIB proxies which rely on method invocations to delegate to the properties of the inner target. I would prefer a switch to dynamically invoke public get* methods over direct property access.
PS: Same thoughts on ReflectionToStringBuilder and HashCodeBuilder