class Test {
    static {
        List<MethodCandidate> l = new ArrayList<>();
        List<MethodCandidate1> l1 = new ArrayList<>();
    }

    private static class MethodCandidate {
    }

    private static class MethodCandidate1 {
    }
}