We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 780b7aa commit ff49433Copy full SHA for ff49433
jbmc/src/java_bytecode/java_types.h
@@ -158,6 +158,20 @@ class java_class_typet:public class_typet
158
return type_checked_cast<annotated_typet>(
159
static_cast<typet &>(*this)).get_annotations();
160
}
161
+
162
+ /// Get the name of the struct, which can be used to look up its symbol
163
+ /// in the symbol table.
164
+ irep_idt get_name() const
165
+ {
166
+ return get(ID_name);
167
+ }
168
169
+ /// Set the name of the struct, which can be used to look up its symbol
170
171
+ void set_name(const irep_idt &name)
172
173
+ set(ID_name, name);
174
175
};
176
177
inline const java_class_typet &to_java_class_type(const typet &type)
0 commit comments