code: public static boolean areSameByClass(AnnotationMirror am, Class<? extends Annotation> anno) {
          return areSameByName(am, anno.getCanonicalName().intern());
      }
docs: Checks that the annotation {@code am} has the name of {@code anno}.
  Values are ignored.