@@ -36,19 +36,19 @@ private StatisticsObject() {
3636 this .json = new JSONObject ();
3737 }
3838
39-
4039 /**
4140 * Creates a new {@code StatisticsObject} with specified values.
4241 *
43- * @param address the contract address
44- * @param totalOpcodes the total number of opcodes
45- * @param totalJumps the total number of jumps
46- * @param resolvedJumps the number of resolved jumps
47- * @param definitelyUnreachableJumps the number of definitely unreachable jumps
48- * @param maybeUnreachableJumps the number of maybe unreachable jumps
49- * @param unsoundJumps the number of unsound jumps
50- * @param maybeUnsoundJumps the number of maybe unsound jumps
51- * @param json the JSON representation of the object
42+ * @param address the contract address
43+ * @param totalOpcodes the total number of opcodes
44+ * @param totalJumps the total number of jumps
45+ * @param resolvedJumps the number of resolved jumps
46+ * @param definitelyUnreachableJumps the number of definitely unreachable
47+ * jumps
48+ * @param maybeUnreachableJumps the number of maybe unreachable jumps
49+ * @param unsoundJumps the number of unsound jumps
50+ * @param maybeUnsoundJumps the number of maybe unsound jumps
51+ * @param json the JSON representation of the object
5252 */
5353 private StatisticsObject (String address , int totalOpcodes , int totalJumps , int resolvedJumps ,
5454 int definitelyUnreachableJumps ,
@@ -81,7 +81,6 @@ public String getAddress() {
8181 return address ;
8282 }
8383
84-
8584 /**
8685 * Returns the total number of opcodes.
8786 *
@@ -154,11 +153,11 @@ public static StatisticsObject newStatisticsObject() {
154153 return new StatisticsObject ();
155154 }
156155
157-
158156 /**
159157 * Sets the contract address.
160158 *
161159 * @param address the contract address
160+ *
162161 * @return the updated {@code StatisticsObject} instance
163162 */
164163 public StatisticsObject address (String address ) {
@@ -170,6 +169,7 @@ public StatisticsObject address(String address) {
170169 * Sets the total number of opcodes.
171170 *
172171 * @param totalOpcodes the total opcodes
172+ *
173173 * @return the updated {@code StatisticsObject} instance
174174 */
175175 public StatisticsObject totalOpcodes (int totalOpcodes ) {
@@ -181,18 +181,19 @@ public StatisticsObject totalOpcodes(int totalOpcodes) {
181181 * Sets the total number of jumps.
182182 *
183183 * @param totalJumps the total jumps
184+ *
184185 * @return the updated {@code StatisticsObject} instance
185186 */
186187 public StatisticsObject totalJumps (int totalJumps ) {
187188 this .totalJumps = totalJumps ;
188189 return this ;
189190 }
190191
191-
192192 /**
193193 * Sets the number of resolved jumps.
194194 *
195195 * @param resolvedJumps the resolved jumps
196+ *
196197 * @return the updated {@code StatisticsObject} instance
197198 */
198199 public StatisticsObject resolvedJumps (int resolvedJumps ) {
@@ -204,18 +205,19 @@ public StatisticsObject resolvedJumps(int resolvedJumps) {
204205 * Sets the number of definitely unreachable jumps.
205206 *
206207 * @param definitelyUnreachableJumps the definitely unreachable jumps
208+ *
207209 * @return the updated {@code StatisticsObject} instance
208210 */
209211 public StatisticsObject definitelyUnreachableJumps (int definitelyUnreachableJumps ) {
210212 this .definitelyUnreachableJumps = definitelyUnreachableJumps ;
211213 return this ;
212214 }
213215
214-
215216 /**
216217 * Sets the number of maybe unreachable jumps.
217218 *
218219 * @param maybeUnreachableJumps the maybe unreachable jumps
220+ *
219221 * @return the updated {@code StatisticsObject} instance
220222 */
221223 public StatisticsObject maybeUnreachableJumps (int maybeUnreachableJumps ) {
@@ -227,6 +229,7 @@ public StatisticsObject maybeUnreachableJumps(int maybeUnreachableJumps) {
227229 * Sets the number of unsound jumps.
228230 *
229231 * @param unsoundJumps the unsound jumps
232+ *
230233 * @return the updated {@code StatisticsObject} instance
231234 */
232235 public StatisticsObject unsoundJumps (int unsoundJumps ) {
@@ -238,6 +241,7 @@ public StatisticsObject unsoundJumps(int unsoundJumps) {
238241 * Sets the number of maybe unsound jumps.
239242 *
240243 * @param maybeUnsoundJumps the maybe unsound jumps
244+ *
241245 * @return the updated {@code StatisticsObject} instance
242246 */
243247 public StatisticsObject maybeUnsoundJumps (int maybeUnsoundJumps ) {
0 commit comments