Emil Lundberg
975f26bcc6
Extract methods generateSingularMethod{Parameters,Statements}
2019-01-13 02:26:54 +01:00
Emil Lundberg
3c28cf93ff
Extract function generateSingularMethodParameterNames
2019-01-13 02:25:26 +01:00
Emil Lundberg
bbaa932c11
Replace for-int with for-each
2019-01-13 02:25:26 +01:00
Emil Lundberg
223a3fdb97
Uae names.length instead of suffixes.size() as loop limits
2019-01-13 02:25:26 +01:00
Emil Lundberg
73a70e3332
Move invariant parameter inside finishAndInjectSingularMethod
2019-01-13 02:25:26 +01:00
Emil Lundberg
0c20da8e0e
Move single-use variable declarations to just before use
2019-01-13 02:25:26 +01:00
Emil Lundberg
fd7301117d
Extract method finishAndInjectSingularMethod
2019-01-13 02:25:26 +01:00
Emil Lundberg
e8c70dd755
Extract local variable addMethodName
2019-01-13 02:25:26 +01:00
Emil Lundberg
a4c21e941d
Make last few statements the same between generateSingularMethod implementations
2019-01-13 02:25:26 +01:00
Emil Lundberg
f995dd2036
Extract local variable: params
2019-01-13 02:25:26 +01:00
Emil Lundberg
130c115eaf
Restore comments describing generated code
2019-01-13 02:25:25 +01:00
Emil Lundberg
36e6e56a93
Inline single-use variables
2019-01-13 02:20:04 +01:00
Emil Lundberg
54d8d4b431
Extract method generateSingularMethodAddStatement
2019-01-13 02:20:04 +01:00
Emil Lundberg
e9f4bcb890
Extract local variables
2019-01-13 02:20:04 +01:00
Emil Lundberg
8cec667943
Inline single-use variable
2019-01-13 02:20:03 +01:00
Emil Lundberg
2747ce6a2c
Move invariant parameter inside generateSingularMethodParameter
2019-01-13 02:20:03 +01:00
Emil Lundberg
a367f7815d
Move local variable declarations to just before use
2019-01-13 02:20:02 +01:00
Emil Lundberg
b09f4ca38d
Inline single-use variable
2019-01-13 02:20:02 +01:00
Emil Lundberg
4599a65b7d
Extract method JavacSingularizer.generateSingularMethodParameter
2019-01-13 02:19:50 +01:00
Emil Lundberg
85759a1949
Detangle key/value param creation in JavacJavaUtilMapSingularizer.generateSingularMethod
2019-01-13 02:13:57 +01:00
Emil Lundberg
f843499658
Extract local variable paramName
2019-01-13 02:13:56 +01:00
Emil Lundberg
360c1d5a21
Move invariant parameters inside finishAndInjectMethod
2019-01-13 02:13:56 +01:00
Emil Lundberg
bb7b5cce75
Move one-use variable declarations to just before use
2019-01-13 02:13:55 +01:00
Emil Lundberg
3c9324e801
Extract method finishAndInjectMethod
2019-01-13 02:13:55 +01:00
Emil Lundberg
62bb81311e
Pull return statement wrapping up into generateClearMethod
2019-01-13 02:13:54 +01:00
Emil Lundberg
d08aa5a83d
Pull generateClearMethod up to JavacSingularizer
2019-01-13 02:13:54 +01:00
Emil Lundberg
05ce5e050e
Extract abstract method JavacSingularizer.generateClearStatements
2019-01-13 02:13:44 +01:00
Emil Lundberg
5c99e5b9a0
Extract method JavacSingularizer.finishGenerateClearMethod
2019-01-10 02:12:17 +01:00
Emil Lundberg
a8a7888033
Extract method JavacSingularsRecipes.doGenerateMethods
2019-01-10 01:28:33 +01:00
Emil Lundberg
c37b43690f
Extract abstract method JavacSingularizer.generatePluralMethod
2019-01-10 01:25:14 +01:00
Emil Lundberg
d57638b36e
Extract abstract method JavacSingularizer.generateClearMethod
2019-01-10 01:24:30 +01:00
Emil Lundberg
c336e6ff21
Extract abstract method JavacSingularizer.generateSingularMethod
2019-01-10 01:21:20 +01:00
Reinier Zwitserloot
ccfab5ebff
[ #1033 ] steps on the way to issue 1033: You can add cleanup tasks which are deferred (during the javac run) until the end.
...
This already fixes the exotic-to-the-point-of-nonexistent bug where setter and wither compete to steal the `@param` off of the field’s javadoc. Next are to fix builder and setter/wither competing whilst bringing javadocs to `@Builder`.
Then for various other conflicts, we should defer removal of lombok imports and annotations until the end too.
2019-01-08 03:33:52 +01:00
Reinier Zwitserloot
20df86149d
[website] fixing tidelift referral links
2019-01-08 03:33:52 +01:00
Roel Spilker
2c7870a4c7
@Delegate @NonNull would error on jdk8, fixes #1935
2019-01-08 00:00:04 +01:00
Roel Spilker
ca46f98beb
Serve dependencies instead of using a CDN. Fixes #1964 .
2018-12-18 00:38:25 +01:00
Reinier Zwitserloot
2725637ef7
[website] updated docs of FieldNameConstants to show how to generate an enum instead of a static class.
2018-12-17 23:42:38 +01:00
Reinier Zwitserloot
b00c0b0bf9
[deps] updated dep versions.
2018-12-17 23:25:21 +01:00
Reinier Zwitserloot
16aeef1608
[website] Added security vulnerability disclosure page
2018-12-17 22:55:05 +01:00
Reinier Zwitserloot
6ca884be75
[github] issue templates
2018-12-17 21:01:10 +01:00
Reinier Zwitserloot
c2bd647287
Update issue templates
...
Adding some issue templates.
2018-12-17 20:40:42 +01:00
Reinier Zwitserloot
87600e814c
website and README updates (tidelift)
2018-12-11 20:55:54 +01:00
Reinier Zwitserloot
4126bc2772
bugfix for clicking our W-8BEN form on the order page.
2018-11-19 12:05:44 +01:00
Reinier Zwitserloot
94d11d89a7
[issue #1938 ] addressing some small issues with the documentation.
2018-11-12 21:30:23 +01:00
Reinier Zwitserloot
db19327cb4
[ fixes #1628 ] Lombok now marks the result field used in the generated hashCode method as final if it isn’t modified. This doesn’t change its behavior whatsoever, but some linters and especially eclipse save actions (specifically: ‘mark local variables final if possible’) cause issues when they try to mess with generated code. Of course, now any save action with ‘remove useless modifiers’ would cause an issue but those don’t (yet…) exist.
2018-11-08 15:51:08 +01:00
Reinier Zwitserloot
a685d0828c
[ fixes #1888 ] [jdk12] lombok can deal with the changes to case/break nodes in JDK12-preview javac.
2018-11-06 00:55:54 +01:00
Roel Spilker
7e79316a1f
Improve toString generation for enums. Fixes #1916
2018-11-06 00:37:07 +01:00
Reinier Zwitserloot
dc641cc369
[ fixes #1912 ] clarifying builder’s behaviour about generating constructors in the face of already present ones.
2018-11-05 23:39:02 +01:00
Reinier Zwitserloot
a73965b2b7
[ fixes #1918 ] toString now supports a configkey to tell it how to deal with super.
2018-11-05 23:30:09 +01:00
Reinier Zwitserloot
2c0ec93155
[bugfix] attempting to fix an issue with buckbuild which uses some exotic trickery to compile straight from jar to jar, messing up our wrapper around javac’s javaFileObject. Bug report and suggested fix from external sources, we didn’t test it, but we only kick in this alternative if an exception occurs, so it couldn’t possibly affect anything that was already working fine. See PR #1929
2018-11-05 21:40:30 +01:00