aboutsummaryrefslogtreecommitdiff
path: root/src/utils/lombok/javac/Javac.java
AgeCommit message (Collapse)Author
2021-12-12[fixes #3043] Add null check for end positionsRawi01
2021-08-18[jdk17] Add support for sealed classesRawi01
2021-04-18[StandardExceptions] fix for javacReinier Zwitserloot
2021-03-22Merge branch 'records'Reinier Zwitserloot
# Conflicts: # src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java # src/core/lombok/eclipse/handlers/HandleBuilder.java # src/core/lombok/eclipse/handlers/HandleData.java # src/core/lombok/eclipse/handlers/HandleNonNull.java # src/core/lombok/eclipse/handlers/HandleSuperBuilder.java # src/core/lombok/javac/handlers/HandleBuilder.java # src/core/lombok/javac/handlers/HandleNonNull.java # src/core/lombok/javac/handlers/HandleSuperBuilder.java # test/core/src/lombok/RunTestsViaEcj.java
2021-02-04[issue #2730] Javadoc generated by lombok in javac now gets its position set.Reinier Zwitserloot
This may fix 'IllegalArgumentException' errors when using google errorprone.
2020-12-21[fixes #2682] Fix NPE, always add Javadoc return statementRawi01
2020-06-25[bugfix] building would failReinier Zwitserloot
due to an invalid reference from src/utils to src/core.
2020-06-19#1543: First primitives, then primitive wrappers, then other referencesRoel Spilker
2019-05-06[trivial] replacing all calls to Class.newInstance() with ↵Reinier Zwitserloot
Class.getConstructor().newInstance to avoid warnings which are default in many JDK11+ environments, and it shouldn’t change anything (we handle the change from sneaky throwing to InvocationTargetException appropriately).
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-04-20move ClassLiteral and FieldSelect from ↵Dmitry Kurelchuk
core/lombok/core/AnnotationValues.java to utils/lombok/core/
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-02-07[trivial] copyright header year bump to 2018Reinier Zwitserloot
2018-02-07Fix version parsing for jdk10.Roel Spilker
2017-01-19refactor of how creating void types works, also cleaned up some syntax.Reinier Zwitserloot
2015-01-31updated some copyright headers and reverted a change to use a TreeMap to ↵Reinier Zwitserloot
force a more deterministic order to file processing in order to aid debugging. Also updated changelog.
2015-01-31[i694] When we resolve anything with inner classes, supertype references in ↵Reinier Zwitserloot
those inner classes that also have val will break, depending on compile order. This should fix it.
2015-01-11Set @Singularize code for javac improved, Map @Singularize added.Reinier Zwitserloot
2015-01-05@Singleton for j.u.Sets works in javac.Reinier Zwitserloot
2014-02-04#471: @SneakyThrows should work in NetBeansJan Lahoda
2013-10-10Whoops, Classload errors running lombok on javac with backing JVM 7 or ↵Reinier Zwitserloot
below; fixed.
2013-09-24Fixed netbeans 7.4RC1 issue (JavaCompiler.version() was returning bogus ↵Reinier Zwitserloot
values, so we now work around that javac bug).
2013-09-09[jdk8support] We now handle doc comments internally, alleviating the need to ↵Roel Spilker
try and keep up with the complete rewrites of the doc comment parser from java6 to java7 to java8. Still doesn't actually work in jdk8, but only because of a last-mile issue. (we communicate the doc comment via compilationUnit.docComments but that changed types in jdk8, we just need to make a wrapper to make that work).
2013-08-05To quote Reinier paraphrasing the compiler: "If the loading doesn't work, I ↵Roel Spilker
don't want it!"
2013-07-28more progress. This one is less JDK8 compatible, butReinier Zwitserloot
it has major refactorings to make JDK6-8 support possibly with much prettier code.
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-07-22Merge branch 'master' into jdk8. Also added some major fixes whilst merging.Reinier Zwitserloot
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java src/utils/lombok/javac/CommentCatcher.java src/utils/lombok/javac/Javac.java
2013-06-18Added a ClassDef wrapper, because its signature changed between javac1.6 and ↵Reinier Zwitserloot
javac1.7. (The wrapper uses reflection). Need for: javac @Builder impl. Also added some utilities to JavacHandlerUtil.
2013-05-31Added @NonNull on parameters feature (issue 514),Reinier Zwitserloot
including docs and changelog.
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-04-05Type fixes for JDK7Robbert Jan Grootjans
2013-04-05Some small fixes for Java 7Robbert Jan Grootjans
2013-03-22Refactored out references to TypeTags.Robbert Jan Grootjans
Instead they are retrieved dynamically, with a pinch of caching during runtime. We already had some fixes to make sure that compile time constanst were not inlined, but we need to take into account that a lot of the Integer-based enums have been replaced with actual enums. Also, certain TreeMaker methods needed to be invoked dynamically with reflection. This needs to be reviewed, and if it turns out that these changes are too dramatic, we should fork out a larger part of our code for specific JVM versions.
2012-11-12[refactor] Cleaned up static imports (always use *), and refactored out ↵Reinier Zwitserloot
getCtcInt calls into constants as defined in Javac.
2012-03-27Whoops, errors during release build. fixed it quickly!Reinier Zwitserloot
2012-03-21Implementation of @Accessors.Reinier Zwitserloot
2011-11-07Changed copyright noticesRoel Spilker
2011-10-24pretty big refactor; introduced a new source package which should be (and ↵Reinier Zwitserloot
is) separately compilable, i.e. has no deps on any of the others. This is preparation work for being able to access some of these from lombok.ast without creating a cyclic dependency nightmare.