Community
Participate
Working Groups
Example: --------- Xtend ------------- @Data class Foo { String foo def hashCode(int foo) { } def toString(String xxx) {} def equals(Object o1, Object o2) {} def getFoo(String x) {} def setFoo(String x, String y) {} } ----------------------------- ------------ generated Java ------------ package bar; import org.eclipse.xtend.lib.Data; @Data @SuppressWarnings("all") public class Foo { private final String _foo; public Object hashCode(final int foo) { return null; } public Object toString(final String xxx) { return null; } public Object equals(final Object o1, final Object o2) { return null; } public Object getFoo(final String x) { return null; } public Object setFoo(final String x, final String y) { return null; } public Foo(final String foo) { super(); this._foo = foo; } } ------------------------------- Expected behavior: Non of the auto-generated methods should be suppressed by the member methods from the Xtend file since their signatures doesn't match completely.
Fixed in the new AA-based implementation
Fixed in both @Data annotations.