Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » AspectJ KOTLIN support(AspectJ KOTLIN support)
AspectJ KOTLIN support [message #1809875] Thu, 25 July 2019 08:33 Go to next message
Hitesh  Das is currently offline Hitesh DasFriend
Messages: 1
Registered: July 2019
Junior Member
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 14:48 Go to previous message
Justin Tullgren is currently offline Justin TullgrenFriend
Messages: 1
Registered: August 2020
Junior Member
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: Fri Mar 29 11:15:09 GMT 2024

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

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

Back to the top