commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
Subject [jira] Commented: (LANG-332) EqualsBuilder to alternatively use method properties
Date Sun, 01 Mar 2009 21:25:12 GMT


Henri Yandell commented on LANG-332:

+1, I'd like this too. 

> EqualsBuilder to alternatively use method properties
> ----------------------------------------------------
>                 Key: LANG-332
>                 URL:
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Paul Benedict
>             Fix For: 3.0
> 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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message