void () { String text = """ public class BrokenAlignment { @SuppressWarnings({ "SomeInspectionIWantToIgnore" }) public void doSomething(int x, int y) { } }"""; init(100, text); int startFoldOffset = text.indexOf('@'); int endFoldOffset = text.indexOf(')'); addCollapsedFoldRegion(startFoldOffset, endFoldOffset, "/SomeInspectionIWantToIgnore/"); int endSelectionOffset = text.lastIndexOf("}