Looking in the link of the duplicate question I read @user598656 answer and suggest to use MeanBeans (Automated java bean tester)
Reading the documentation I found this feature.
5.2.7. Property!Significance!Test!Algorithm! The property significance test algorithm is as follows:
for each property in public getter/setter method pairs do
create instance of class under test, object x
create instance of class under test, object y
change property of y to contain a different value
if property is insignificant then
assert x.equals(y)
else
assert x.equals(y) is false
end if
end for
It is what I was looking for, the answer is the last one but in my opinion this fit my needs.