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
ef60d1af00
* Fixed running ecj tests within eclipse
2015-01-21 01:10:50 +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
Reinier Zwitserloot
f180ab3c17
[wip] @Singular support.
2015-01-03 23:48:49 +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
57c92478a9
[trivial] removed possible warning in eclipse.
2014-05-22 19:36:21 +02:00
Roel Spilker
b8e33669cb
Suppressed warning about 'ignoreAllErrors()' that was added to IErrorHandlingPolicy in a more recent ecj editions
2014-05-21 22:00:04 +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
Roel Spilker
e890428077
[java8] Support in delombok for default methods in interfaces
2014-05-01 22:13:10 +02:00
Roel Spilker
c7bfba873e
[java8] Support in delombok for method references.
2014-05-01 21:42:38 +02:00
Reinier Zwitserloot
4cfb4b37ad
some pretty significant changes to the build system, to try and add testing against ecj8 to the lineup, and to force compilation with the bootstrap classpath of JDK6 so that we won't accidentally add deps on things that JVM6es don't have.
2014-05-01 00:08:52 +02:00
Roel Spilker
fd1a9d7c09
[java8] Support in delombok for intersection typecast and lambdas
2014-05-01 00:06:22 +02:00
Roel Spilker
2a449eee23
[test harness] Java 7+ tests would not be triggered using java 8
2014-05-01 00:06:21 +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
Reinier Zwitserloot
e0c5f30012
[ #655 ] Added a test for the post compiler. It indeed fails in JDK8 now due to an ASM version that doesn't understand java 8 class files.
2014-04-02 00:59:08 +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