VM_Class[] interfaces  = java.lang.JikesRVMSupport.getTypeForClass(C).asClass().getDeclaredInterfaces(); Class[]    jinterfaces = new Class[interfaces.length]; for (int i = 0; i != interfaces.length; i++) jinterfaces[i] = interfaces[i].getClassForType(); return jinterfaces;
}
  public static Class[] getInterfaces(Class C) {    if (!java.lang.JikesRVMSupport.getTypeForClass(C).isClassType())      return new Class[0];    VM_Class[] interfaces  = java.lang.JikesRVMSupport.getTypeForClass(C).asClass().getDeclaredInterfaces();    Class[]    jinterfaces = new Class[interfaces.length];    for (int i = 0; i != interfaces.length; i++)      jinterfaces[i] = interfaces[i].getClassForType();    return jinterfaces;  }