AutoFactory: allow annotating factories
Author: cgrushkoCreated May 14, 2014Updated Jul 10, 2024
Labelstype=additionComponent: factoryP3
My manually-written factories sometimes have annotations to allow some compile-time validating. Would be awesome if I could write
@AutoFactory(annotate = BlaBlaAnnotation) public Foo();
to have this generated:
@BlaBlaAnnotation class FooFactory {}
Source: google/auto