forge/java-parser — pull request #5 by VineetReynolds (2013-07-09 20:05:31+00:00)
Title: FORGE-1005 Modified equals/hashcode generators to consider inheritance hierarchies.

The generator now includes a delegation to super.hashCode() and super.equals() when a super class not of type Object is detected for the provided class.

Additionally, bugs in the earlier equals generator were fixed. The equals method no longer returns immediately when the first field is equal. Additionally, instanceof is used to verify that the Class instances are equal to account for subclasses, thereby ensuring that proxied instances are also equal.