I have a saving/loading framework that is supposed to save arbitrary object graphs. This includes instances of non-static nested classes.
Nested classes require are own
Okay, turns out I was barking up the wrong tree. The method I've outlined works perfectly well on Android just as well as anywhere else. The problem was that the class I was trying to instantiate in this case was a static internal class. So, while it was a member class, it didn't have a reference to its outer class. I just have to check if (!Modifier.isStatic(objectClass.getModifiers()))
before looking for a synthetic constructor/field.