View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.finalparameters;
2   
3   public class InputFinalParametersPrimitiveTypes
4   {
5       void foo(int i) {} //no warning
6       void foo1(int i, String k, float s) {} //no warning on 'i' and 's'
7       void foo2(String s, Object o, long l) {} //no warning on 'l'
8       void foo3(int[] array) {} //warning
9       void foo4(int i, float x, int[] s) {} //warning on 's'
10      void foo5(int x, long[] l, String s) {} //warning on 'l' and 's'
11  }