Closed almondtools closed 8 years ago
First approach with e.g. com.almondtools.testrecorder.scenarios.HiddenInnerClass$Hidden
import com.almondtools.testrecorder.scenarios.HiddenInnerClass.Hidden;
@Replaces
@ReplacedBy("com.almondtools.testrecorder.scenarios.HiddenInnerClass$Hidden")
private static class Hidden {
}
Solved. Yet not a static inner class will be produced but a Wrapped
-Object containing the clazz and the object needed.
Serializing an Object containing a field typed with a public-invisible type (e.g. private inner class) produces imports (and assigments) with compile errors.