| 2321 | #endif // AVIAN_OPENJDK_SRC |
| 2322 | |
| 2323 | unsigned classDeclaredMethodCount(Thread* t, GcClass* c) |
| 2324 | { |
| 2325 | GcClassAddendum* addendum = c->addendum(); |
| 2326 | if (addendum) { |
| 2327 | int count = addendum->declaredMethodCount(); |
| 2328 | if (count >= 0) { |
| 2329 | return count; |
| 2330 | } |
| 2331 | } |
| 2332 | GcArray* table = cast<GcArray>(t, c->methodTable()); |
| 2333 | return table == 0 ? 0 : table->length(); |
| 2334 | } |
| 2335 | |
| 2336 | unsigned countMethods(Thread* t, GcClass* c, bool publicOnly) |
| 2337 | { |
nothing calls this directly
no test coverage detected