@Test public void testEmpty() { SootClass scJLO = getSootClass("java.lang.Object"); SootClass scEmpty = getSootClass("org.robovm.compiler.a.Empty"); VTable.Cache cache = new VTable.Cache(); VTable vtableJLO = cache.get(scJLO); VTable vtableEmpty = cache.get(scEmpty); assertArrayEquals(vtableJLO.getEntries(), vtableEmpty.getEntries()); }
public Entry[] getEntries() { return Arrays.copyOf(entries, entries.length); }
VTable { public Entry[] getEntries() { return Arrays.copyOf(entries, entries.length); } }
VTable { public Entry[] getEntries() { return Arrays.copyOf(entries, entries.length); } private  VTable(SootClass clazz, VTable parent); }
VTable { public Entry[] getEntries() { return Arrays.copyOf(entries, entries.length); } private  VTable(SootClass clazz, VTable parent); StructureConstant getStruct(); Entry[] getEntries(); int size(); Entry getEntry(SootMethod method); }
VTable { public Entry[] getEntries() { return Arrays.copyOf(entries, entries.length); } private  VTable(SootClass clazz, VTable parent); StructureConstant getStruct(); Entry[] getEntries(); int size(); Entry getEntry(SootMethod method);  }