fix compilation
Propagate NotNull annotation to implementation.

(cherry picked from commit b44ca78251444ce97b98532fbe0061adb28afd59)
corrected method header text range calculation to work correctly with constructors (fixes IDEA-132781)
(cherry picked from commit c86bb7f)
Merge remote-tracking branch 'origin/139' into 139