static A nuStubInnerObject(Class c) { ret nuStubInnerObject(c, null); } static A nuStubInnerObject(Class c, O classFinder) ctex { Class outerType = getOuterClass(c, classFinder); Constructor m = c.getDeclaredConstructor(outerType); makeAccessible(m); return (A) m.newInstance(new O[] {null}); }