@SomeAnnotation public record C1() { @SomeAnnotation public void m1() { } @SomeAnnotation @FunctionalInterface public interface SubInterface { } }