Main { public static void main(String args[]) throws Exception {{ A a = A.parse(System.in); D d1 = a.violation1(); D d2 = a.no_violation1(new C(new D())); d1.set_d2(new Vector()); Vector v1 = d1.get_d2(); v1.add(A.parse(" ( e e ) ")); d1.check_collections(); System.out.println("done"); }} } A { {{ D violation1() { return this. get_b(). get_c(). get_d();} D no_violation1(C c1) { return c1. get_d();} }} } D { {{ void check_collections() { System.out.println(" check collections (Vector) "); Vector v1 = this.get_d2(); for(int i=0;i