I am using Kotlin with EJBs, and using the @Kotlin...
# java-to-kotlin-refactoring
d
I am using Kotlin with EJBs, and using the @KotlinAllOpenClass annotation, however I can not use the
private
keyword on a method, because it seems Kotlin will make it
static
or
final
and use of
private open fun methodName()
is invalid use of
open
keyword. However it seems it is not advised to
final
the method due to the proxy nature of EJB application server, because many facets are injected/provided so the container needs to be free to perform interception/injection of anything it sees fit to manage EE requirements. Is there a solution, is this a bug with
kotlin("plugin.allopen")
not understanding the full requirements ? Thanks