MCPcopy Create free account
hub / github.com/ReadyTalk/avian / declaredMethodCount

Method declaredMethodCount

classpath/avian/Classes.java:226–236  ·  view source on GitHub ↗
(VMClass c)

Source from the content-addressed store, hash-verified

224 }
225
226 private static int declaredMethodCount(VMClass c) {
227 ClassAddendum a = c.addendum;
228 if (a != null) {
229 int count = a.declaredMethodCount;
230 if (count >= 0) {
231 return count;
232 }
233 }
234 VMMethod[] table = c.methodTable;
235 return table == null ? 0 : table.length;
236 }
237
238 public static void link(VMClass c, ClassLoader loader) {
239 acquireClassLock();

Callers 4

countMethodsMethod · 0.95
getMethodsMethod · 0.95
parseMethodTableFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected