Use pattern matching for instanceof to simplify the use of the instanceof operator in Java, thereby making your code safer and easier to write.
Java 13 delivers long-awaited multiline strings.