code: public Attribute.Compound attribute(Symbol anno) {
          for (Attribute.Compound a : getRawAttributes()) {
              if (a.type.tsym == anno) return a;
          }
          return null;
      }
docs: Fetch a particular annotation from a symbol.