aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac
AgeCommit message (Collapse)Author
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-23[records] [javac] Putting `@NonNull` on a 'field' of a record now affects ↵Reinier Zwitserloot
the compact constructors, generating one if need be.
2021-03-22[javac] defer removal of `import lombok.x;` nodes until delombokReinier Zwitserloot
Our test harness setup for JDK15 and up doesn't work with annotations on record 'fields' (`record X(@RightHere String foo)`).
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 #2725 from md-5/masterReinier Zwitserloot
[fixes #2724] Increase priority of Builder annotation removal
2021-03-21Merge pull request #2772 from janrieke/superBuilderNPEwithSingularReinier Zwitserloot
[fixes #2701] fix NPE on customized SuperBuilder with Singular
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] fix delombok (and the test suite, which depends on it) for jdk16.Reinier Zwitserloot
2021-03-19[jdk16] TypeSymbol.isLocal has been renamedRoel Spilker
2021-03-16[fixes #2681] [jdk16] support jdk16Reinier Zwitserloot
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-12[fixes #2701] fix NPE on customized SuperBuilder with SingularJan Rieke
2021-03-12rename method; use null instead of empty stringJan Rieke
2021-03-05[javac6] replacing calls to ListBuffer add/addAll to the append variants; ↵Reinier Zwitserloot
add/addAll do not work in j6.
2021-02-07[fixes #2741] Handle inner method invocations firstRawi01
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-28[fixes #2691] Add end positions to all generated nodesRawi01
2021-01-15Improve Javadoc and consistently use SourceVersion.latest().Christian Schlichtherle
2021-01-14[fixes #2443] Remove multiline Javadoc tagsRawi01
2021-01-14[fixes #2695] Create void literal properlyRawi01
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-05Fixing reading files in sbt 1.4+ subprojectsMatthias Kurz
2020-12-03[fixes #2657] Use the correct field to query parent type parametersRawi01
2020-11-13[#2645] Fixing the reading of lombok.config on sbt 1.4+Reinier Zwitserloot
2020-11-13[refactor] reflection code streamlined by sending it through the Permit classReinier Zwitserloot
2020-10-29[#2612] Set VarSymbol.ownerRawi01
2020-10-29[#2612] VarSymbol.adr is a bit fieldRawi01
2020-10-29[#2612] VarSymbol.adr is required for flow analysis in NetbeansRawi01
2020-10-08[fixes #2592] Find ProcessingEnvironment in InteliJ 2020.3 and KotlinRawi01
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-03[javac] Added/improved support for the 'receiver parameter' featureReinier Zwitserloot
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-24Remove warning for final classesAndre Brait
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-24Remove CacheStrategy compilation unit for javacAndre Brait
2020-09-24Generate Pure annotation for cached hashCodeAndre Brait
2020-09-24Undo unnecessary change, add TODOAndre Brait
2020-09-24Finish implementation, add testsAndre Brait
2020-09-24Eclipse impl and testsAndre Brait
2020-09-24Restore some missing white spaces removed by IDEAAndre Brait