aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac
AgeCommit message (Collapse)Author
2018-05-31javac: delete @SuperBuilder when processing itJan Rieke
2018-05-30no custom builders allowed, so there cannot be a toString() methodJan Rieke
2018-05-30code formatting, reordering, rename etc.Jan Rieke
2018-05-11ecj: setter methods now return self()Jan Rieke
2018-04-27fixed generation problem caused by reusing expressionsJan Rieke
2018-04-16let @SuperBuilder's toString() call super.toString()Jan Rieke
2018-04-16avoid name clashes with generics on the annotated classJan Rieke
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-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-27[trivial] some memoryload improvements by not making a new instance but ↵Reinier Zwitserloot
using a cached one instead. Fixes issue #1579
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-02-07Parsing for source level broken under JDK9 due to change in 1.X->X ↵Reinier Zwitserloot
versioning by oracle.
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-01-09Potential fix for #1555Roel Spilker
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
2017-11-29delombok in JDK9 now almost works. Some cases of ‘val’ don’t work yet.Reinier Zwitserloot
2017-11-29bugfix for delomboking source that does not compile; it should just emit ↵Reinier Zwitserloot
compiler errors, not stack traces.
2017-11-29some bugfixes for JDK9 support involving the Options system of javac.Reinier Zwitserloot
2017-11-28JDK9 support for delombok (and thus, for running the tests under JDK9).Reinier Zwitserloot
2017-11-06Generate correct hashCode when callSuper and no fields included. Fixes #1505Roel Spilker
2017-10-25add support for Netbeans on jdk9Roel Spilker