void () { // no warnings should be here String s = normalizeSpace(unknown()).trim(); String s3 = normalizeSpaceInverted(unknown()).trim(); String s4 = normalizeSpace(null).<warning descr="Method invocation 'trim' will produce 'NullPointerException'">trim</warning>(); }