CtorDescriptor ctorDescriptor = cd.getCtorDescriptor(paramTypes, true);
assertNull(cd.getDefaultCtorDescriptor(false)); Constructor ctor = cd.getCtorDescriptor(new Class[] {Integer.class}, true).getConstructor(); assertNotNull(ctor); assertNull(cd.getDefaultCtorDescriptor(true)); CtorDescriptor ctorDescriptor = cd.getCtorDescriptor(new Class[] {Integer.class}, true); assertNull(ctorDescriptor); ctor = cd.getCtorDescriptor(new Class[] {String.class}, true).getConstructor(); assertNotNull(ctor);
CtorDescriptor ctorDescriptor = cd.getCtorDescriptor(paramTypes, true);