aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/DataWithGetter.java
AgeCommit message (Collapse)Author
2018-06-04Make `extraPrivate` opt-in instead of opt-out. Fixes #1708Roel Spilker
2018-05-28Generate default no-args constructorRoel Spilker
2017-12-04fixing tests to account for generation of javax.annotation.Generated and ↵Reinier Zwitserloot
ConstructorProperties being default-off.
2017-02-09[i1014] Only add lombok.Generated if it is explicitly turned onRoel Spilker
2017-01-06add `@lombok.Generated` to generated classes, methods and fieldsRoel Spilker
2015-11-16The bulk of the effort for a new pretty printer.Reinier Zwitserloot
2015-06-25The hashCode() method now generates a magic prime instead of 0 for the hash ↵Reinier Zwitserloot
of null values; this reduces collisions.
2015-01-30[i623] added eclipse code for generating @javax.annotation.Generated, and ↵Reinier Zwitserloot
refactored java impl to reduce DRY violations. -f pretty now includes skipping generation of this annotation, and updated ALL the test cases.
2014-03-26[i660] canEqual is now protected instead of public.Roel Spilker
Also fixed the total lack of canEqual in the usage examples.
2014-01-19Issue 625: use (even) better primes for hashcodesRoel Spilker
2014-01-09[#625] Instead of '31' as a prime number for hashCode(), use something else. ↵Reinier Zwitserloot
31, probably owing to its inclusion in Effective Java, is overused, as proven by Maaartinus in issue 625. Switching to 277 instead. Also, 1231/1237 pair used for booleans has been replaced by 2591/2609.
2012-04-29Issue 366: don't call the getter twice, fixed for javac.Roel Spilker
2011-01-17Some of the tests weren't succeeding (and haven't for a while now) since ↵Reinier Zwitserloot
fixing the bug where lombok will call equals(SomeSpecificType) instead of equals(Object) from data. This commit rectifies this by updating the tests.
2010-11-08Added support for canEquals in javacRoel Spilker
2010-07-22toString(), equals(), and hashCode() now use getX() instead of x if either ↵Reinier Zwitserloot
it exists OR it will be generated by some other lombok annotation, addressing issue #110. code deduplication by removing HandleData's scanning for fields, which is now no longer done; the sub-parts of Data (Getter, Setter, RequiredArgsConstructor, etc) take care of it now. fix for class-level @Getter/@Setter, which used to go for every field. Now they skip the usual fields (static, for setters final, and $ prefixed fields). Bugfix for @Data not recognizing that it should let field-level @Getter/@Setter take care of generating the getter/setter for multi field declarations (@Getter int x, y);
2010-07-22Added more tests, one of which tests usage of .getX() in toString, equals, ↵Reinier Zwitserloot
and hashCode, which isn't fully working yet, so this test still fails.