Fix<XPathExpression>[] (XPathExpression expression, XPathType type, boolean explicit) { //noinspection unchecked return explicit ? new Fix[]{ new RemoveExplicitConversionFix(expression), new MakeTypeExplicitFix(expression, type), } : new Fix[]{ new MakeTypeExplicitFix(expression, type), }; }