@@ -44,15 +44,8 @@ symbol_tablet load_java_class_lazy(
44
44
java_class_name, class_path, main, get_language_from_mode (ID_java));
45
45
}
46
46
47
- // / Go through the process of loading, type-checking and finalising loading a
48
- // / specific class file to build the symbol table.
49
- // / \param java_class_name: The name of the class file to load. It should not
50
- // / include the .class extension.
51
- // / \param class_path: The path to load the class from. Should be relative to
52
- // / the unit directory.
53
- // / \param main: The name of the main function or "" to use the default
54
- // / behaviour to find a main function.
55
- // / \return The symbol table that is generated by parsing this file.
47
+ // / Returns the symbol table from
48
+ // / \ref load_goto_model_from_java_class(const std::string &java_class_name, const std::string &class_path, const std::string &main) // NOLINT
56
49
symbol_tablet load_java_class (
57
50
const std::string &java_class_name,
58
51
const std::string &class_path,
@@ -62,17 +55,7 @@ symbol_tablet load_java_class(
62
55
->get_symbol_table ();
63
56
}
64
57
65
- // / Go through the process of loading, type-checking and finalising loading a
66
- // / specific class file to build the symbol table.
67
- // / \param java_class_name: The name of the class file to load. It should not
68
- // / include the .class extension.
69
- // / \param class_path: The path to load the class from. Should be relative to
70
- // / the unit directory.
71
- // / \param main: The name of the main function or "" to use the default
72
- // / behaviour to find a main function.
73
- // / \param java_lang: The language implementation to use for the loading,
74
- // / which will be destroyed by this function.
75
- // / \return The symbol table that is generated by parsing this file.
58
+ // / Returns the symbol table from \ref load_goto_model_from_java_class
76
59
symbol_tablet load_java_class (
77
60
const std::string &java_class_name,
78
61
const std::string &class_path,
@@ -89,6 +72,20 @@ symbol_tablet load_java_class(
89
72
->get_symbol_table ();
90
73
}
91
74
75
+ // / Go through the process of loading, type-checking and finalising a
76
+ // / specific class file to build a goto model from it.
77
+ // / \param java_class_name: The name of the class file to load. It should not
78
+ // / include the .class extension.
79
+ // / \param class_path: The path to load the class from. Should be relative to
80
+ // / the unit directory.
81
+ // / \param main: The name of the main function or "" to use the default
82
+ // / behaviour to find a main function.
83
+ // / \param java_lang: The language implementation to use for the loading,
84
+ // / which will be destroyed by this function.
85
+ // / \param command_line: The command line used to configure the provided
86
+ // / language
87
+ // / \return The goto model containing both the functions and the symbol table
88
+ // / from loading this class.
92
89
std::unique_ptr<goto_modelt> load_goto_model_from_java_class (
93
90
const std::string &java_class_name,
94
91
const std::string &class_path,
@@ -162,6 +159,9 @@ std::unique_ptr<goto_modelt> load_goto_model_from_java_class(
162
159
return maybe_goto_model;
163
160
}
164
161
162
+ // / Returns the symbol table from \ref load_goto_model_from_java_class
163
+ // / with the command line set to be disabling lazy loading and string
164
+ // / refinement
165
165
symbol_tablet load_java_class (
166
166
const std::string &java_class_name,
167
167
const std::string &class_path,
@@ -180,6 +180,9 @@ symbol_tablet load_java_class(
180
180
java_class_name, class_path, main, std::move (java_lang), command_line);
181
181
}
182
182
183
+ // / See \ref load_goto_model_from_java_class
184
+ // / With the command line configured to disable lazy loading and string
185
+ // / refinement and the language set to be the default java_bytecode language
183
186
std::unique_ptr<goto_modelt> load_goto_model_from_java_class (
184
187
const std::string &java_class_name,
185
188
const std::string &class_path,
0 commit comments