In Java I can do the following: ``` @Retention(Ret...
# announcements
m
In Java I can do the following:
Copy code
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Inner {
}

@Retention(RetentionPolicy.RUNTIME)
public @interface Outer {
  @Inner
  int value();
}
Seems there’s no way to do the same thing in Kotlin.