File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 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(
393393 new_symbol.base_name = base_name;
394394 new_symbol.pretty_name =c.name ;
395395 new_symbol.name =qualified_classname;
396- class_type.set (ID_name, new_symbol.name );
396+ class_type.set_name ( new_symbol.name );
397397 new_symbol.type =class_type;
398398 new_symbol.mode =ID_java;
399399 new_symbol.is_type =true ;
@@ -716,15 +716,15 @@ void java_bytecode_convert_classt::add_array_types(symbol_tablet &symbol_table)
716716 if (symbol_table.has_symbol (symbol_type_identifier))
717717 return ;
718718
719- class_typet class_type;
719+ java_class_typet class_type;
720720 // we have the base class, java.lang.Object, length and data
721721 // of appropriate type
722722 class_type.set_tag (symbol_type_identifier);
723723 // Note that non-array types don't have "java::" at the beginning of their
724724 // tag, and their name is "java::" + their tag. Since arrays do have
725725 // "java::" at the beginning of their tag we set the name to be the same as
726726 // the tag.
727- class_type.set (ID_name, symbol_type_identifier);
727+ class_type.set_name ( symbol_type_identifier);
728728
729729 class_type.components ().reserve (3 );
730730 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(
222222{
223223 java_class_typet string_type;
224224 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));
226226 string_type.components ().resize (3 );
227227 string_type.components ()[0 ].set_name (" @java.lang.Object" );
228228 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(
6767 message_handlert &message_handler,
6868 const struct_union_typet::componentst &componentst)
6969{
70- class_typet class_type;
70+ java_class_typet class_type;
7171
7272 class_type.set_tag (class_name);
7373 class_type.set (ID_base_name, class_name);
@@ -79,7 +79,7 @@ void generate_class_stub(
7979 new_symbol.base_name =class_name;
8080 new_symbol.pretty_name =class_name;
8181 new_symbol.name =" java::" +id2string (class_name);
82- class_type.set (ID_name, new_symbol.name );
82+ class_type.set_name ( new_symbol.name );
8383 new_symbol.type =class_type;
8484 new_symbol.mode =ID_java;
8585 new_symbol.is_type =true ;
You can’t perform that action at this time.
0 commit comments