| 2148 | }; |
| 2149 | |
| 2150 | static const JavaSAMSpec *find_sam(const char *qn) { |
| 2151 | if (!qn) |
| 2152 | return NULL; |
| 2153 | for (int i = 0; JAVA_SAM_TABLE[i].qn; i++) { |
| 2154 | if (strcmp(JAVA_SAM_TABLE[i].qn, qn) == 0) |
| 2155 | return &JAVA_SAM_TABLE[i]; |
| 2156 | } |
| 2157 | return NULL; |
| 2158 | } |
| 2159 | |
| 2160 | /* Compute the SAM's `param_idx`-th parameter type for a functional interface |
| 2161 | * `fi_qn` parameterized with `targs`. Returns cbm_type_unknown() when the |
no outgoing calls
no test coverage detected