tmp

These are new rules that are still in progress

SymbolTableTestRule

asdsad

Here's an example of code that would trigger this rule:

 
  
  // asdadas
  
   

IdempotentOperationsRule

Avoid idempotent operations - they are silly.

Here's an example of code that would trigger this rule:

 
  
public class Foo {
 public void bar() {
  int x = 2;
  x = x;
 }
}
  
   

UnnecessaryParentheses

Unnecessary parameters are a bit noisy

This rule is defined by the following XPath expression:


                
//ReturnStatement
 [count(//Expression) >1]
 [count(//PrimarySuffix)<2]
                
            

Here's an example of code that would trigger this rule:

 
  
public class Foo {
 public int bar() {
  return (42);
 }
}