Closed arolfes closed 9 years ago
Fixed in latest snapshot (1.2.0.201412272210)
When you select the getter option in the preferencePage it uses getter methods when existing, otherwise it uses the field directly...
see testcase results https://sourceforge.net/p/guavaeclipse/GuavaEclipseHelper/ci/master/tree/GuavaEclipseSwtBotTest/src/main/resources/equalsHashCodeResults/Expected_EqualsHashCode_Getter.txt
A well known pattern says to not use direct member access in equals/hashCode if you are using Hibernate with lazy loading, as proxy members may not be directly available. Instead, an option to use the field getters in hashCode and equals would make this plug-in more versatile