void () { String source = """ class A { protected String s; A(String t) { this.s = s; t = t; s = this.s; } } class B extends A { B(String t) { super.s = s; } }"""; String pattern = "'_var='_var"; assertEquals(4, findMatchesCount(source, pattern)); }