void (Object object) { if (object instanceof <error descr="Illegal generic type for instanceof">B</error>) {} if (object instanceof A.B) {} if (object instanceof A<?>.B) {} if (object instanceof A<?>) {} if (object instanceof <error descr="Illegal generic type for instanceof">A<String></error>) {} if (object instanceof A) {} if (object instanceof A[]) {} if (object instanceof <error descr="Illegal generic type for instanceof">B[]</error>) {} if (object instanceof A.B[]) {} }