I am writing an annotation Processor that generates Agenerated class from an annotated A class. I would like to be able to do something like
AgeneratedInst.getFoo().getBar()...
In order to do so I have to specify the return type which is the current class I am writing... Is there a way to do so?