aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/messages-ecj
AgeCommit message (Collapse)Author
2018-06-04FieldNameConstants now defaults to having a prefix ‘FIELD_’, which can ↵Reinier Zwitserloot
be configured both on the annotation itself and via a config key. This totally breaks compatibility with the previous lombok release, but, hey, it’s in experimental and it’s been one week. This is better.
2018-04-23Allow onMethod and onParam in @Getter and @Setter if it is put on a typeRoel Spilker
2018-04-17[Fixes #1656] Lombok would silently do the wrong thing when using references ↵Reinier Zwitserloot
to `public static final String` fields, instead of actual string literals, there where you can specify strings in lombok annotation parameters, such as `@ToString(of = MyClass.CONSTANT_FIELD)`. We can’t really fix it, but at least now lombok will error when you do that and describe in detail what’s going wrong.
2018-04-05[fieldNameConstants] code review, docs, tests, fixup.Reinier Zwitserloot
2018-03-20tests updated; a few tests were failing because we removed a few things ↵Reinier Zwitserloot
recently, such as value and builder from experimental.
2018-02-07[var] various upgrades to var:Reinier Zwitserloot
* var is promoted to the main package. * It is no longer an opt-in thing. * bug: var (unlike val) is allowed in old-style for loops, but if you multi-init: for (var i = 0, j="Foo";;), you now get an error that you can't do that. * tests both for the multi-for situation and the new main package variant.
2017-05-16[i1351] Warning on initialized non-final field in Builder was wrongRoel Spilker
2017-03-22Added tests to check warnings/errors emitted by Builder.Default support.Reinier Zwitserloot
2017-03-20Fixing issue #1201: Builder now supports defaults!Reinier Zwitserloot
2017-03-07Fixed issue #778: problems with onX if the annotation to be added has named ↵Reinier Zwitserloot
args.
2016-12-05Fixes #1236: Getter(lazy=true) now emits an error when used on a transient fieldRoel Spilker
2016-11-22`var` can now also be configured to emit a warning when used.Roel Spilker
2016-11-12a initialization of variable like "var o = null;" will throw the compile ↵Bulgakov Alexander
time error "variable initializer is 'null'"
2016-03-07@Helper is now legal in just about every place method local classes are ↵Reinier Zwitserloot
legal. Also now no longer messes up syntax highlighting in eclipse. Still need to investigate how to improve autocomplete presence of helper methods.
2015-11-17add the capability to the testing framework to verify that delombok actually ↵Roel Spilker
also handles the changed flag correctly
2015-10-05[Fixes #807] The NonNull annotation can now be used documentary style on ↵Reinier Zwitserloot
params of abstract methods. The warning has been eliminated.
2015-08-13Added new feature: @Helper including both annotations and tests.Reinier Zwitserloot
2015-03-30A capital/lowercase letter messup in a test file means people on case ↵Reinier Zwitserloot
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-02-04@UtilityClass handlers now more intelligent about inner types of implicitly ↵Reinier Zwitserloot
static contexts (enums, interfaces, and annotation declarations). Also added tests to test for these.
2015-02-02added impl for @UtilityClass.Reinier Zwitserloot
2015-02-01Fixed issues with val in inner classes, and re-enabled a test that caught it ↵Reinier Zwitserloot
that we ignored earlier.
2015-01-30* Added config key ‘lombok.addGeneratedAnnotation’.Reinier Zwitserloot
* Added ‘format’ directive for tests. * Updates tests to salt in some more format and config keys.
2015-01-20added the lombok.singular.auto config option.Reinier Zwitserloot
2015-01-19builder @Singleton now works fully in eclipse as well! feature done!Reinier Zwitserloot
2014-05-27Changed the lombok.nonNull.exceptionType configkey to be an enum, partly to ↵Reinier Zwitserloot
enforce only sensible exceptions and partly to make it possible to have the message be ‘x is null’ when throwing IAEs.
2014-05-23Added confkey to make @NonNull generate a different exception because of the ↵Reinier Zwitserloot
IllegalArgumentException vs. NullPointerException that we really don’t want to get into.
2014-05-21added a test and handler for correctly handling confkey: ↵Reinier Zwitserloot
lombok.delegate.flagUsage.
2014-05-21Added an error if @Delegate is used recursively.Reinier Zwitserloot
2014-05-06added support for different error messages, where either one will mean the ↵Reinier Zwitserloot
tests pass (new versions of javac, ecj, etc sometimes totally change the message).
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-03-04[configuration] Merge branch 'master' as we work on configuration.Reinier Zwitserloot
* 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-02-20Issue 641: @Delegate is incorrectly allowed on static members in javac. Also ↵Roel Spilker
added tests, Reinier.
2014-01-20[test] Missing after-X files used to be an implicit 'just ignore the ↵Reinier Zwitserloot
content' signal; now you need an explicit directive to allow this behaviour. [configuration] added tests for @Accessors configuration key implementations.
2014-01-19[configuration] added facilities to override conf file resolution for test ↵Reinier Zwitserloot
cases, and added first tests to test implementations of configuration-based stuff (FlagUsages, specifically). Error reporter has been refactored.
2013-09-24Fixed slight typo issues with the tests due to merging and icelandic on the ↵Reinier Zwitserloot
fly bug fixing.
2013-09-24Merge branch 'master' into jdk8checkReinier Zwitserloot
Conflicts: src/core/lombok/core/Version.java src/core/lombok/javac/handlers/HandleConstructor.java test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages test/transform/resource/messages-ecj/EqualsAndHashCodeWithSomeExistingMethods.java.messages
2013-09-20Issue 559: NullPointerException when @NonNull is used in abstract methodSander Koning
- Prevent NPE in javac and give a proper warning in both eclipse and javac - Add test cases
2013-09-09Updated unit tests to reflect new double-underscore default for onX. ↵Roel Spilker
(Because single underscore generates warnings in javac8).
2013-08-19Only look at the line number for errors and warnings.Roel Spilker
2013-08-12replaced double underscore as new standard way of writing the dummy ↵Reinier Zwitserloot
annotation for onX instead of single underscore, which emits warnings on javac8+. Also made dollars and Xes legal in addition to underscores, in case double underscore disappears later too.
2013-08-11Oops: didn't realise the text appeared in multiple places.Jan Ouwens
2013-07-16* Fixed issues with @FieldDefaults and @Value (you can NOT overrideReinier Zwitserloot
@Value's final-by-default and private-by-default with it; now appropriate warnings are emitted) * Builder now errors out on presence of most lombok annotations on an explicit builder class. * Builder now takes @FieldDefaults/@Value into account. * Builder on type now generates the constructor as package private instead of private to avoid synthetic accessor constructors. * added a bunch of test cases. * added a test case feature: If the expected file is omitted entirely but there are expected messages, the differences in the output itself are ignored. * streamlined checking for boolean-ness (removed some duplicate code) * added 'fluent' and 'chain' to @Builder.
2013-07-07@Getter(lazy=true) now uses a different, more efficient desugaring. ↵Reinier Zwitserloot
Implementing in javac, ecj still has to be done.
2013-05-31Added @NonNull on parameters feature (issue 514),Reinier Zwitserloot
including docs and changelog.
2013-05-06Fixed issue 513: If equals is present but hashCode isn't, @Data now ↵Reinier Zwitserloot
generates a warning to explain this strange situation.
2013-02-11BIG commit:Reinier Zwitserloot
* re-introduction of onMethod/onConstructor/onParam * tests checking error/warnings rewritten to be more heuristic, in order to accomodate difference in messaging between java6 and java 7 * Ability to eliminate java's own output of erroneous error messages (heh); i.e. those messages that are invalidated by lombok's actions. This mechanism is used for onMethod/onConstructor/onParam * First steps to unifying a billion setGeneratedBy calls into a single visitor traversal for eclipse' HandleGetter/Setter/Constructor/Wither * To simplify 'zooming in' the tests on just a few files, added an 'accept' mechanism. * Updated copyright headers of website to 2013.
2012-10-25The testrunner now uses a different mechanism to verify correctness of ↵Reinier Zwitserloot
produced errors and warnings (i.e. we intentionally compile code with errors in them to verify that the appropriate error or warning message is emitted when lombok is active during a compilation run of either javac or ecj) - instead of string comparisons, it's a little more complex. This to enable testing of both javac6 and javac7, even if they produce (slightly) different error output. Updated all message files in the 'expected output' directories to represent this change.
2012-08-10Added tests for @FieldDefaults and @Value.Reinier Zwitserloot
2012-08-06fully tested the HandleWither impl for eclipse.Reinier Zwitserloot
2012-07-16fixed issue 391: Using 'staticConstructor' on @Data whilst an ↵Reinier Zwitserloot
@XxxArgsConstructor is present means it gets ignored, but until now lombok didn't warn you about this.