J2K: improved asserts.
(Additionally it needs for investigate EA-37704)
J2K: Convert a Java code from clipboard only when paste it (to Kotlin file) instead of when copy to clipboard.