I have a couple of packages in a library that contain annotations and base classes. I'm extending javax.annotation.processing.AbstractProcessor in the context of this question.
Is there a way to get a List/Array/Set of java.lang.TypeElement for all types declared in a package? Or even Elements?
Currently I have a workaround that marks classes into groups by using an annotation on a Type that solely exists to denote groups of related objects in the library. Is there a simpler way to group Types together by package (i.e. location) rather than explicit declaration?