aboutsummaryrefslogtreecommitdiff
path: root/src/utils
AgeCommit message (Collapse)Author
2018-08-20optimized the to/fromQualifiedName methodRoland Praml
2018-05-14[annotation based ToString] hey.. we have annotation based ToString now, ↵Reinier Zwitserloot
where you can include/exclude fields by annotating the fields.
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-12-05[JDK9] fixing delombok’s comment integration in JDK9.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-28JDK9 support for delombok (and thus, for running the tests under JDK9).Reinier Zwitserloot
2017-03-22update references to issue numbersRoel Spilker
2017-01-19refactor of how creating void types works, also cleaned up some syntax.Reinier Zwitserloot
2015-10-06New feature: FieldDefaults can now be configured to apply to _every_ file, ↵Reinier Zwitserloot
regardless of annotations.
2015-02-04@UtilityClass handlers now more intelligent about inner types of implicitly ↵Reinier Zwitserloot
static contexts (enums, interfaces, and annotation declarations). Also added tests to test for these.
2015-02-01Fixed issues with val in inner classes, and re-enabled a test that caught it ↵Reinier Zwitserloot
that we ignored earlier.
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-12-08moved builder to core package (deprecated old one, created new one, added ↵Reinier Zwitserloot
alias).
2014-06-05Finished refactor of FieldAugment; there's no longer a separate variant for ↵Roel Spilker
boolean and references, and the code no longer blows up with a bunch of NPEs if you try to use the reference variant (which is now the only variant) with a primitive type. Should have zero effect on features or bugs, 100% refactor.
2014-06-05[#688] Bugfix for eclipse: syntax highlighting would break amongst many ↵Reinier Zwitserloot
other features if using @Setter and most other features.
2014-03-17[#590][refactor] Fix for deadlock in WeakHashMap. Refactored all code that ↵Roel Spilker
used a WeakHashMap to fake a field.
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-25[jdk8support] ... and javadoc copying support is back for javac8. Also fixed ↵Roel Spilker
some copyright headers.
2013-09-25Pre-emptive fix for the anticipated removal of ListBuffer.lb() in javac8Roel Spilker
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-13Getting the java8 compiler remember the commentsRoel Spilker
2013-08-05To quote Reinier paraphrasing the compiler: "If the loading doesn't work, I ↵Roel Spilker
don't want it!"
2013-07-28Some work on actually making lombok work on JDK8's javac.Reinier Zwitserloot
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-07-16Renamed ImmutableList to LombokImmutableList, to reduce our ImmutableList ↵Reinier Zwitserloot
coming up in autocomplete dialogs when guava's was intended.
2013-07-08A lot of refactoring on how javadoc is handled, to prepare for copying ↵Reinier Zwitserloot
javadoc from field to setter/getter in javac.
2013-07-07more work on the tricky Context hack to make 'ant compile' not emit warnings.Reinier Zwitserloot
2013-07-07FINALLY! Found the cause of a really weird eclipse bug,Reinier Zwitserloot
where _ANY_ mention of com.sun.tools.javac.tree.TreeMaker, anywhere in a source file, would disable pretty much every intelligent part of what makes the 'I' in IDE in eclipse: No auto-complete, no 'go to declaration', etcetera, but only since Eclipse Juno (not fixed in Kepler either). It's the presence of src/stubs/com/sun/tools/javac/util/Context.java. I've moved Context to a special stubs directory that's only used for javac (so that we still get the benefit of getting some warnings and such when making command line builds), and removed the @Override annotations for where the stubbing is relevant (for methods that exist in javac7 but not in javac6 on interfaces we create implementations of). Furthermore, I did some extremely tricky work in making our version actuall compatible with the exact class signatures of both javac6- and javac7+'s versions; generation of synthetic methods for reified type parameters was causing havoc. A big stack of 'here be voodoo' comments unfortunately added to explain it all; necessary evil.
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-06-16First steps Builder supportReinier Zwitserloot
2013-06-16Removed a SuppressWarnings which old eclipse doesn't care about for some ↵Reinier Zwitserloot
reason... now I'm just confused. Do we need it or not?
2013-05-31Added @NonNull on parameters feature (issue 514),Reinier Zwitserloot
including docs and changelog.
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-04-05Type fixes for JDK7Robbert Jan Grootjans
2013-04-05Some small fixes for Java 7Robbert Jan Grootjans
2013-03-26Massive performance improvements, and a few potentially breaking changes for ↵Roel Spilker
other lombok plugin developers.
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.