@@ -4595,17 +4595,20 @@ class class_method_descriptor_exprt : public nullary_exprt
4595
4595
// / \param class_id: Unique identifier in the symbol table, of the compile
4596
4596
// / time type of the class which this expression is applied to. For example
4597
4597
// / this could be - `java::java.lang.Object`.
4598
+ // / \param base_method_name: The name of the method to which this expression
4599
+ // / is applied as would be seen in the source code. For example this could
4600
+ // / be - `toString`.
4598
4601
explicit class_method_descriptor_exprt (
4599
4602
typet _type,
4600
4603
irep_idt component_name,
4601
4604
irep_idt class_id,
4602
- irep_idt base_name ,
4605
+ irep_idt base_method_name ,
4603
4606
irep_idt identifier)
4604
4607
: nullary_exprt(ID_virtual_function, std::move(_type))
4605
4608
{
4606
4609
set (ID_component_name, std::move (component_name));
4607
4610
set (ID_C_class, std::move (class_id));
4608
- set (ID_C_base_name, std::move (base_name ));
4611
+ set (ID_C_base_name, std::move (base_method_name ));
4609
4612
set (ID_identifier, std::move (identifier));
4610
4613
}
4611
4614
@@ -4622,7 +4625,9 @@ class class_method_descriptor_exprt : public nullary_exprt
4622
4625
return get (ID_C_class);
4623
4626
}
4624
4627
4625
- const irep_idt &get_base_name () const
4628
+ // / The name of the method to which this expression is applied as would be
4629
+ // / seen in the source code. For example this could be - `toString`.
4630
+ const irep_idt &base_method_name () const
4626
4631
{
4627
4632
return get (ID_C_base_name);
4628
4633
}
0 commit comments