ClassInfo intf = (ClassInfo)c.allInterfaces.elementAt( i );
MethodConstant mtab[] = intf.refMethodtable;
int nmethods = mtab.length;
short ivec[] = new short[ nmethods ];
for( int j = 0; j < nmethods; j++ ){
MethodInfo target = mtab[j].find();
if ( (target.access&Const.ACC_STATIC) != 0 ){
// should never happen.
System.err.println("Interface "+intf.className+" has a static method in its methodtable:! "+target);
continue;
}
MethodInfo v = findSlot( c.refMethodtable, target );
if ( v == null ){
System.err.println("Class "+c.className+" does not implement interface "+intf.className+" because it lacks "+target);
ivec[ j ] = 0;
} else {
ivec[ j ] = (short)v.methodTableIndex;