I have Kotlin-compatible (and Groovy-compatible) D...
# intellij
c
I have Kotlin-compatible (and Groovy-compatible) DSL written in plain Java. Is there a way to mark some methods as DSL, without adding optional/provided dependency on kotlin.stdlib? I've tried to create annotation with the name @DslMarker in other package and mark my annotation with it. This approach works for some other annotations, but not for this annotation. Is it possible to ignore package of @DslMarker annotation IDEA when calculating whether the annotation marks DSL? On related note, I want the Java (and Groovy) code highlighted as DSL too under the same rules. There are a lot of plain-Java DSLs in the commercial projects where Kotlin is not a possible option yet.