List<PathInfo> pathList = new ArrayList<PathInfo>(annotations.size());
List<Element> elementList = new ArrayList<Element>();
for (TypeElement type : annotations) {
Set<? extends Element> elements = roundEnv.getElementsAnnotatedWith(type);
for (Element target : elements) {
Path ann = target.getAnnotation(Path.class);
if (target.getKind().isClass()) {
TypeElement targetAsTypeElement = (TypeElement) target;
pathList.add(new PathInfo(ann, targetAsTypeElement.getQualifiedName().toString()));
elementList.add(target);
}