adapt to notnulls introduced in idea 14

Unfortunately this change is incompatible with IDEA 13, so it looks like separate branches should be maintained for these versions