void () { getFixture().configureByText("a.groovy", """ def builder = new groovy.json.JsonBuilder() builder.people { person { string "fdsasdf" mapCall( city: 'A', country: 'B', zip: 12345, ) boolCall true varArgs '1111', 22222 empty() <warning>someProperty</warning> } <warning>someProperty</warning> } builder.<warning>root</warning> builder.root<warning>(new Object())</warning> builder.root<warning>(new Object[0])</warning> builder.root<warning>([new Object(), new Object()])</warning> builder.root<warning>([], new Object(), {})</warning> """); getFixture().enableInspections(GroovyAssignabilityCheckInspection.class, GrUnresolvedAccessInspection.class); getFixture().checkHighlighting(true, false, true); }