aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
AgeCommit message (Collapse)Author
2021-09-16Merge pull request #2866 from Rawi01/anonymous-inner-classReinier Zwitserloot
Handle anonymous classes properly
2021-09-16Merge pull request #2840 from Rawi01/copy-vartypeReinier Zwitserloot
Also copy vartype.type in TreeMirrorMaker
2021-09-06Replace val with native final var in Java >= 10Rawi01
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-05-14Copy reference types properlyRawi01
2021-05-12[fixes #2420] Copy vartype.typeRawi01
2021-04-22[fixes #2624] Resolve variables in switch expressionsRawi01
2021-04-16[pr 2702] finishing the `@StandardException` feature.Reinier Zwitserloot
* rewritten how it works a bit: Now compatible with parent exceptions that don't have the Throwable variants. * rewritten how it works a bit: You can now provide the full constructor only; the rest will forward to it. * fixing up style. * rewrite the docs.
2021-04-01[fixes #2787] Handle right hand side of assignment firstRawi01
2021-03-24Merge pull request #2687 from janrieke/superBuilderConfigBuilderClassNameReinier Zwitserloot
SuperBuilder: consider lombok.builder.className for builder extends clause
2021-03-24[records] [`@NonNull`] eclipse impl onfthe `@NonNull` on record components ↵Reinier Zwitserloot
feature. All tests passing.
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-21[testing] fixed an error (I probably introduced this in the typofix earlier) ↵Reinier Zwitserloot
in a test file.
2021-03-21Merge pull request #2725 from md-5/masterReinier Zwitserloot
[fixes #2724] Increase priority of Builder annotation removal
2021-03-21[trivial] [typofix]Reinier Zwitserloot
2021-03-21Merge pull request #2772 from janrieke/superBuilderNPEwithSingularReinier Zwitserloot
[fixes #2701] fix NPE on customized SuperBuilder with Singular
2021-03-21Merge pull request #2770 from janrieke/superBuilderNPEinConstructorExistsReinier Zwitserloot
[fixes #2704] SuperBuilder: avoid NPE on existing constructors
2021-03-20[fixes #2724] Increase priority of Builder annotation removalmd_5
Otherwise they may run after `HandleDelegate`. This is problematic as `HandleDelegate` parses the compulation unit and `@Builder` may contain imports (eg `AccessLevel`) that were already removed by other processors, eg `@Getter`.
2021-03-19[jdk16] Suddenly, Stream has a default method toList :-)Roel Spilker
2021-03-14[testing] `ant test.javac6` now passes. yay.Reinier Zwitserloot
2021-03-13[superbuilder] toBuilder + singular + javac6 was brokenReinier Zwitserloot
superbuilder generated the node `x.pluralName(plural == null ? Collections.emptyList() : plural)`. java6 is not smart enough to infer the appropriate generics for the emptyList() call. Fixed by always specifying the needed type explicitly: Collections.<String>emptyList();
2021-03-13[trivial] just fixing line endings - no other changesReinier Zwitserloot
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.
2021-03-12[fixes #2701] fix NPE on customized SuperBuilder with SingularJan Rieke
2021-03-12[fixes #2704] SuperBuilder: avoid NPE on existing constructorsJan Rieke
2021-03-04Merge pull request #2754 from Rawi01/npe-nonStaticAccessReinier Zwitserloot
Save problem handler state for postponed error handling
2021-02-17[fixes #2752] Save problem handler state for postponed error handlingRawi01
2021-02-07[fixes #2741] Handle inner method invocations firstRawi01
2021-02-04Merge pull request #2719 from Rawi01/superbuilder-initializer-npeReinier Zwitserloot
SuperBuilder now skips initializers while gathering types
2021-02-04Merge pull request #2733 from Rawi01/checker-superbuilderReinier Zwitserloot
Add missing checker annotations in SuperBuilder
2021-01-31[fixes #1064] Only show super()-warning if lombok generates a methodRawi01
2021-01-31[fixes #2692] Add missing checker annotations in SuperBuilderRawi01
2021-01-21[fixes #2716] SuperBuilder now skips initializers while gathering typesRawi01
2021-01-14[fixes #2443] Remove multiline Javadoc tagsRawi01
2021-01-01Do not lose generic arguments when adding annotations #2689Mattias Grönlund
2020-12-30[fixes #2647] consider lombok.builder.className for builder extendsJan Rieke
2020-12-21[fixes #2682] Fix NPE, always add Javadoc return statementRawi01
2020-12-20[tests] Support javadoc in ecj testsRawi01
2020-12-10Merge pull request #2658 from Rawi01/extension-method-genericReinier Zwitserloot
Reset inference context for extension methods
2020-12-03[fixes #2657] Use the correct field to query parent type parametersRawi01
2020-11-25[fixes #2648] Reset inference context, remove generic information copyRawi01
In Java >= 8 ecj uses the inference context to resolve the generic information. This one is already set before lombok tries rewrite the method call. Simply copying the information does not cover all the different cases but reseting the inference contexts and running type inference again does.
2020-10-04The Object Construction Checker has been renamed the Called Methods CheckerMichael Ernst
2020-10-03Merge remote-tracking branch 'origin/master'Reinier Zwitserloot
# Conflicts: # src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java
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-10-03Untangling patches to classes that only exist in eclipse, not ecjReinier Zwitserloot
Specifically, Rawi01's patches to make javadoc behaviour in eclipse better, which cannot be applied to ecj as you get load errors (javadoc not a thing there). As part of this commit, tests can be limited to ecj or eclipse, and I made cut-down versions of a few tests (to run on ecj, as the main one cannot be, due to javadoc issues). The tests now marked as eclipse only don't fail on ecj, but they don't generate the same result. Alternatively, we could go with a separated out after-ecj and after-eclipse dir instead, but that's perhaps going overboard.
2020-09-25Cache hashCode:Roel Spilker
- Fix bug where 0 would be returned once - Fix Eclipse position error - Don't initialize field with default value 0
2020-09-24Allow non-final types, use Integer.MIN_VALUEAndre Brait
Allow caching hash code for non-final classes (but will warn) Use Integer.MIN_VALUE to differentiate uncached and 0 cached
2020-09-24Finish implementation, add testsAndre Brait
2020-09-24Eclipse impl and testsAndre Brait