class StringConstantValueTag extends ConstantValueTag {

  public static final String NAME = "StringConstantValueTag";

  private final String value;

  public StringConstantValueTag(String value) {
    super(AsmUtil.toUtf8(value));
    this.value = value;
  }

  public String getStringValue() {
    return value;
  }

  @Override
  public String getName() {
    return NAME;
  }

  @Override
  public String toString() {
    return "ConstantValue: " + value;
  }

  @Override
  public StringConstant getConstant() {
    return StringConstant.v(value);
  }

  @Override
  public int hashCode() {
    final int prime = 31;
    int result = super.hashCode();
    result = prime * result + ((value == null) ? 0 : value.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;
    }
    StringConstantValueTag other = (StringConstantValueTag) obj;
    if (this.value == null) {
      if (other.value != null) {
        return false;
      }
    } else if (!this.value.equals(other.value)) {
      return false;
    }
    return true;
  
<methods>public boolean equals(java.lang.Object) ,public abstract soot.jimple.Constant getConstant() ,public byte[] getValue() ,public int hashCode() ,public abstract java.lang.String toString() <variables>protected final non-sealed byte[] bytes