Commit Graph
199 Commits
Author SHA1 Message Date
Reinier Zwitserloot 9cfac4131f The bulk of the effort for a new pretty printer. 2015-11-16 22:18:29 +01:00
Roel Spilker 30cfbcf9e4 Add tests for @EqualsAndHashCode for the attributes of and exclude 2015-10-26 22:21:16 +01:00
Reinier Zwitserloot 9d8c4e4099 New feature: FieldDefaults can now be configured to apply to _every_ file, regardless of annotations. 2015-10-06 00:25:32 +02:00
Reinier Zwitserloot b4d69f5cb8 Belated addendum to previous commit: The tests for @NonNull on parameters of default methods should be restricted to java8+ 2015-10-06 00:15:16 +02:00
Reinier Zwitserloot e94a5f9ee3 [Fixes #807] The NonNull annotation can now be used documentary style on params of abstract methods. The warning has been eliminated. 2015-10-05 21:58:00 +02:00
Roel Spilker 9fbc226e09 [Closes #928] @Value no longer makes uninitialized static fields final 2015-09-24 00:28:57 +02:00
Reinier Zwitserloot 62877ecdb2 Merge branch 'force'
Conflicts:
	doc/changelog.markdown
	src/core/lombok/eclipse/handlers/HandleBuilder.java
2015-08-16 02:42:43 +02:00
Reinier Zwitserloot 059d2b5304 Merge branch 'builderClone'
Conflicts:
	doc/changelog.markdown
2015-08-16 02:39:13 +02:00
Reinier Zwitserloot aad0666ef2 Added new feature: @Helper including both annotations and tests. 2015-08-13 14:11:00 +01:00
Reinier Zwitserloot fd1d18a299 Support for @NoArgsConstructor(force = true). 2015-07-22 04:40:19 +02:00
Reinier Zwitserloot f38811779b added javac impl of toBuilder along with test file. 2015-07-20 22:39:35 +02:00
Reinier Zwitserloot e2289ef200 added testcase for ecj version of @Builder(toBuilder=true) 2015-07-17 10:48:10 +02:00
Reinier Zwitserloot a17d1fc13d eclipse impl for @Builder(toBuilder=true) 2015-07-17 00:09:27 +02:00
Reinier Zwitserloot 251fd03cd7 The hashCode() method now generates a magic prime instead of 0 for the hash of null values; this reduces collisions. 2015-06-25 00:13:12 +02: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 de816ebbcd [i804] @UtilityClass fails to properly initialize fields (which @UtilityClass makes static) with initializers, in eclipse.
also updates the changelog more generally, it was lacking some recent work.
2015-04-14 21:54:04 +02:00
Reinier Zwitserloot fa38498f79 A capital/lowercase letter messup in a test file means people on case sensitive file systems had problems running tests. Fixed it by renaming the whole file, as I know renames on case INsensitive file systems to fix capitalization usually doesn’t work well either. 2015-03-30 22:01:14 +02:00
Reinier Zwitserloot 32edc18b0e updates tests to reflect that fields in builders now get gen/suppress annotations. 2015-02-10 23:00:29 +01:00
Reinier Zwitserloot 58a7914027 @UtilityClass handlers now more intelligent about inner types of implicitly static contexts (enums, interfaces, and annotation declarations). Also added tests to test for these. 2015-02-04 00:08:48 +01:00
Reinier Zwitserloot d8da2b9438 added impl for @UtilityClass. 2015-02-02 04:52:20 +01:00
Reinier Zwitserloot 209654f19e [i702] findbugs suppress warnings now available via config key. 2015-02-02 00:17:51 +01:00
Reinier Zwitserloot e5860edabe Fixed issues with val in inner classes, and re-enabled a test that caught it that we ignored earlier. 2015-02-01 06:53:10 +01:00
Reinier Zwitserloot ef1f4e6404 added unit tests that confirmed break before the i694 fix and work afterwards. 2015-01-31 04:46:57 +01:00
Reinier Zwitserloot e5705f94cd * Added config key ‘lombok.addGeneratedAnnotation’.
* Added ‘format’ directive for tests.
* Updates tests to salt in some more format and config keys.
2015-01-30 18:17:00 +01: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
Reinier Zwitserloot 30beb498ca optimized the creation for singular lists/collections. 2015-01-26 13:52:50 +01:00
Reinier Zwitserloot cd139f4635 [@Singular @Builder] Our recipe for guava builders did not work in javac 1.7 and below; fixed. 2015-01-21 01:11:26 +01:00
Reinier Zwitserloot f153f1cda3 Merge the @Singular feature and the fix for ecj and the shadowloader. 2015-01-20 22:37:46 +01:00
Reinier Zwitserloot 19de8fbe47 brainfarted ‘singleton’ where I meant ‘singular’ in all the test files. Whoops! 2015-01-20 22:24:40 +01:00
Reinier Zwitserloot f071339508 added the lombok.singular.auto config option. 2015-01-20 22:17:18 +01:00
Reinier Zwitserloot 5b4ab9dae8 added the ‘always use guava’ lombok.config option for @Singular @Builder. 2015-01-20 15:01:30 +01:00
Reinier Zwitserloot 519f95c241 builder @Singleton now works fully in eclipse as well! feature done! 2015-01-19 23:39:40 +01:00
Reinier Zwitserloot 06f3629803 added j.u.List support for eclipse for @Singular @Builder. 2015-01-16 03:27:05 +01:00
Reinier Zwitserloot a05360a8ea ecj @Builder @Singular support for j.u. sets and maps. 2015-01-15 04:43:36 +01:00
Reinier Zwitserloot d700d54ed6 added singleton builder support for javac: guava maps. 2015-01-12 05:59:20 +01:00
Reinier Zwitserloot 65b97f74af added singleton builder support for javac: guava lists and sets. 2015-01-12 05:27:04 +01:00
Reinier Zwitserloot acd0097662 added singleton builder support for javac: java.util lists 2015-01-12 05:26:24 +01:00
Reinier Zwitserloot 6894fa31e8 Set @Singularize code for javac improved, Map @Singularize added. 2015-01-11 22:38:22 +01:00
Reinier Zwitserloot 4618097d98 @Singleton for j.u.Sets works in javac. 2015-01-05 05:39:35 +01:00
Roel Spilker 091f6ee83a [issue #759] delombok now plays nicely with exotic characters, encodings, and backslash U escapes. 2014-12-10 00:04:31 +01:00
Maaartin Grajcar 8f7c2aa7a2 Implement Tolerate. 2014-05-31 18:24:22 +02:00
Reinier Zwitserloot 713822db98 Changed the lombok.nonNull.exceptionType configkey to be an enum, partly to enforce only sensible exceptions and partly to make it possible to have the message be ‘x is null’ when throwing IAEs. 2014-05-27 20:29:54 +02:00
Reinier Zwitserloot 4b878f9ba9 Added confkey to make @NonNull generate a different exception because of the IllegalArgumentException vs. NullPointerException that we really don’t want to get into. 2014-05-23 04:07:39 +02:00
Reinier Zwitserloot c002c0b3c7 added a test and handler for correctly handling confkey: lombok.delegate.flagUsage. 2014-05-21 01:55:54 +02:00
Reinier Zwitserloot 8cfa421ce5 Added an error if @Delegate is used recursively. 2014-05-21 01:44:45 +02:00
Roel Spilker 293653e2ff Added test for issue 361. It is currently ignored. 2014-05-08 01:15:57 +02:00
Roel Spilker 22c5e0daaf [java8] Added tests for using java language features in transformations. 2014-05-08 01:14:06 +02:00
Reinier Zwitserloot 844995fc60 All tests now succeed on all platforms again;
'optional' expected messages added.
expanded some tests.
Added a check if the bootclasspath supports a certain version, i.e. don't try to run a JDK7-only test if AutoClosable isn't available.
2014-05-08 00:39:59 +02:00
Reinier Zwitserloot 5c3adb7737 LoggerSlf4jOnNonType test just cares about error messages, so now the actual source output is just ignored as irrelevant. 2014-05-06 18:44:08 +02:00
Reinier Zwitserloot e53d93b7ce added support for different error messages, where either one will mean the tests pass (new versions of javac, ecj, etc sometimes totally change the message). 2014-05-06 18:43:24 +02:00