File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ void java_bytecode_convert_classt::convert(
393
393
new_symbol.base_name = base_name;
394
394
new_symbol.pretty_name =c.name ;
395
395
new_symbol.name =qualified_classname;
396
- class_type.set (ID_name, new_symbol.name );
396
+ class_type.set_name ( new_symbol.name );
397
397
new_symbol.type =class_type;
398
398
new_symbol.mode =ID_java;
399
399
new_symbol.is_type =true ;
@@ -716,15 +716,15 @@ void java_bytecode_convert_classt::add_array_types(symbol_tablet &symbol_table)
716
716
if (symbol_table.has_symbol (symbol_type_identifier))
717
717
return ;
718
718
719
- class_typet class_type;
719
+ java_class_typet class_type;
720
720
// we have the base class, java.lang.Object, length and data
721
721
// of appropriate type
722
722
class_type.set_tag (symbol_type_identifier);
723
723
// Note that non-array types don't have "java::" at the beginning of their
724
724
// tag, and their name is "java::" + their tag. Since arrays do have
725
725
// "java::" at the beginning of their tag we set the name to be the same as
726
726
// the tag.
727
- class_type.set (ID_name, symbol_type_identifier);
727
+ class_type.set_name ( symbol_type_identifier);
728
728
729
729
class_type.components ().reserve (3 );
730
730
class_typet::componentt base_class_component (
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ void java_string_library_preprocesst::add_string_type(
222
222
{
223
223
java_class_typet string_type;
224
224
string_type.set_tag (class_name);
225
- string_type.set (ID_name, " java::" +id2string (class_name));
225
+ string_type.set_name ( " java::" +id2string (class_name));
226
226
string_type.components ().resize (3 );
227
227
string_type.components ()[0 ].set_name (" @java.lang.Object" );
228
228
string_type.components ()[0 ].set_pretty_name (" @java.lang.Object" );
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ void generate_class_stub(
67
67
message_handlert &message_handler,
68
68
const struct_union_typet::componentst &componentst)
69
69
{
70
- class_typet class_type;
70
+ java_class_typet class_type;
71
71
72
72
class_type.set_tag (class_name);
73
73
class_type.set (ID_base_name, class_name);
@@ -79,7 +79,7 @@ void generate_class_stub(
79
79
new_symbol.base_name =class_name;
80
80
new_symbol.pretty_name =class_name;
81
81
new_symbol.name =" java::" +id2string (class_name);
82
- class_type.set (ID_name, new_symbol.name );
82
+ class_type.set_name ( new_symbol.name );
83
83
new_symbol.type =class_type;
84
84
new_symbol.mode =ID_java;
85
85
new_symbol.is_type =true ;
You can’t perform that action at this time.
0 commit comments