aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/JavacSingularsRecipes.java
AgeCommit message (Collapse)Author
2022-01-09[fixes #3081] make CheckerFramework's This a type annotationJan Rieke
2021-10-18[#2693] Review and updates for javabeans-style capitalization lombok.configReinier 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-05[javac6] replacing calls to ListBuffer add/addAll to the append variants; ↵Reinier Zwitserloot
add/addAll do not work in j6.
2021-01-28[fixes #2691] Add end positions to all generated nodesRawi01
2021-01-14[fixes #2695] Create void literal properlyRawi01
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-04-16copy more Jackson annotation to the builder, also for @Singular methodsJan Rieke
2020-01-31[issue #788] Add more nullity annotations where relevantReinier Zwitserloot
(chainable setters, static constructors, builder stuff)
2020-01-31[issue #2221] simplified configuration for `@Singular`-generated plural form ↵Reinier Zwitserloot
nullchecks.
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-28[singular][issue #2221] the plural builder method now nullchecks its ↵Reinier Zwitserloot
argument with configurable results.
2020-01-07[fixes #2327] mostly trivial: Added this. for field access and unified code ↵Reinier Zwitserloot
gen of build() methods for `@Builder`.
2019-12-11[builder] setterPrefix option code review, formatting cleanup, and docsReinier Zwitserloot
2019-12-11Merge branch 'feature/builder-setter-prefixes' of ↵Reinier Zwitserloot
git://github.com/floralvikings/lombok into floralvikings-feature/builder-setter-prefixes
2019-09-19Fix more copy/paste test errorsCaleb Brinkman
2019-09-19Fix null pointers and incorrect testsCaleb Brinkman
2019-09-19Added setterPrefix to javacabrinkman94
2019-09-12Refactored how the type resolver deals with aliases; fixes star import issues.Reinier 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-01[fixes #2104] superbuilder + non-list-singulars wouldn’t work due to ↵Reinier Zwitserloot
hardcoded call to emptyList.
2019-05-01[fixes #2083] adds feature ‘access level’ to `@Builder`Reinier Zwitserloot
2019-01-13Pull createConstructBuilderVarIfNeeded calls up to JavacSingularizerEmil Lundberg
2019-01-13Pull useGuavaInstead logic up to JavacSingularizerEmil Lundberg
2019-01-13Replace JavacSingularizers with Guava version once and for allEmil Lundberg
2019-01-13Make some JavacSingularizer methods privateEmil Lundberg
2019-01-13Move return statement addition statement inside finishAndInjectMethodEmil Lundberg
2019-01-13Move return statement addition statement to just before ↵Emil Lundberg
finishAndInjectMethod call
2019-01-13Move invariant parameter inside finishAndInjectMethodEmil Lundberg
2019-01-13Build statements list in generateClearMethod in the same way as in sibling ↵Emil Lundberg
methods
2019-01-13Move single-use variable declarations to just before useEmil Lundberg
2019-01-13Inline single-use variableEmil Lundberg
2019-01-13Make generateClearMethod package-privateEmil Lundberg
2019-01-13Merge finishAndInjectPluralMethod into generatePluralMethodEmil Lundberg
2019-01-13Extract method generatePluralMethodStatementsEmil Lundberg
2019-01-13Extract method finishAndInjectPluralMethodEmil Lundberg
2019-01-13Pull generatePluralMethod implementation up to JavacSingularizerEmil Lundberg
2019-01-13Pull overloaded createConstructBuilderVarIfNeeded up to JavacSingularizerEmil Lundberg
2019-01-13Move invariant parameter inside finishAndInjectMethodEmil Lundberg
2019-01-13Move single-use variable declarations to just before useEmil Lundberg
2019-01-13Inline finishAndInjectSingularMethod into generateSingularMethodEmil Lundberg
2019-01-13Pull generateSingularMethod implementation up to JavacSingularizerEmil Lundberg
2019-01-13Pull method getAddMethodName up to JavacSingularizerEmil Lundberg
2019-01-13Move invariant parameter inside finishAndInjectSingularMethodEmil Lundberg
2019-01-13Extract method finishAndInjectSingularMethodEmil Lundberg
2019-01-13Extract method generateSingularMethodAddStatementEmil Lundberg
2019-01-13Move invariant parameter inside generateSingularMethodParameterEmil Lundberg
2019-01-13Extract method JavacSingularizer.generateSingularMethodParameterEmil Lundberg
2019-01-13Move invariant parameters inside finishAndInjectMethodEmil Lundberg
2019-01-13Move one-use variable declarations to just before useEmil Lundberg