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
Reinier Zwitserloot
7079271802
thoroughly updated the launch targets for testing lombok in eclipse;
...
they should now be able to handle running JDK8 etc tests.
CAREFUL: You MUST name your JDK8 'JavaSE-1.8' or it won't work.
Also added a basic test for JDK8 features.
2014-05-04 10:33:55 +02:00
Christian Sterzl
f93478e7b5
Fixed tests, added test for ecj.
2014-04-03 14:10:31 +02:00
Christian Sterzl
3d32cd85f1
Adding onParam to annotation @EqualsAndHashCode to add individual annotations to the parameters of equals and canEqual.
2014-04-03 08:11:16 +02:00
Roel Spilker
d41ef4bf83
[i659] suppression of @ConstructorProperties should use config instead. Also modified all onX examples to use two underscores.
2014-03-26 22:33:00 +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
Reinier Zwitserloot
f956ba1e33
[configuration] Merge branch 'master' as we work on configuration.
...
* Conflict due to adding topic() feature to logger in master, and 'field name' feature in config branch.
* master has since updated to shiny new eclipse dep versions and the 'ant eclipseForDebugging' feature, but this branch added deps. Addressed that.
* Renamed 'loggerCategory' to 'loggerTopic'. I know, that wasn't exactly right to do in a merge, but, there you have it.
* Test infrastructure changed in configuration branch, and tests had been added in master branch.
Conflicts:
build.xml
buildScripts/ivy.xml
src/core/lombok/eclipse/handlers/HandleLog.java
src/core/lombok/extern/apachecommons/CommonsLog.java
src/core/lombok/extern/java/Log.java
src/core/lombok/extern/log4j/Log4j.java
src/core/lombok/extern/log4j/Log4j2.java
src/core/lombok/javac/handlers/HandleLog.java
test/transform/resource/after-ecj/ValInTryWithResources.java
2014-03-04 23:16:49 +01:00
Roel Spilker
4372aedbd0
Issue 641: @Delegate is incorrectly allowed on static members in javac. Also added tests, Reinier.
2014-02-20 23:08:37 +01:00
Reinier Zwitserloot
d78135180c
[deps] Updated eclipse deps to 3.9 tree. This also enables testing java7 features on ecj.
...
[Log] updated naming for @Log (topic= instead of mchmulder's 'value').
2014-02-10 21:56:35 +01:00
Maarten Mulders
c0e00edb7b
Handler and testcases for @XSlf4j
2014-02-08 20:35:56 +01:00
Maarten Mulders
1045006fa9
Handler and testcases for @Log4j2
2014-02-08 20:24:23 +01:00
Maarten Mulders
ebc9ee5f6d
Handler and testcases for @Log4j
2014-02-08 15:38:54 +01:00
Maarten Mulders
e1153c1656
Handler and testcases for @Log
2014-02-08 15:18:30 +01:00
Maarten Mulders
f13191e02c
Handlers and testcases for @CommonsLog
2014-02-08 15:18:30 +01:00
Maarten Mulders
c38a64a556
Handlers and testcases for @Slf4j
2014-02-08 15:18:23 +01:00
Roel Spilker
e557413336
[configuration] Added the configuration keys lombok.ToString.doNotUseGetters and lombok.ToString.includeFieldNames
2014-02-06 23:30:32 +01:00