1 package org.checkstyle.suppressionxpathfilter.unnecessaryparentheses; 2 3 public class InputXpathUnnecessaryParenthesesStringLiteral { 4 void foo () { 5 String str = ("Checkstyle") + "is cool"; // warn 6 } 7 }