commit | 0c76c852ebeb2349772017a8737620b1452679ba | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Fri Nov 17 11:06:26 2023 -0800 |
committer | Makoto Onuki <omakoto@google.com> | Fri Nov 17 11:06:26 2023 -0800 |
tree | b905491002d1a4ddbe28a0161f636db0b5d6381b | |
parent | fff1a90416497cb8a3cc5ab9e8bb956c71ae24f6 [diff] |
[HostStubGen] Support non-static methods... ... with native substition classes. It turned out native methods can be non-static. Now we handle them in this way: - The substitution method still needs to be static. - And take the original 'this' as the first argument. The first argument type must match the source class. (e.g. the arg type can't be `Object`) Test: run-all-tests.sh Bug: 292141694 Change-Id: I9a53e1c155e138e466589c1a7684dcc86601e9c8