aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/JavacAST.java
AgeCommit message (Collapse)Author
2023-03-22[jdk20] Reorder JavacAST child nodes for JCEnhancedForLoopRawi01
2023-03-22[jdk20] Adds support for updated JCEnhancedForLoopRawi01
2023-03-21[jdk20] Reorder JavacAST child nodes for JCEnhancedForLoopRawi01
2023-03-21[jdk20] Adds support for updated JCEnhancedForLoopRawi01
2021-09-06Replace val with native final var in Java >= 10Rawi01
2020-12-05Fixing reading files in sbt 1.4+ subprojectsMatthias Kurz
2020-11-13[#2645] Fixing the reading of lombok.config on sbt 1.4+Reinier Zwitserloot
2020-11-13[refactor] reflection code streamlined by sending it through the Permit classReinier Zwitserloot
2020-06-25Cache absolute file locationRawi01
2020-06-25Replace getSimpleName() with getName()Rawi01
2019-01-22[fixes #2019] Lombok now properly deals with `@NonNull` specifically on the ↵Reinier Zwitserloot
‘type use’ of a parameter (and, in case of arrays, on the outermost dimension which is actually the first one listed. Weird corner case of the JLS).
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.
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-07-25Added key ‘dangerousconfig.lombok.disable’.Reinier Zwitserloot
2018-04-17[Fixes #1656] Lombok would silently do the wrong thing when using references ↵Reinier Zwitserloot
to `public static final String` fields, instead of actual string literals, there where you can specify strings in lombok annotation parameters, such as `@ToString(of = MyClass.CONSTANT_FIELD)`. We can’t really fix it, but at least now lombok will error when you do that and describe in detail what’s going wrong.
2018-03-31fix #1632: JavacAST: use new Log method for jdk11Takuya Murakami
Some methods of AbstractLog are removed in jdk11. Fix JavacAST.Jdk9Plus to use new log methods added from jdk9.
2018-02-07Parsing for source level broken under JDK9 due to change in 1.X->X ↵Reinier Zwitserloot
versioning by oracle.
2017-12-05errors generated during compilation by lombok weren’t being conveyed in ↵Reinier Zwitserloot
Javac9.
2017-11-28JDK9 support for delombok (and thus, for running the tests under JDK9).Reinier Zwitserloot
2017-03-22[jdk9] Fix bug regarding multipleError fieldRoel Spilker
2017-01-19refactor of how creating void types works, also cleaned up some syntax.Reinier Zwitserloot
2017-01-19Lombok will now also fix the typemirror info when generating bean-related ↵Reinier Zwitserloot
methods/constructors, to allow other annotation processors to see these generated methods/constructors too.
2016-10-17CleanupRoel Spilker
2016-10-17added supporting for @val variables inside lambdas.Bulgakov Alexander
2015-12-06[issue #942] let `@Data` work on jdk9, first steps.Roel Spilker
2014-01-18[configuration] Reduced the range around which all already flagged ↵Reinier Zwitserloot
errors/warnings are removed (javac/delombok only) when using onMethod / onConstructor / onParam. Useful for adding warnings such as lombok configuration 'flag usages'.
2013-12-15[configuration] Added the .getAbsoluteFileLocation() method to AST;Roel Spilker
this now works properly (even with eclipse Linked Resources) in both eclipse and javac. We will now use this feature to search for and apply config files, which will apply hierarchically based on the directory of the source file.
2013-09-25[jdk8support] there was a bunch of duplicate code in both JavacAST and ↵Roel Spilker
JavacResolution. We've unified this (and fixed the fact that the JavacAST variant didn't work with javac8).
2013-09-25Pre-emptive fix for the anticipated removal of ListBuffer.lb() in javac8Roel Spilker
2013-09-09added a todo comment onlyRoel Spilker
2013-07-28Some work on actually making lombok work on JDK8's javac.Reinier Zwitserloot
2013-07-26experiment: Can we wrap TreeMaker and remove a heck of a lot of opportunity ↵Reinier Zwitserloot
to program handlers that are not cross javac6-8 compatible?
2013-07-23A source file with just @Getter in it now compiles in javac8, but there is ↵Reinier Zwitserloot
still a looooong way to go.
2013-06-13Added some very limited reporting when OutOfMemorErrors occur duringReinier Zwitserloot
parse tree builder under javac. Let's hope our users reporting these issues can use this to figure out which files are triggering the issue.
2013-05-24Fixed more issues related to java7's try-with-resources,Reinier Zwitserloot
and updated ECJ version detection.
2013-05-23Added methods to obtain JLS support-level version information from ↵Reinier Zwitserloot
AST/LombokNode. Tests updates to honour these with //version X at the top of any test file (now also in eclipse, which until now always said it was v6)
2013-05-23Added a method to obtain latest java language spec supported by hostReinier Zwitserloot
platform and implemented it for javac BUT NOT FOR ECJ!
2013-03-26Massive performance improvements, and a few potentially breaking changes for ↵Roel Spilker
other lombok plugin developers.
2013-02-11BIG commit:Reinier Zwitserloot
* re-introduction of onMethod/onConstructor/onParam * tests checking error/warnings rewritten to be more heuristic, in order to accomodate difference in messaging between java6 and java 7 * Ability to eliminate java's own output of erroneous error messages (heh); i.e. those messages that are invalidated by lombok's actions. This mechanism is used for onMethod/onConstructor/onParam * First steps to unifying a billion setGeneratedBy calls into a single visitor traversal for eclipse' HandleGetter/Setter/Constructor/Wither * To simplify 'zooming in' the tests on just a few files, added an 'accept' mechanism. * Updated copyright headers of website to 2013.
2011-11-07Changed copyright noticesRoel Spilker
2011-10-07Accept JCCatch as 'statement' (issue #281)Sander Koning
2010-11-22Added storing instanceof JavacTypes in JavacAST, and renamed ↵Reinier Zwitserloot
JavacResolution's methods.
2010-07-22toString(), equals(), and hashCode() now use getX() instead of x if either ↵Reinier Zwitserloot
it exists OR it will be generated by some other lombok annotation, addressing issue #110. code deduplication by removing HandleData's scanning for fields, which is now no longer done; the sub-parts of Data (Getter, Setter, RequiredArgsConstructor, etc) take care of it now. fix for class-level @Getter/@Setter, which used to go for every field. Now they skip the usual fields (static, for setters final, and $ prefixed fields). Bugfix for @Data not recognizing that it should let field-level @Getter/@Setter take care of generating the getter/setter for multi field declarations (@Getter int x, y);
2010-07-22Updated copyright statements and version release name.Reinier Zwitserloot
2010-07-17Bugfix: Annotations on types were being ignored if the type had no members ↵Reinier Zwitserloot
in it, in javac only.
2009-12-17Fix to javac handler; it now properly detects single package names, such as ↵Petr Jiricka
"package foo;"
2009-11-30All basic elements of netbeans support are here except the actual agent part.Reinier Zwitserloot
2009-11-29Fixed premature removal of importsRoel Spilker
2009-11-27This is a patch submitted by lahoda on the issue tracker (issue #61). It ↵Reinier Zwitserloot
apparently makes lombok work on JDK7. Will need to verify it, but, awesome sleuthing work by lahoda!
2009-11-27Added change tracking so that 1 AST instance can tell you if any processor ↵Roel Spilker
changed anything.