@@ -252,11 +252,12 @@ const exprt java_bytecode_convert_methodt::variable(
252
252
// / message handler to collect warnings
253
253
// / \return
254
254
// / the constructed member type
255
- code_typet member_type_lazy (const std::string &descriptor,
256
- const optionalt<std::string> &signature,
257
- const std::string &class_name,
258
- const std::string &method_name,
259
- message_handlert &message_handler)
255
+ code_typet member_type_lazy (
256
+ const std::string &descriptor,
257
+ const optionalt<std::string> &signature,
258
+ const std::string &class_name,
259
+ const std::string &method_name,
260
+ message_handlert &message_handler)
260
261
{
261
262
// In order to construct the method type, we can either use signature or
262
263
// descriptor. Since only signature contains the generics info, we want to
@@ -320,7 +321,7 @@ void java_bytecode_convert_method_lazy(
320
321
{
321
322
symbolt method_symbol;
322
323
323
- code_typet member_type= member_type_lazy (
324
+ code_typet member_type = member_type_lazy (
324
325
m.descriptor ,
325
326
m.signature ,
326
327
id2string (class_symbol.name ),
@@ -356,7 +357,7 @@ void java_bytecode_convert_method_lazy(
356
357
// do we need to add 'this' as a parameter?
357
358
if (!m.is_static )
358
359
{
359
- code_typet::parameterst ¶meters= member_type.parameters ();
360
+ code_typet::parameterst ¶meters = member_type.parameters ();
360
361
code_typet::parametert this_p;
361
362
const reference_typet object_ref_type=
362
363
java_reference_type (symbol_typet (class_symbol.name ));
@@ -386,7 +387,7 @@ void java_bytecode_convert_methodt::convert(
386
387
// Obtain a std::vector of code_typet::parametert objects from the
387
388
// (function) type of the symbol
388
389
389
- code_typet code_type= to_code_type (method_symbol.type );
390
+ code_typet code_type = to_code_type (method_symbol.type );
390
391
code_type.set (ID_C_class, class_symbol.name );
391
392
method_return_type=code_type.return_type ();
392
393
code_typet::parameterst ¶meters=code_type.parameters ();
@@ -516,10 +517,10 @@ void java_bytecode_convert_methodt::convert(
516
517
517
518
// Check the fields that can't change are valid
518
519
INVARIANT (
519
- method_symbol.name == method_identifier,
520
+ method_symbol.name == method_identifier,
520
521
" Name of method symbol shouldn't change" );
521
522
INVARIANT (
522
- method_symbol.base_name == m.base_name ,
523
+ method_symbol.base_name == m.base_name ,
523
524
" Base name of method symbol shouldn't change" );
524
525
INVARIANT (
525
526
method_symbol.module .empty (),
@@ -543,11 +544,11 @@ void java_bytecode_convert_methodt::convert(
543
544
}
544
545
else
545
546
{
546
- method_symbol.pretty_name = id2string (class_symbol. pretty_name ) + " . " +
547
- id2string (m.base_name ) + " ()" ;
547
+ method_symbol.pretty_name =
548
+ id2string (class_symbol. pretty_name ) + " . " + id2string (m.base_name ) + " ()" ;
548
549
}
549
550
550
- method_symbol.type = code_type;
551
+ method_symbol.type = code_type;
551
552
552
553
current_method=method_symbol.name ;
553
554
method_has_this=code_type.has_this ();
0 commit comments