aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
AgeCommit message (Collapse)Author
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-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-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
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-24Generate Pure annotation for cached hashCodeAndre Brait
2020-09-24Undo unnecessary change, add TODOAndre Brait
2020-09-24Add missing set source/statement start/endAndre Brait
Co-authored-by: Rawi01 <Rawi01@users.noreply.github.com>
2020-09-24Fix using source start instead of source endAndre Brait
Co-authored-by: Rawi01 <Rawi01@users.noreply.github.com>
2020-09-24Change documentation to reflect codeAndre Brait
2020-09-24Readd line removed by EclipseAndre Brait
2020-09-24Removed unused importsAndre Brait
2020-09-24Finish implementation, add testsAndre Brait
2020-09-24Eclipse impl and testsAndre Brait
2020-09-20[builder] [refactor] # of params was growing to ridiculous proportions.Reinier Zwitserloot
refactored to use a single object with a bunch of fields so we can pass this object around instead.
2020-09-18Merge branch 'delegate-methods-outline' of git://github.com/Rawi01/lombok ↵Reinier Zwitserloot
into Rawi01-delegate-methods-outline # Conflicts: # src/core/lombok/eclipse/EclipseAugments.java
2020-09-18Merge branch 'eclipse-javadoc' of git://github.com/Rawi01/lombok into ↵Reinier Zwitserloot
Rawi01-eclipse-javadoc # Conflicts: # src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
2020-08-31Merge branch 'master' into eclipse-javadocRawi01
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java test/core/src/lombok/RunTestsViaEcj.java
2020-08-29[tests] Fix CustomLog testsRawi01
2020-08-29[tests] Fix SuperBuilder testRawi01
2020-08-27Issue 2552 - generate class initializer body only after field member injectionKay Schubert
2020-08-27Use enum instead of Boolean; switch to synchronized mapRawi01
2020-08-27Handle each Eclipse ASTs not more than two times (diet + full)Rawi01
2020-08-16Add generated delegate methods to eclipse outlineRawi01
2020-07-29Support javadoc copying in eclipseRawi01
2020-07-10[test] more flexible options for limiting your tests.Reinier Zwitserloot
2020-07-10[bugfix] eclipse version differences in constants for registering operator typeReinier Zwitserloot
2020-07-10[bugfix] eclipse version differences for weird LUB typesReinier Zwitserloot
2020-07-02[fixes #2433] Add config key to turn off @SuppressWarnings("all")Rawi01
2020-07-02[fixes #2469] Support static reference as logger topicRawi01
2020-06-25Fix broken test casesRawi01
2020-06-25Avoid class.getSimpleName except in static initializers or error messagesRoel Spilker