@@ -85,10 +85,10 @@ const std::vector<std::string> exception_needed_classes = { // NOLINT
85
85
// / Creates a class stub for exc_name and generates a
86
86
// / conditional GOTO such that exc_name is thrown when
87
87
// / cond is met.
88
- // / \par parameters: ` cond` : condition to be met in order
88
+ // / \param cond: condition to be met in order
89
89
// / to throw an exception
90
- // / ` original_loc` : source location in the original program
91
- // / ` exc_name` : the name of the exception to be thrown
90
+ // / \param original_loc: source location in the original program
91
+ // / \param exc_name: the name of the exception to be thrown
92
92
// / \return Returns the code initialising the throwing the
93
93
// / exception
94
94
codet java_bytecode_instrumentt::throw_exception (
@@ -171,9 +171,9 @@ codet java_bytecode_instrumentt::check_arithmetic_exception(
171
171
// / and throws ArrayIndexOutofBoundsException/generates an assertion
172
172
// / if necessary; Exceptions are thrown when the `throw_runtime_exceptions`
173
173
// / flag is set. Otherwise, assertions are emitted.
174
- // / \par parameters: ` array_struct`: the array being accessed
175
- // / ` idx` : index into the array
176
- // / ` original_loc: source location in the original code
174
+ // / \param array_struct: array being accessed
175
+ // / \param idx: index into the array
176
+ // / \param original_loc: source location in the original code
177
177
// / \return Based on the value of the flag `throw_runtime_exceptions`,
178
178
// / it returns code that either throws an ArrayIndexOutPfBoundsException
179
179
// / or emits an assertion checking the array access
@@ -216,9 +216,9 @@ codet java_bytecode_instrumentt::check_array_access(
216
216
// / ClassCastException/generates an assertion when necessary;
217
217
// / Exceptions are thrown when the `throw_runtime_exceptions` flag is set.
218
218
// / Otherwise, assertions are emitted.
219
- // / \par parameters: ` class1` : the subclass
220
- // / ` class2` : the super class
221
- // / ` original_loc: source location in the original code
219
+ // / \param class1: the subclass
220
+ // / \param class2: the super class
221
+ // / \param original_loc: source location in the original code
222
222
// / \return Based on the value of the flag `throw_runtime_exceptions`,
223
223
// / it returns code that either throws an ClassCastException or emits an
224
224
// / assertion checking the subtype relation
@@ -265,7 +265,7 @@ codet java_bytecode_instrumentt::check_class_cast(
265
265
// / generates an assertion when necessary;
266
266
// / Exceptions are thrown when the `throw_runtime_exceptions` flag is set.
267
267
// / Otherwise, assertions are emitted.
268
- // / \par parameters: ` expr` : the checked expression
268
+ // / \param expr: the checked expression
269
269
// / `original_loc: source location in the original code
270
270
// / \return Based on the value of the flag `throw_runtime_exceptions`,
271
271
// / it returns code that either throws an NullPointerException or emits an
@@ -295,8 +295,8 @@ codet java_bytecode_instrumentt::check_null_dereference(
295
295
// / generates an assertion when necessary;
296
296
// / Exceptions are thrown when the `throw_runtime_exceptions` flag is set.
297
297
// / Otherwise, assertions are emitted.
298
- // / \par parameters: ` length` : the checked length
299
- // / ` original_loc: source location in the original code
298
+ // / \param length: the checked length
299
+ // / \param original_loc: source location in the original code
300
300
// / \return Based on the value of the flag `throw_runtime_exceptions`,
301
301
// / it returns code that either throws an NegativeArraySizeException
302
302
// / or emits an assertion checking the subtype relation
@@ -358,7 +358,7 @@ void java_bytecode_instrumentt::prepend_instrumentation(
358
358
359
359
// / Augments `expr` with instrumentation in the form of either
360
360
// / assertions or runtime exceptions
361
- // / \par parameters: `expr`: the expression to be instrumented
361
+ // / \param `expr` the expression to be instrumented
362
362
void java_bytecode_instrumentt::instrument_code (exprt &expr)
363
363
{
364
364
codet &code=to_code (expr);
@@ -473,7 +473,7 @@ void java_bytecode_instrumentt::instrument_code(exprt &expr)
473
473
474
474
// / Computes the instrumentation for `expr` in the form of
475
475
// / either assertions or runtime exceptions.
476
- // / \par parameters: ` expr` : the expression for which we compute
476
+ // / \param expr: the expression for which we compute
477
477
// / instrumentation
478
478
// / \return: The instrumentation required for `expr`
479
479
codet java_bytecode_instrumentt::instrument_expr (
@@ -517,7 +517,7 @@ codet java_bytecode_instrumentt::instrument_expr(
517
517
const irep_idt &statement=side_effect_expr.get_statement ();
518
518
if (statement==ID_throw)
519
519
{
520
- // this corresponds to athrow and so we check that
520
+ // this corresponds to a throw and so we check that
521
521
// we don't throw null
522
522
result.copy_to_operands (
523
523
check_null_dereference (
@@ -526,7 +526,7 @@ codet java_bytecode_instrumentt::instrument_expr(
526
526
}
527
527
else if (statement==ID_java_new_array)
528
528
{
529
- // this correpond to new array so we check that
529
+ // this corresponds to new array so we check that
530
530
// length is >=0
531
531
result.copy_to_operands (
532
532
check_array_length (
@@ -562,7 +562,7 @@ codet java_bytecode_instrumentt::instrument_expr(
562
562
}
563
563
564
564
// / Instruments `expr`
565
- // / \par parameters: ` expr` : the expression to be instrumented
565
+ // / \param expr: the expression to be instrumented
566
566
void java_bytecode_instrumentt::operator ()(exprt &expr)
567
567
{
568
568
instrument_code (expr);
0 commit comments