blob: 1194cd36b6b917e76e1207637d8419edd9a5e0e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>ReplOpts.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">everge</a> > <a href="index.source.html" class="el_package">bjc.everge</a> > <span class="el_source">ReplOpts.java</span></div><h1>ReplOpts.java</h1><pre class="source lang-java linenums">package bjc.everge;
import java.io.PrintStream;
/**
* Options for processing ReplPairs.
*
* @author Ben Culkin.
*/
<span class="fc" id="L10">public class ReplOpts {</span>
/**
* The default priority.
*/
<span class="fc" id="L14"> public int defPrior = 0;</span>
/**
* The default stage.
*/
<span class="fc" id="L19"> public int defStage = 0;</span>
/**
* Whether to process multi-line defns.
*/
<span class="fc" id="L24"> public boolean defMulti = false;</span>
/**
* Default status.
*/
<span class="fc" id="L29"> public StageStatus defStatus = StageStatus.BOTH;</span>
/**
* Enable debug info.
*/
<span class="fc" id="L34"> public boolean isDebug = true;</span>
/**
* Enable trace info.
*/
<span class="fc" id="L39"> public boolean isTrace = false;</span>
/**
* Enable performance info.
*/
<span class="fc" id="L44"> public boolean isPerf = false;</span>
<span class="fc" id="L46"> public PrintStream outStream = System.out;</span>
<span class="fc" id="L47"> public PrintStream errStream = System.err;</span>
@Override
public boolean equals(Object o) {
<span class="nc bnc" id="L51" title="All 2 branches missed."> if (o == null) return false;</span>
<span class="nc bnc" id="L53" title="All 2 branches missed."> if (!getClass().equals(o.getClass())) return false;</span>
<span class="nc" id="L55"> ReplOpts ro = (ReplOpts)o;</span>
<span class="nc bnc" id="L57" title="All 2 branches missed."> if (isPerf != ro.isPerf) return false;</span>
<span class="nc bnc" id="L59" title="All 2 branches missed."> if (isDebug != ro.isDebug) return false;</span>
<span class="nc bnc" id="L60" title="All 2 branches missed."> if (isTrace != ro.isTrace) return false;</span>
<span class="nc bnc" id="L62" title="All 2 branches missed."> if (defPrior != ro.defPrior) return false;</span>
<span class="nc bnc" id="L63" title="All 2 branches missed."> if (defStage != ro.defStage) return false;</span>
<span class="nc bnc" id="L64" title="All 2 branches missed."> if (defMulti != ro.defMulti) return false;</span>
<span class="nc bnc" id="L66" title="All 2 branches missed."> if (defStatus != ro.defStatus) return false;</span>
<span class="nc" id="L68"> return true;</span>
}
}
</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.2.201808211720</span></div></body></html>
|