class WifiParsedResult extends ParsedResult {

  private final String ssid;
  private final String networkEncryption;
  private final String password;
  private final boolean hidden;
  private final String identity;
  private final String anonymousIdentity;
  private final String eapMethod;
  private final String phase2Method;

  public WifiParsedResult(String networkEncryption, String ssid, String password) {
    this(networkEncryption, ssid, password, false);
  }

  public WifiParsedResult(String networkEncryption, String ssid, String password, boolean hidden) {
    this(networkEncryption, ssid, password, hidden, null, null, null, null);
  }

  public WifiParsedResult(String networkEncryption,
                          String ssid,
                          String password,
                          boolean hidden,
                          String identity,
                          String anonymousIdentity,
                          String eapMethod,
                          String phase2Method) {
    super(ParsedResultType.WIFI);
    this.ssid = ssid;
    this.networkEncryption = networkEncryption;
    this.password = password;
    this.hidden = hidden;
    this.identity = identity;
    this.anonymousIdentity = anonymousIdentity;
    this.eapMethod = eapMethod;
    this.phase2Method = phase2Method;
  }

  public String getSsid() {
    return ssid;
  }

  public String getNetworkEncryption() {
    return networkEncryption;
  }

  public String getPassword() {
    return password;
  }

  public boolean isHidden() {
    return hidden;
  }

  public String getIdentity() {
    return identity;
  }

  public String getAnonymousIdentity() {
    return anonymousIdentity;
  }

  public String getEapMethod() {
    return eapMethod;
  }

  public String getPhase2Method() {
    return phase2Method;
  }

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

}

    StringBuilder result = new StringBuilder(80);
    maybeAppend(ssid, result);
    maybeAppend(networkEncryption, result);
    maybeAppend(password, result);
    maybeAppend(Boolean.toString(hidden), result);
    return result.toString();
  
<methods>public abstract java.lang.String getDisplayResult() ,public final com.google.zxing.client.result.ParsedResultType getType() ,public static void maybeAppend(java.lang.String, java.lang.StringBuilder) ,public static void maybeAppend(java.lang.String[], java.lang.StringBuilder) ,public final java.lang.String toString() <variables>private final non-sealed com.google.zxing.client.result.ParsedResultType type