IDE-1527 Add null java package check and add a new constant "PERIOD"