aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/singulars
AgeCommit message (Collapse)Author
2021-12-30[fixes #3070] fix guava type name for SuperBuilder's toBuilderJan Rieke
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[trivial] style and removing unused importsReinier Zwitserloot
2021-01-28[fixes #2691] Add end positions to all generated nodesRawi01
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-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`.
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-13Colocate statements declaration with use in Map generateSingularMethodStatementsEmil Lundberg
2019-01-13Simplify Guava generateSingularMethodStatements return statement to single ↵Emil Lundberg
expression
2019-01-13Simplify List generateSingularMethodStatements to single expressionEmil Lundberg
2019-01-13Pull createConstructBuilderVarIfNeeded calls up to JavacSingularizerEmil Lundberg
2019-01-13Inline Guava singularizer instances into getGuavaInstead()Emil Lundberg
2019-01-13Push Guava singularizer instances down from JavacJavaUtilSingularizerEmil Lundberg
2019-01-13Pull useGuavaInstead logic up to JavacSingularizerEmil Lundberg
2019-01-13Replace JavacSingularizers with Guava version once and for allEmil Lundberg
2019-01-13Remove unused importsEmil 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-13Extract overloaded method createConstructBuilderVarIfNeededEmil Lundberg
2019-01-13Extract references to getAddMethodNameEmil Lundberg
2019-01-13Extract method getTypeArgumentsCountEmil Lundberg
2019-01-13Extract method getPluralMethodParamTypeEmil Lundberg
2019-01-13Move single-use variable declarations to just before useEmil Lundberg
2019-01-13Move invariant parameter inside finishAndInjectMethodEmil Lundberg
2019-01-13Move single-use variable declarations to just before useEmil Lundberg
2019-01-13Pull generateSingularMethod implementation up to JavacSingularizerEmil Lundberg
2019-01-13Pull method getAddMethodName up to JavacSingularizerEmil Lundberg
2019-01-13Extract method getAddMethodNameEmil Lundberg
2019-01-13Extract methods generateSingularMethod{Parameters,Statements}Emil Lundberg
2019-01-13Extract function generateSingularMethodParameterNamesEmil Lundberg
2019-01-13Replace for-int with for-eachEmil Lundberg
2019-01-13Uae names.length instead of suffixes.size() as loop limitsEmil Lundberg
2019-01-13Move invariant parameter inside finishAndInjectSingularMethodEmil Lundberg
2019-01-13Move single-use variable declarations to just before useEmil Lundberg
2019-01-13Extract method finishAndInjectSingularMethodEmil Lundberg
2019-01-13Extract local variable addMethodNameEmil Lundberg
2019-01-13Make last few statements the same between generateSingularMethod implementationsEmil Lundberg
2019-01-13Extract local variable: paramsEmil Lundberg
2019-01-13Restore comments describing generated codeEmil Lundberg
2019-01-13Inline single-use variablesEmil Lundberg
2019-01-13Extract method generateSingularMethodAddStatementEmil Lundberg
2019-01-13Extract local variablesEmil Lundberg
2019-01-13Inline single-use variableEmil Lundberg
2019-01-13Move invariant parameter inside generateSingularMethodParameterEmil Lundberg
2019-01-13Move local variable declarations to just before useEmil Lundberg
2019-01-13Inline single-use variableEmil Lundberg