-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b04
This is a cleanup to convert all casts within instanceof checks and array type access via Array.newInstance().getClass() in java.lang.reflect, java.lang.invoke, and their implementation packages to pattern matching in instanceof and arrayType() calls. A few sites of unchecked casts (e.g. Map to Map<String, String>) are omitted.