Skip to content

Commit e8a3ee3

Browse files
Update docs on java_method_typet constructor
1 parent 06127f0 commit e8a3ee3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jbmc/src/java_bytecode/java_types.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ class java_method_typet : public code_typet
248248
using code_typet::parameterst;
249249
using code_typet::parametert;
250250

251-
/// Constructs a new code type, i.e. function type
252-
/// \param _parameters: the vector of function parameters
251+
/// Constructs a new code type, i.e. method type
252+
/// \param _parameters: the vector of method parameters
253253
/// \param _return_type: the return type
254254
java_method_typet(parameterst &&_parameters, typet &&_return_type)
255255
{
@@ -258,8 +258,8 @@ class java_method_typet : public code_typet
258258
return_type().swap(_return_type);
259259
}
260260

261-
/// Constructs a new code type, i.e. function type
262-
/// \param _parameters: the vector of function parameters
261+
/// Constructs a new code type, i.e. method type
262+
/// \param _parameters: the vector of method parameters
263263
/// \param _return_type: the return type
264264
java_method_typet(parameterst &&_parameters, const typet &_return_type)
265265
{

0 commit comments

Comments
 (0)