Finds block statements containing a single statement

import java

from Block b
where b.getNumStmt() = 1
select b