I am working on checkstyle for our project, and i ran into problem which i am not able to solve.
What I need is to check if there is whitespace inside a curly brackets defining some array elements (between bracket and element).
Like this:
@SuppressWarnings({ "element1", "element2" })
^ ^
And it should throw violation if they are not present.
I am new to checkstyle, and I wasn't able to find any good way to do this.