@@ -444,18 +444,17 @@ class java_specialized_generic_class_typet : public java_class_typet
444444public:
445445 // / Build the specialised version of the specific class, with the specified
446446 // / 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>)
448449 // / \param new_components: The specialised components
449450 // / \return The newly constructed class.
450451 java_specialized_generic_class_typet (
451- const irep_idt &new_tag ,
452+ const irep_idt &generic_name ,
452453 const struct_typet::componentst &new_components)
453454 {
454455 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));
459458 components () = new_components;
460459 const std::string &class_tag = id2string (new_tag);
461460 set_tag (class_tag.substr (0 , class_tag.find (' <' )));
0 commit comments