class AnnotationClassElem extends AnnotationElem {

  private final String desc;

  /**
   *
   * @param typeName
   *          type name
   * @param elementName
   *          name of element
   */
  public AnnotationClassElem(String typeName, String elementName) {
    this(typeName, 'c', elementName);
  }

  public AnnotationClassElem(String s, char kind, String name) {
    super(kind, name);
    this.desc = s;
  }

  @Override
  public String toString() {
    return super.toString() + " decription: " + desc;
  }

  public String getDesc() {
    return desc;
  }

  @Override
  public void apply(Switch sw) {
    ((IAnnotationElemTypeSwitch) sw).caseAnnotationClassElem(this);
  }

  @Override
  public int hashCode() {
    final int prime = 31;
    int result = super.hashCode();
    result = prime * result + ((desc == null) ? 0 : desc.hashCode());
    return result;
  }

  @Override
  public boolean equals(Object obj) {<FILL_FUNCTION_BODY>}
}

    if (this == obj) {
      return true;
    }
    if (!super.equals(obj) || (this.getClass() != obj.getClass())) {
      return false;
    }
    AnnotationClassElem other = (AnnotationClassElem) obj;
    if (this.desc == null) {
      if (other.desc != null) {
        return false;
      }
    } else if (!this.desc.equals(other.desc)) {
      return false;
    }
    return true;
  
<methods>public void <init>(char, java.lang.String) ,public boolean equals(java.lang.Object) ,public char getKind() ,public java.lang.String getName() ,public int hashCode() ,public void setName(java.lang.String) ,public java.lang.String toString() <variables>private final non-sealed char kind,private java.lang.String name