void () { myFixture.addClass(""" package java.lang; public interface StringTemplate { Processor<String, RuntimeException> STR = null; @PreviewFeature(feature=PreviewFeature.Feature.STRING_TEMPLATES) @FunctionalInterface interface Processor<R, E extends Throwable> { R process(StringTemplate stringTemplate) throws E; } }"""); doTest(); checkQuickFixAll(); }