Skip to main content



      Home
Home » Language IDEs » AspectJ » AspectJ KOTLIN support(AspectJ KOTLIN support)
AspectJ KOTLIN support [message #1809875] Thu, 25 July 2019 04:33 Go to next message
Eclipse UserFriend
Hi Peers,

Recently I was working on method profiling in a Kotlin project. for Android. The issue I am facing is AspectJ is not able to weave my kotlin class files. Tried to google but none of the solutions seems to be worling.

Any leads would be of great help for us.
Re: AspectJ KOTLIN support [message #1830870 is a reply to message #1809875] Wed, 05 August 2020 10:48 Go to previous message
Eclipse UserFriend
Hi,

You can use aspect j in android (java & kotlin) by using a gradle plugin: https://github.com/Archinamon/android-gradle-aspectj

However there is a bug in AJ with deeply nested anonymous inner classes which kotlin does a lot via lambdas and the extensions in the std library.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=565713

Please upvote the bug if you want it fixed.
Previous Topic:Widget: Text
Next Topic:Please upvote request for compile-time weaving in kotlin
Goto Forum:
  


Current Time: Mon May 12 03:03:30 EDT 2025

Powered by FUDForum. Page generated in 0.05973 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top