String (Object... infos) { final PsiType type = (PsiType)infos[0]; return InspectionGadgetsBundle.message( type instanceof PsiArrayType ? "optional.contains.array.problem.descriptor" : "optional.contains.collection.problem.descriptor"); }