title: Unused parameters in Java
body: <p>If one has no intention of using a parameter in C++, one simply omits the name of the variable but keeps the type in the function declaration. Doing so is a light-weight method to signal to the compiler that one intends not to use a given parameter.</p>
  
  <p>Is this possible to replicate in Java? </p>
  
  <p>The scenario is this: I would like not to flood my code with <code>@SuppressWarnings("unused")</code> for every single button listener (because button listeners most often ignore the <code>View v</code> they receive), and yet I would like to be warned in general about the silly mistake of, say, not initializing a member variable by a parameter.</p>