class NullCheckTag implements OneByteCodeTag {

  public static final String NAME = "NullCheckTag";

  private final byte value;

  public NullCheckTag(boolean needCheck) {
    if (needCheck) {
      this.value = 0x04;
    } else {
      this.value = 0;
    }
  }

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

  @Override
  public byte[] getValue() {
    return new byte[] { value };
  }

  public boolean needCheck() {
    return (value != 0);
  }

  @Override
  public String toString() {<FILL_FUNCTION_BODY>}
}

    return (value == 0) ? "[not null]" : "[unknown]";
  
<no_super_class>