void () { String source = """ class A { void a() {} static void b() {} void c() { a(); b(); } } class B extends A { void d() { a(); b(); } }"""; String pattern1 = "this.a()"; assertEquals(2, findMatchesCount(source, pattern1)); }