String (Object... infos) { final Object info = infos[0]; if (info instanceof PsiPostfixExpression postfixExpression) { final IElementType tokenType = postfixExpression.getOperationTokenType(); if (tokenType.equals(JavaTokenType.PLUSPLUS)) { return InspectionGadgetsBundle.message( "value.of.post.increment.problem.descriptor"); } else { return InspectionGadgetsBundle.message( "value.of.post.decrement.problem.descriptor"); } } else { final PsiPrefixExpression prefixExpression = (PsiPrefixExpression)info; final IElementType tokenType = prefixExpression.getOperationTokenType(); if (tokenType.equals(JavaTokenType.PLUSPLUS)) { return InspectionGadgetsBundle.message( "value.of.pre.increment.problem.descriptor"); } else { return InspectionGadgetsBundle.message( "value.of.pre.decrement.problem.descriptor"); } } }