aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
AgeCommit message (Collapse)Author
2018-04-15use superclass generics for abstract builder class' extends clauseJan Rieke
2018-04-15consider generics on the annotated class and potential superclassJan Rieke
2018-04-14revert changes to HandleBuilder (everything is in HandleSuperBuilder)Jan Rieke
2018-04-14adjusted expected result of test caseJan Rieke
2018-04-14include superclass when referring to parent builderJan Rieke
example: "ChildBuilder extends Parent.ParentBuilder"
2018-04-10correct return type and statement for @SingularJan Rieke
2018-04-10@Override for overridden methodsJan Rieke
2018-04-10apply generics on builder extends clause; fixed builder name generationJan Rieke
2018-04-05build class names not configurable any more; removed toBuilderJan Rieke
2018-04-05wildcards for the constructor parameterJan Rieke
2018-04-05wildcards for the builder() methodJan Rieke
2018-04-05more generics; return getInstance() instead of thisJan Rieke
2018-04-05generics for the Builder class; generate abstract methodsJan Rieke
2018-04-05add javac handlerJan Rieke
Conflicts: src/core/lombok/experimental/SuperBuilder.java
2018-04-04introduction of `@SuperBuilder` and a testcase.Reinier Zwitserloot
2018-03-28[builderParentClass] Code to handle builder on enums removed; that doesn’t ↵Reinier Zwitserloot
make a heck of a lot of sense and enums aren’t extensible in the first place. Also fixed up a wrong access level; now all existing builder tests pass.
2018-03-28Merge branch 'master' of https://github.com/janrieke/lombok into janrieke-masterReinier Zwitserloot
Also fixed up style and docs, and updated behaviour when using `@Builder(inherit = true)` to error if you have no parent class.
2018-03-27fix javadoc warningsRoel Spilker
2018-03-27[trivial] some memoryload improvements by not making a new instance but ↵Reinier Zwitserloot
using a cached one instead. Fixes issue #1579
2018-03-27Merge pull request #1583 from jramosf/masterReinier Zwitserloot
#1579: recycle handlers to avoid excessive garbage collection
2018-03-24improve compiler detection for jdk9 later.Takuya Murakami
2018-03-21[fix] Fix intellij build with jdk10 (#1572)Takuya Murakami
Add a JavaFileManager class name to KNOWN_JAVA9_FILE_MANAGERS.
2018-03-20[issue #1615] fixes a bug where equals and hashcode would mess up if both ↵Reinier Zwitserloot
the outer and the inner class have generics, the inner is non-static, and you generate equals/hashcode on the inner. Note that in general this is just broken; do not put non-static inner classes in generics-carrying classes in the first place!
2018-03-19Fresh builds wouldn’t work anymore due to a weird addition in ecj9.Reinier Zwitserloot
2018-02-16#1579: recycle handlers to avoid excessive garbage collectionJavier Ramos
2018-02-07Parsing for source level broken under JDK9 due to change in 1.X->X ↵Reinier Zwitserloot
versioning by oracle.
2018-02-07[bugfix] builder.default with the old lombok.experimental.Builder annotation ↵Reinier Zwitserloot
only worked in javac, not eclipse.
2018-02-07[trivial] copyright header year bump to 2018Reinier Zwitserloot
2018-02-07As we’re preparing to release v2, we want to delete the experimental ↵Reinier Zwitserloot
editions of the Builder and Value annotations… but in case you install lombok v2 into eclipse but use an older lombok as dep in your project, we still do want to process the old annotations. Had to stringly-type a few things to make that happen, but, works now.
2018-02-07[var] various upgrades to var:Reinier Zwitserloot
* var is promoted to the main package. * It is no longer an opt-in thing. * bug: var (unlike val) is allowed in old-style for loops, but if you multi-init: for (var i = 0, j="Foo";;), you now get an error that you can't do that. * tests both for the multi-for situation and the new main package variant.
2018-02-07[jdk9] forcing new rounds when compiling multiple modules didn’t work. ↵Reinier Zwitserloot
(FilerException on creating the new round).
2018-02-06[jdk9] added a best-effort attempt to claim away lombok annotations when ↵Reinier Zwitserloot
lombok is deployed in JDK9-module mode. Due to a bug or oversight in jigsaw it is no longer possible to supply 2 providers for the Processor service, which was the common and as far as I know only way to deal with the situation that you want to claim a subset of annotations but look at all of them (which is what lombok wants to do).
2018-02-06[jdk9] add support for using lombok with JDK9 code when compiling using the ↵Reinier Zwitserloot
new module syntax, and having module-info.java files in your source.
2018-01-09use T instead of RuntimeExceptionRoel Spilker
2018-01-09Merge branch 'npe-warning' of https://github.com/2is10/lombok into ↵Roel Spilker
2is10-npe-warning
2018-01-09Wrong documentation variables fix.Ruslan Popenko
I've fixed documentation for Cleanup annotation. Doc provided before wrong variable information (you closed String instead of Closeable).
2018-01-09Potential fix for #1555Roel Spilker
2018-01-09post-release version bumpReinier Zwitserloot
2018-01-09pre-release version bumpReinier Zwitserloot
2018-01-09Updated copyright notices to 2018.Reinier Zwitserloot
2018-01-09[fixes #1554] javac9 now caches type lookups based on ‘position’ which ↵Reinier Zwitserloot
is slapped together by a tuple based on the position (as gleaned from the JCTree object) and the source file (as gleaned from.. Log. *facepalm*). We didn’t update log when resolving for i.e. ‘val’, so the caches get all jumbled up. Fixed by setting the Log’s ‘useSource’ method.
2018-01-09[fixes #1553] attriber of JDK9 checks the enclosing class’s type, which we ↵Reinier Zwitserloot
intentionally haven’t set yet. To avoid NPEs, let’s set it.
2018-01-08jdk9 Builder.Default works again. Fixes #1547Roel Spilker
2018-01-06Whitelist a JavacFileManager implementationLiam Miller-Cushon
See bazelbuild/bazel#4393
2017-12-12support for @Builder on methods with a generified return type. Fixes #1420Roel Spilker
2017-12-12handle @Builder.Default on generic fields. Fixes #1527Roel Spilker
2017-12-05errors generated during compilation by lombok weren’t being conveyed in ↵Reinier Zwitserloot
Javac9.
2017-12-05Working around newly introduced lint errors in javac9.Reinier Zwitserloot
2017-12-04for lombok v2, make generation of ConstructorProperties an optional extra, ↵Reinier Zwitserloot
instead of default on.
2017-11-29replace all fileManagers to make sure we patch the generated bytecode, fixes ↵Roel Spilker
#1518