| 2213 | }; |
| 2214 | |
| 2215 | static const JavaSAMSpec *find_sam(const char *qn) { |
| 2216 | if (!qn) |
| 2217 | return NULL; |
| 2218 | for (int i = 0; JAVA_SAM_TABLE[i].qn; i++) { |
| 2219 | if (strcmp(JAVA_SAM_TABLE[i].qn, qn) == 0) |
| 2220 | return &JAVA_SAM_TABLE[i]; |
| 2221 | } |
| 2222 | return NULL; |
| 2223 | } |
| 2224 | |
| 2225 | /* Compute the SAM's `param_idx`-th parameter type for a functional interface |
| 2226 | * `fi_qn` parameterized with `targs`. Returns cbm_type_unknown() when the |
no outgoing calls
no test coverage detected