aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
AgeCommit message (Collapse)Author
2022-01-14Fix for defaulting behaviour for lombok annotations.Reinier Zwitserloot
What's the name of one of those bugs where you look at it and go: Wow. This can never have possibly worked? And yet it has? An inverse heisenbug: Once observed, it has always existed, but before observing it, no problems. Anyway, fixed. For what it's worth.
2022-01-09[fixes #3081] make CheckerFramework's This a type annotationJan Rieke
2022-01-07[fixes #2908] don't generate checkerframework's @NotCalledMethodsJan Rieke
2021-12-30[fixes #3070] fix guava type name for SuperBuilder's toBuilderJan Rieke
2021-12-21[fixes #2849] Make ToString's onlyExplicitlyIncluded a config key.Reinier Zwitserloot
2021-12-12[fixes #3040] Support array initializer in onXRawi01
2021-10-26[fixes #3014] Detecting whether inner classes are static wouldn't work if ↵Reinier Zwitserloot
placed inside an enum or interface.
2021-10-22[fixes #2995] Skip records for field defaults via configRawi01
2021-10-18[#2693] Review and updates for javabeans-style capitalization lombok.configReinier Zwitserloot
2021-09-28Support javadoc copying in ecj language serverRawi01
2021-09-27[fixes #2972] Use simple type, move code to patch methodRawi01
2021-09-16Merge pull request #2866 from Rawi01/anonymous-inner-classReinier Zwitserloot
Handle anonymous classes properly
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-04-27Fix @CustomLog-key in lombok.config for some error messages. Issue #2821MOUYSSET Florent
2021-04-23Change owner lombok GitHub repositoryRoel Spilker
2021-04-18Merge pull request #2809 from Rawi01/eclipse-javadoc-performanceReinier Zwitserloot
Avoid reading file from disk by reusing the parser source
2021-04-18[StandardException] generate an error if the annotation is on a class that ↵Reinier Zwitserloot
extends nothing.
2021-04-16[trivial]Reinier Zwitserloot
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-06Avoid reading file from disk by reusing the parser sourceRawi01
2021-03-24@StandardException feature working draftttzn
* move feature under experimental * replace ProviderFor with Provides * add doc material (to be completed) * add author
2021-03-24@StandardException feature working draftttzn
* annotation with javac and Eclipse handlers * single test file
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-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-21Merge pull request #2770 from janrieke/superBuilderNPEinConstructorExistsReinier Zwitserloot
[fixes #2704] SuperBuilder: avoid NPE on existing constructors
2021-03-16[build] sped up the build considerable.Reinier Zwitserloot
We used to use the mango SPI processor, but this had two major issues: * ecj wouldn't run annotation processors, requiring a separate proc:only compile run with javac * mangoSPI couldn't do incremental compilation, so this required a full rebuild just to generate SPI files, every time. Addressed by updating to IPP40 which does support explicit annotation processors even for ecj, and adding our own SPI generating annotation processor to the build which can deal with incrementals. There are some limits; removing a `@Provides` annotation on an existing type will need a full clean to pick that up, for example. These limits seem quite exotic, though.
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] style and removing unused importsReinier Zwitserloot
2021-03-12rename method; use null instead of empty string [eclipse]Jan Rieke
2021-03-12rename method; use null instead of empty stringJan Rieke
2021-03-12[fixes #2704] SuperBuilder: avoid NPE on existing constructorsJan Rieke
2021-02-25[fixes #2756] Mark generated UtilityClass constructor as generatedRawi01
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
2020-12-30[fixes #2647] consider lombok.builder.className for builder extendsJan Rieke
2020-12-27Merge pull request #2684 from Rawi01/npe-javadocReinier Zwitserloot
Fix NullPointerException during Javadoc copy
2020-12-23[refactor] Replace duplicate code with new method, add null checkRawi01
2020-12-21[fixes #2682] Fix NPE, always add Javadoc return statementRawi01
2020-12-20[tests] Support javadoc in ecj testsRawi01
2020-11-13[refactor] reflection code streamlined by sending it through the Permit classReinier Zwitserloot
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