aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/HandleLog.java
AgeCommit message (Collapse)Author
2023-03-22[fixes #3364] Generate JCTree clones to prevent duplicate nodesRawi01
2022-03-17[fixes #2990] Treat records and enums as places where `static` is allowed.Reinier Zwitserloot
2022-02-17[fixes #2990, #3069] allow logging on enumsvarkart
2021-09-16Merge pull request #2866 from Rawi01/anonymous-inner-classReinier Zwitserloot
Handle anonymous classes properly
2021-06-03[fixes #2838] Handle anonymous classes properlyRawi01
Generated qualified names (e.g. Outer.Inner) now stop at anonymous classes instead of adding an empty part. All handlers that add static fields/methods/types now add error messages instead of generating invalid code.
2021-04-27Fix @CustomLog-key in lombok.config for some error messages. Issue #2821MOUYSSET Florent
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-03-16[build] sped up the build considerable.Reinier Zwitserloot
We used to use the mango SPI processor, but this had two major issues: * ecj wouldn't run annotation processors, requiring a separate proc:only compile run with javac * mangoSPI couldn't do incremental compilation, so this required a full rebuild just to generate SPI files, every time. Addressed by updating to IPP40 which does support explicit annotation processors even for ecj, and adding our own SPI generating annotation processor to the build which can deal with incrementals. There are some limits; removing a `@Provides` annotation on an existing type will need a full clean to pick that up, for example. These limits seem quite exotic, though.
2021-01-28[fixes #2691] Add end positions to all generated nodesRawi01
2020-09-10Add record supportRawi01
2020-07-02[fixes #2469] Support static reference as logger topicRawi01
2019-05-29Fix custom logger when topic presence != allowanceAdam Juraszek
2019-05-21Code review for `@CustomLog`, and added documentation and a changelog entry.Reinier Zwitserloot
2019-05-14Custom log declarationAdam Juraszek
2019-05-14IdentifierName instead of StringAdam Juraszek
2018-06-04Fixex #1697: google’s FluentLogger (Flogger) now available as one of ↵Reinier Zwitserloot
lombok’s log annotations.
2016-05-06Added support for JBoss Logging v3.3.0-Final via @JBossLog [Issue #1103]Thomas Darimont
2015-01-30[i623] added eclipse code for generating @javax.annotation.Generated, and ↵Reinier Zwitserloot
refactored java impl to reduce DRY violations. -f pretty now includes skipping generation of this annotation, and updated ALL the test cases.
2014-03-04[configuration] Merge branch 'master' as we work on configuration.Reinier Zwitserloot
* Conflict due to adding topic() feature to logger in master, and 'field name' feature in config branch. * master has since updated to shiny new eclipse dep versions and the 'ant eclipseForDebugging' feature, but this branch added deps. Addressed that. * Renamed 'loggerCategory' to 'loggerTopic'. I know, that wasn't exactly right to do in a merge, but, there you have it. * Test infrastructure changed in configuration branch, and tests had been added in master branch. Conflicts: build.xml buildScripts/ivy.xml src/core/lombok/eclipse/handlers/HandleLog.java src/core/lombok/extern/apachecommons/CommonsLog.java src/core/lombok/extern/java/Log.java src/core/lombok/extern/log4j/Log4j.java src/core/lombok/extern/log4j/Log4j2.java src/core/lombok/javac/handlers/HandleLog.java test/transform/resource/after-ecj/ValInTryWithResources.java
2014-02-10[deps] Updated eclipse deps to 3.9 tree. This also enables testing java7 ↵Reinier Zwitserloot
features on ecj. [Log] updated naming for @Log (topic= instead of mchmulder's 'value').
2014-02-08Handler and testcases for @XSlf4jMaarten Mulders
2014-02-08Handler and testcases for @Log4j2Maarten Mulders
2014-02-08Handler and testcases for @Log4jMaarten Mulders
2014-02-08Handler and testcases for @LogMaarten Mulders
2014-02-08Handlers and testcases for @CommonsLogMaarten Mulders
2014-02-08Handlers and testcases for @Slf4jMaarten Mulders
2014-01-18[configuration] Moved ALL ConfigurationKey constants into ↵Reinier Zwitserloot
'ConfigurationKeys'; that bug where fields in annotation defs causes issues is too endemic to try and work around these.
2014-01-18[configuration] implementations for log's log.any.fieldIsStatic config.Reinier Zwitserloot
2014-01-18[configuration] implementation of flagUsage for all handlers.Reinier Zwitserloot
2014-01-15added package-infos to lots of packages, updated the javadoc in these, and ↵Reinier Zwitserloot
made lots of private/package private methods 'public' in packages that aren't actually public API. Tumi asked for this, and I can imagine this is useful for others who are hacking add-ons to lombok. The package-info files clarify that we aren't committing to long-term stability of anything except the stuff directly in the lombok package, lombok.experimental, and lombok.extern.
2013-12-11semi-fix for issue 602, but not complete as adding annotations to generated ↵Reinier Zwitserloot
fields leads to crazy issues (see issue 217): generated LOG field now has @SuppressWarnings on it.
2013-12-03Fix for Issue #591: v1.12.2 doesn't well with netbeans.Roel Spilker
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-03-11Added @Log4j2 support.Reinier Zwitserloot
2012-10-30Added annotation for the slf4j extended loggergrootjans
2012-08-10* Added priorities to handlers, along with implementation of the priority ↵Reinier Zwitserloot
system for javac and ecj. * @Value now makes the class itself final by default.
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.
2011-06-20Javac/EclipseAnnotationHandler are now abstract classes instead of ↵Reinier Zwitserloot
interfaces; there were too many 'option' methods (methods where you return either true or false), so we really needed the ability to pick a default.
2011-05-30tracking if an annotation has been handled or not is now no longer doneReinier Zwitserloot
via the LombokAST object. Instead its tracked more directly in an attempt to avoid having to write all handlers as idempotent, and just in case issue #164 is a race condition (the handled-or-not is a synchronized CAS check). This does break API for other plugins, but the fix is trivial: Just make your 'handle' method return void. That 'we won't call you again' business in the decks never quite worked right anyway. Also, you might want to call Javac.(recursive)setHandledBy when you generate nodes, now.
2010-11-22- Renamed the diverse @Log annotations to give them distinct namesRoel Spilker
- Removed the option to specify a different class to log on - Updated tests and documentation
2010-11-09Experiment to try and make java 'self referential' by deleting the Enter and ↵Reinier Zwitserloot
MemberEnter state. So far it doesn't work yet.
2010-11-07Use the actual annotation value to process the @Log annotations instead of ↵Roel Spilker
their String representations.
2010-11-06Updated documentation on @Log and moved them all to lombok.extern.*Roel Spilker
2010-11-06Have j.u.l. be invoked with TargetType.class.getName() instead of "TargetType"Roel Spilker
2010-11-06Reorder parametersRoel Spilker
2010-11-06Use an annotation instead of implementations of interfacesRoel Spilker
2010-11-06Added support for Log4J, Commons and JUL in the javac handlerRoel Spilker