@@ -444,18 +444,17 @@ class java_specialized_generic_class_typet : public java_class_typet
444
444
public:
445
445
// / Build the specialised version of the specific class, with the specified
446
446
// / parameters and name.
447
- // / \param new_tag: The new name for the class (like Generic<java::Float>)
447
+ // / \param generic_name: The new name for the class
448
+ // / (like Generic<java::Float>)
448
449
// / \param new_components: The specialised components
449
450
// / \return The newly constructed class.
450
451
java_specialized_generic_class_typet (
451
- const irep_idt &new_tag ,
452
+ const irep_idt &generic_name ,
452
453
const struct_typet::componentst &new_components)
453
454
{
454
455
set (ID_C_specialized_generic_java_class, true );
455
- // We are specialising the logic - so we don't want to be marked as generic
456
- set (ID_C_java_generics_class_type, false );
457
- set (ID_name, " java::" + id2string (new_tag));
458
- set (ID_base_name, id2string (new_tag));
456
+ set (ID_name, " java::" + id2string (generic_name));
457
+ set (ID_base_name, id2string (generic_name));
459
458
components () = new_components;
460
459
const std::string &class_tag = id2string (new_tag);
461
460
set_tag (class_tag.substr (0 , class_tag.find (' <' )));
0 commit comments