1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package com.puppycrawl.tools.checkstyle.checks.coding; public class InputRequireThis2 { private final int number = 1; public int check() { int sum = number; sum += other(); return sum; } private int other() { return 0; } }