I have a class
public class Rectangle
abstract List<Rectangle> getC();
As per the suggestion by @Henrik and @zeppelin. I tried out the code and it works fine having a List of same class objects when using Jackson mixin.