public static Class getDeclaringClass(Constructor c) { return java.lang.reflect.JikesRVMSupport.getMethodOf(c).getDeclaringClass().getClassForType();
public static Class getDeclaringClass(Class C) { VM_Type type = java.lang.JikesRVMSupport.getTypeForClass(C); if (!type.isClassType()) return null; VM_TypeReference dc = type.asClass().getDeclaringClass(); if (dc == null) return null; try { return dc.resolve().getClassForType(); } catch (ClassNotFoundException e) { if (VM.VerifyAssertions) VM._assert(false); } return null;
  public static Class getDeclaringClass(Constructor c) {    return java.lang.reflect.JikesRVMSupport.getMethodOf(c).getDeclaringClass().getClassForType();  }