1 2 3 4 5 6 7 8 9 10
package test2; public class AddMethod { @SuppressWarnings("unused") private int f; public int f() { return 0; } public AddMethod() {} public int f(int i) { return i; } }