@@ -88,7 +88,7 @@ reference_typet java_lang_object_type()
88
88
}
89
89
90
90
// / Construct an array pointer type. It is a pointer to a symbol with identifier
91
- // / java::array[]. Its ID_C_element_type is set to the corresponding primitive
91
+ // / java::array[]. Its ID_element_type is set to the corresponding primitive
92
92
// / type, or void* for arrays of references.
93
93
// / \param subtype Character indicating the type of array
94
94
reference_typet java_array_type (const char subtype)
@@ -119,7 +119,7 @@ reference_typet java_array_type(const char subtype)
119
119
120
120
symbol_typet symbol_type (" java::" +id2string (class_name));
121
121
symbol_type.set (ID_C_base_name, class_name);
122
- symbol_type.set (ID_C_element_type , java_type_from_char (subtype));
122
+ symbol_type.set (ID_element_type , java_type_from_char (subtype));
123
123
124
124
return java_reference_type (symbol_type);
125
125
}
@@ -131,7 +131,7 @@ const typet &java_array_element_type(const symbol_typet &array_symbol)
131
131
DATA_INVARIANT (
132
132
is_java_array_tag (array_symbol.get_identifier ()),
133
133
" Symbol should have array tag" );
134
- return array_symbol.find_type (ID_C_element_type );
134
+ return array_symbol.find_type (ID_element_type );
135
135
}
136
136
137
137
// / Return a non-const reference to the element type of a given java array type
@@ -141,7 +141,7 @@ typet &java_array_element_type(symbol_typet &array_symbol)
141
141
DATA_INVARIANT (
142
142
is_java_array_tag (array_symbol.get_identifier ()),
143
143
" Symbol should have array tag" );
144
- return array_symbol.add_type (ID_C_element_type );
144
+ return array_symbol.add_type (ID_element_type );
145
145
}
146
146
147
147
// / Checks whether the given type is an array pointer type
@@ -555,7 +555,7 @@ typet java_type_from_string(
555
555
case ' [' : // array type
556
556
{
557
557
// If this is a reference array, we generate a plain array[reference]
558
- // with void* members, but note the real type in ID_C_element_type .
558
+ // with void* members, but note the real type in ID_element_type .
559
559
if (src.size ()<=1 )
560
560
return nil_typet ();
561
561
char subtype_letter=src[1 ];
@@ -567,7 +567,7 @@ typet java_type_from_string(
567
567
subtype_letter==' T' ) // Array of generic types
568
568
subtype_letter=' A' ;
569
569
typet tmp=java_array_type (std::tolower (subtype_letter));
570
- tmp.subtype ().set (ID_C_element_type , subtype);
570
+ tmp.subtype ().set (ID_element_type , subtype);
571
571
return tmp;
572
572
}
573
573
0 commit comments