Reports array declarations written in C-style syntax in which the array indicator brackets are placed after the variable name or after the method parameter list.

Example:


  public String process(String value[])[] {
    return value;
  }

Most code styles prefer Java-style array declarations in which the array indicator brackets are attached to the type name, for example:


  public String[] process(String[] value) {
    return value;
  }

Configure the inspection:

Use the Ignore C-style declarations in variables option to report C-style array declaration of method return types only.