@@ -88,7 +88,7 @@ reference_typet java_lang_object_type()
8888}
8989
9090// / 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
9292// / type, or void* for arrays of references.
9393// / \param subtype Character indicating the type of array
9494reference_typet java_array_type (const char subtype)
@@ -119,7 +119,7 @@ reference_typet java_array_type(const char subtype)
119119
120120 symbol_typet symbol_type (" java::" +id2string (class_name));
121121 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));
123123
124124 return java_reference_type (symbol_type);
125125}
@@ -131,7 +131,7 @@ const typet &java_array_element_type(const symbol_typet &array_symbol)
131131 DATA_INVARIANT (
132132 is_java_array_tag (array_symbol.get_identifier ()),
133133 " Symbol should have array tag" );
134- return array_symbol.find_type (ID_C_element_type );
134+ return array_symbol.find_type (ID_element_type );
135135}
136136
137137// / 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)
141141 DATA_INVARIANT (
142142 is_java_array_tag (array_symbol.get_identifier ()),
143143 " Symbol should have array tag" );
144- return array_symbol.add_type (ID_C_element_type );
144+ return array_symbol.add_type (ID_element_type );
145145}
146146
147147// / Checks whether the given type is an array pointer type
@@ -555,7 +555,7 @@ typet java_type_from_string(
555555 case ' [' : // array type
556556 {
557557 // 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 .
559559 if (src.size ()<=1 )
560560 return nil_typet ();
561561 char subtype_letter=src[1 ];
@@ -567,7 +567,7 @@ typet java_type_from_string(
567567 subtype_letter==' T' ) // Array of generic types
568568 subtype_letter=' A' ;
569569 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);
571571 return tmp;
572572 }
573573
0 commit comments