I have to map an object to list of another objects like below
public List map(ClassA A){
List<ClassB> list = new ArrayList<ClassB>();
ClassB C1 = new ClassB();
ClassB C2= new ClassB();
.... Logic to populate C1 and C2 from ClassA add C1 and C2 to list
return list;
}
In the generated Impl class, I am getting a complilation error "Cannot find the symbol ClassB". The class "ClassB" is not imported to the generated impl class. Please help me in solving this.