Fix for JavaTranslator handling of has with null last argument (#3278)

Fixed JavaTranslator to handle scenarios for has where the second or third arguments are null. If a null second or third argument is encountered, the method overload with a predicate type for the last arg should be avoided as a null predicate will throw NullPointerException.

Co-authored-by: Andrii Lomakin <andrey.lomakin@jetbrains.com>
3 files changed