void () { String source = """ public class TestClass { transient private String field1; transient String field2; String field3; }"""; assertEquals("Finding package-private transient fields", 1, findMatchesCount(source, "transient @Modifier(\"packageLocal\") '_Type '_Variable = '_Value?;")); }