public Collection<Declaration> getDeclarationsAnnotatedWith(
                                                AnnotationTypeDeclaration a) {
        /*
         * create collection of Declarations annotated with a given
         * annotation.
         */

        CollectingAP proc = new CollectingAP(this, a);
        proc.process();
        return proc.decls;
    }