aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac
AgeCommit message (Collapse)Author
2019-01-10Extract abstract method JavacSingularizer.generateSingularMethodEmil Lundberg
2019-01-08[#1033] steps on the way to issue 1033: You can add cleanup tasks which are ↵Reinier Zwitserloot
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@Delegate @NonNull would error on jdk8, fixes #1935Roel Spilker
2018-11-08[fixes #1628] Lombok now marks the `result` field used in the generated ↵Reinier Zwitserloot
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-06Improve toString generation for enums. Fixes #1916Roel Spilker
2018-11-05[fixes #1918] toString now supports a configkey to tell it how to deal with ↵Reinier Zwitserloot
super.
2018-11-05[bugfix] attempting to fix an issue with buckbuild which uses some exotic ↵Reinier Zwitserloot
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-01[trivial] error out on mismatch between FieldNameConstants asEnum flag and ↵Reinier Zwitserloot
actual handwritten type.
2018-11-01[feature] FieldNameConstants now works like Builder: Make whatever bits it ↵Reinier Zwitserloot
does by hand and lombok fills in whatever is missing.
2018-10-30[fixes #1907] This one is hard to describe; due to builder being a bit ↵Reinier Zwitserloot
overzealous as to what it marks as ‘generated’, if you manually write the builder class and add some elements, you’d get crazy errors on those.
2018-10-29Merge branch 'wildcardsSingularFix' of git://github.com/janrieke/lombok into ↵Reinier Zwitserloot
janrieke-wildcardsSingularFix
2018-10-29eliminate ‘you are using private API’ warnings by streamlining all ↵Reinier Zwitserloot
reflective access via a class that uses sun.misc.Unsafe to arrange access. From the nqzero permit-reflect library.
2018-10-29Merge pull request #1871 from janrieke/customizableSuperBuilderReinier Zwitserloot
Customizable SuperBuilder
2018-10-15[fixes #1324] toBuilder with @Singular marked collections that are null no ↵Reinier Zwitserloot
longer throws NPE.
2018-10-12fixed another missing type arg issueJan Rieke
2018-10-12fixed toBuilder on Singular fields with wildcards (javac)Jan Rieke
2018-09-24SuperBuilder: allow customization of selected methodsJan Rieke
2018-09-24make BuilderFieldData package-private, so that SuperBuilder can use itJan Rieke
2018-09-24Merge remote-tracking branch 'upstream/master' into superToBuilderJan Rieke
2018-09-21SuperBuilder toBuilder with generics (javac)Jan Rieke
2018-09-18Finishing work on making lombok do sensible things with TYPE_USE annotations ↵Reinier Zwitserloot
and for example their use on the typearg in a collection type which is being `@Singular`-ized.
2018-09-16SuperBuilder toBuilder: moved static helper method to builder implJan Rieke
2018-09-16SuperBuilder: removed unnecessary method paramsJan Rieke
2018-09-16SuperBuilder toBuilder: generate static toBuilder helper method (javac)Jan Rieke
2018-09-12Merge remote-tracking branch 'upstream/master' into superToBuilderJan Rieke
2018-09-11SuperBuilder: generate toBuilder method (ecj)Jan Rieke
2018-09-11SuperBuilder: generate fillValuesFrom method (ecj)Jan Rieke
2018-09-11SuperBuilder: generate fillValuesFrom method (javac)Jan Rieke
2018-09-11SuperBuilder: generate toBuilder method (javac)Jan Rieke
2018-09-11Replaced the notion of ‘nullable’ and ‘nonnull’ get copied to ‘any ↵Reinier Zwitserloot
‘copyable’ annotations get copied’, with ‘copyable’ defined as a specific FQN-style list of well-known nullity-indicating annotations, plus whatever you configured in lombok.config. Also some work on the notion of TYPE_USE annotations.
2018-09-11code review and fixes for the ‘copyable annotations’ setting concept.Reinier Zwitserloot
2018-09-11Add configuration key, handle whereever NULLABLE is handled, support Eclipse.Werner Dietl
2018-09-11Copy all field annotations to the corresponding builder parameter.Werner Dietl
Maybe some filtering is necessary and should be added later.
2018-09-04[issue #1851] Lombok needs to generate type-use annotations when copying ↵Reinier Zwitserloot
over types from, say, a field, to getter/setter/constructor/builder/wither/etc.
2018-09-04[wip] Random fixes to various tests that are failing, especially against Java7.Reinier Zwitserloot
2018-08-28[fixes #1836] superbuilder didn’t play ball with field prefixes, at least ↵Reinier Zwitserloot
in javac.
2018-08-27SuperBuilder now with generics on self() methodJan Rieke
2018-08-27Merge branch 'superBuilderNonNull' of https://github.com/janrieke/lombok ↵Roel Spilker
into janrieke-superBuilderNonNull # Conflicts: # src/core/lombok/eclipse/handlers/HandleSuperBuilder.java # src/core/lombok/javac/handlers/HandleSuperBuilder.java # test/transform/resource/after-delombok/SuperBuilderWithDefaults.java # test/transform/resource/after-ecj/SuperBuilderWithDefaults.java
2018-08-27@SuperBuilder adapts @Builder.Default behavior from @Builder as #1347 isJan Rieke
fixed now (javac)
2018-08-22Merge branch 'master' into masterPhilippe Charles
2018-08-21[#1808] Probable fix: Using module names with dots in them was causing ↵Reinier Zwitserloot
issues, as we only use the simple name. Actually getting the full module name is a little tricky, but this should do the job.
2018-08-21[fixes #1812] `@Singular` marked collections which nevertheless somehow ↵Reinier Zwitserloot
ended up null would cause an NPE during `toBuilder()` invocations.
2018-08-21bugfix for the new ‘find the next priority’ system committed earlier; it ↵Reinier Zwitserloot
should also find next priority for the astvisitors (only the annotation visitors were being considered).
2018-08-20use delared ast Type instead of generic one saves a lot of "checkcasts" in ↵Roland Praml
the byte code
2018-08-16only assign value once so that final fields work (javac)Jan Rieke
2018-08-16do null checks after assignment so that default==null is coveredJan Rieke
2018-08-16@SuperBuilder adapts @Builder.Default behavior from @Builder as #1347 isJan Rieke
fixed now (javac)
2018-07-29Printing missing gradle integration would print for any non-javac, ↵Reinier Zwitserloot
non-gradle compiler. Fixed that.
2018-07-29A few upgrades for the printers used with @lombok.core.PrintAST.Reinier Zwitserloot
2018-07-29code impl of FieldNameConstants rewrite + test updates for itReinier Zwitserloot