Fixed KT-5276 J2K: Convert calls to getClass() to javaClass property access

 #KT-5276 Fixed