aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/messages-delombok
AgeCommit message (Collapse)Author
2021-10-22[fixes #2985] Resolve var/val only once in eclipseRawi01
2021-06-03[fixes #2838] Handle anonymous classes properlyRawi01
Generated qualified names (e.g. Outer.Inner) now stop at anonymous classes instead of adding an empty part. All handlers that add static fields/methods/types now add error messages instead of generating invalid code.
2021-03-22[deps] pushing ASM to 9.1, and ASM opcode compat levels to ASM9, as we need ↵Reinier Zwitserloot
the support for records
2021-03-22Merge branch 'records'Reinier Zwitserloot
# Conflicts: # src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java # src/core/lombok/eclipse/handlers/HandleBuilder.java # src/core/lombok/eclipse/handlers/HandleData.java # src/core/lombok/eclipse/handlers/HandleNonNull.java # src/core/lombok/eclipse/handlers/HandleSuperBuilder.java # src/core/lombok/javac/handlers/HandleBuilder.java # src/core/lombok/javac/handlers/HandleNonNull.java # src/core/lombok/javac/handlers/HandleSuperBuilder.java # test/core/src/lombok/RunTestsViaEcj.java
2021-03-13[test] work in progress: Make test.javac6 pass all tests.Reinier Zwitserloot
The `test.javac6` job causes a ton of errors because many tests use java8+ features. Marking them off as java8+ targeted only.
2020-10-03[builder] big refactor: Fixing CheckerFramework features + all params now in ↵Reinier Zwitserloot
an object These handlers had methods with humongous argument lists, and they needed to grow even more in order to accommodate some new needs to properly implement checkerframework (where annos can be type-use based, which means they were being put in the wrong place. void foo(com.foo.@X Bar paramName) // correct void foo(@X com.foo.Bar paramName) // wrong For example, the CalledMethod annotation is a type-use annotation. This commit covers both that refactor and fixing checkerframework generation.
2020-09-10Add record supportRawi01
2020-08-31Merge branch 'master' into extensionmethodRawi01
Conflicts: build.xml
2020-07-02[fixes #2469] Support static reference as logger topicRawi01
2020-04-23Added tests for ExtensionMethodRawi01
2020-03-03@Jacksonized: modify builders that they can be used by JacksonJan Rieke
2020-02-14[fixes #678] `@Synchronize` an instance method on static variable no longer ↵Reinier Zwitserloot
emits a warning.
2020-01-28[issue #2221] [issue #788] Lombok now adds nullity annotations.Reinier Zwitserloot
Which 'flavour' is defined in lombok.config; applied to toString, equals, canEqual, and plural-form of `@Singular`.
2020-01-08[fixes #788] lombok generated equals method plus a non-null-by-default ↵Reinier Zwitserloot
annotation no longer clash.
2019-09-19Fix more copy/paste test errorsCaleb Brinkman
2019-08-27[With] renaming lombok.experimental.Wither to lombok.experimental.WithReinier Zwitserloot
2019-08-22[checkerframework]Reinier Zwitserloot
A bit of a shadow feature because the checker framework folks need to do some work on their side. this update makes lombok generate a few checker framework annotations (if configured to do so) which let the checker framework add warnings and errors for example if you misuse builders, or ignore the return values of withers, etc.
2019-05-14Custom log declarationAdam Juraszek
2019-03-25[fixes #2046] you can now suppress the builder() method, useful if you only ↵Reinier Zwitserloot
want toBuilder(). Also suppresses the warnings about any missing Builder.Default annotations.
2019-01-14[i1996] add test for warnings on non-existing fieldsRoel Spilker
2018-07-29code impl of FieldNameConstants rewrite + test updates for itReinier Zwitserloot
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-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-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
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.