// FIR_IDENTICAL // FILE: usage.kt @Target(AnnotationTarget.TYPE) annotation class Anno data class P(val t1: T1, val t2: T2) fun foo(m: Manager>) { m.action {} } // FILE: Manager.java import org.jetbrains.annotations.NotNull; public interface Manager { @NotNull Manager action(@NotNull Consumer handler); } // FILE: Consumer.java @FunctionalInterface public interface Consumer { void accept(T t); }