code: public static String attributeNameToString(Attribute a) {
  
      ConstantPool pool = a.getConstantPool();
      int conIndex = a.getNameIndex();
      Constant c = pool.getConstant(conIndex);
      String attName = ((ConstantUtf8) c).getBytes();
      return attName;
    }
docs: Return the attribute name for the specified attribute, looked up in the original class file
  ConstantPool.
  
  @param a the attribute
  @return the attribute name for the specified attribute