15 Commits
Author SHA1 Message Date
Rawi01 03fb4cb110 [fixes #3781] Replace inefficient Javadoc Regex 2025-01-28 23:29:09 +01:00
Reinier Zwitserloot d8f7b19071 [tests] This seemingly humongous commit is actually nothing: All test-cases now have @Generated annotations where before they did not. 2024-05-17 03:39:42 +02:00
Rawi01 d4bd359d21 [test] [bugfix] Compare full line instead of ignoring the last character 2020-08-27 23:01:05 +02:00
Reinier Zwitserloot 0b0656ae3c [fixes #2323] javadoc @return generation updated. 2020-01-07 23:29:04 +01:00
Reinier Zwitserloot 9aac454aec fixing tests to account for generation of javax.annotation.Generated and ConstructorProperties being default-off. 2017-12-04 21:41:47 +01:00
Roel Spilker 70f77f928a [i1014] Only add lombok.Generated if it is explicitly turned on 2017-02-09 22:52:38 +01:00
Roel Spilker 9e4292dae4 add @lombok.Generated to generated classes, methods and fields 2017-01-06 01:05:16 +01:00
Reinier Zwitserloot 9cfac4131f The bulk of the effort for a new pretty printer. 2015-11-16 22:18:29 +01:00
Reinier Zwitserloot ed6d1fbb09 When generating javadoc for setters, a @return this is added if needed. 2015-06-01 16:39:10 +02:00
Reinier Zwitserloot a7bd812893 [i623] added eclipse code for generating @javax.annotation.Generated, and refactored java impl to reduce DRY violations. -f pretty now includes skipping generation of this annotation, and updated ALL the test cases. 2015-01-30 15:43:41 +01:00
Roel Spilker 4d24542dac [i660] canEqual is now protected instead of public.
Also fixed the total lack of canEqual in the usage examples.
2014-03-26 21:11:30 +01:00
Roel Spilker 14cc545276 Issue 625: use (even) better primes for hashcodes 2014-01-19 21:49:35 +01:00
Reinier Zwitserloot a40a86ad53 [#625] Instead of '31' as a prime number for hashCode(), use something else. 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. 2014-01-09 21:24:04 +01:00
Roel Spilker 6a02cb4013 [jdk8support] We now handle doc comments internally, alleviating the need to try and keep up with the complete rewrites of the doc comment parser from java6 to java7 to java8. Still doesn't actually work in jdk8, but only because of a last-mile issue. (we communicate the doc comment via compilationUnit.docComments but that changed types in jdk8, we just need to make a wrapper to make that work). 2013-09-09 23:54:28 +02:00
Reinier Zwitserloot 867929c79f added tests for new javadoc behaviour, javac implementation of copying javadoc for getters/setters, and fixed pretty printer to no longer inject an extra newline at the top of javadoc. 2013-07-08 21:20:24 +02:00