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

Method getInterfaces

classpath/java/lang/Class.java:389–402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

387 }
388
389 public Class[] getInterfaces() {
390 ClassAddendum addendum = vmClass.addendum;
391 if (addendum != null) {
392 Object[] table = addendum.interfaceTable;
393 if (table != null) {
394 Class[] array = new Class[table.length];
395 for (int i = 0; i < table.length; ++i) {
396 array[i] = SystemClassLoader.getClass((VMClass) table[i]);
397 }
398 return array;
399 }
400 }
401 return new Class[0];
402 }
403
404 public native Class getEnclosingClass();
405

Callers 2

getGenericInterfacesMethod · 0.95
mainMethod · 0.80

Calls 1

getClassMethod · 0.95

Tested by 1

mainMethod · 0.64