code: public void addAttribute(Attribute attr) {
          if (attr instanceof SourceFileAttr) {
              if (mSource != null) {
                  mAttributes.remove(mSource);
              }
              mSource = (SourceFileAttr)attr;
          }
          else if (attr instanceof InnerClassesAttr) {
              if (mInnerClassesAttr != null) {
                  mAttributes.remove(mInnerClassesAttr);
              }
              mInnerClassesAttr = (InnerClassesAttr)attr;
          }
  
          mAttributes.add(attr);
      }
docs: Add an attribute to this class.