File tree 2 files changed +4
-0
lines changed 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 13
13
#include < java_bytecode/java_types.h>
14
14
15
15
#include < boost/algorithm/string/predicate.hpp>
16
+ #include < boost/algorithm/string/replace.hpp>
16
17
17
18
entry_pointt::entry_pointt (
18
19
const std::string &class_name,
@@ -59,6 +60,8 @@ jsont entry_pointt::to_json()
59
60
method_obj[json_namest::return_type] = json_stringt (method.return_type );
60
61
method_obj[json_namest::name] = json_stringt (method.name );
61
62
method_obj[json_namest::signature] = json_stringt (method.signature );
63
+ method_obj[json_namest::synthetic_method_name] = json_stringt (
64
+ boost::replace_all_copy (class_name, " ." , " " ) + " _" + method.name );
62
65
63
66
return json_entry_point;
64
67
}
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ class entry_pointt
21
21
{
22
22
public:
23
23
static constexpr const char *name = " name" ;
24
+ static constexpr const char *synthetic_method_name = " syntheticMethodName" ;
24
25
static constexpr const char *signature = " signature" ;
25
26
static constexpr const char *type = " type" ;
26
27
static constexpr const char *arguments = " arguments" ;
You can’t perform that action at this time.
0 commit comments