<#C0922A726|> Hey guys, I have a question regardin...
# announcements
r
#C0922A726 Hey guys, I have a question regarding AOP in Kotlin / Java: Is it possible to write AOP in Kotlin that can then be applied to Java classes? For example: I want to change the value of avoidCatostrophe based on: - if a method has
headendId
and it’s value is
foo
then change
avoidCatostrophe
to true - if a method doesn’t have a parameter named
headendId
then don’t do anything. - Implementations of
foo
are in Java code.
public SomeObject foo(String headendId, boolean avoidCatostrophe);