@Test public void testInnerClassWithArgsConstructorInheritance() throws Exception { Inspection inspection = new InnerWithArgsInheritedInspection("Test"); TransformedInspection transformedInspection = new TransformedInspection(inspection); Object modifiedInspection = transformedInspection.getTransformedInspection(); verifyServerInspectionClass(modifiedInspection); }
public Inspection getTransformedInspection() { return transformedInspection; }
TransformedInspection { public Inspection getTransformedInspection() { return transformedInspection; } }
TransformedInspection { public Inspection getTransformedInspection() { return transformedInspection; } TransformedInspection(Inspection inspection); private  TransformedInspection(Class<?> originalClass, String newClassName, Inspection serverInspection); }
TransformedInspection { public Inspection getTransformedInspection() { return transformedInspection; } TransformedInspection(Inspection inspection); private  TransformedInspection(Class<?> originalClass, String newClassName, Inspection serverInspection); byte[] toBytecode(); NamedAsset toShrinkWrapAsset(); Class<?> getTransformedClass(); Inspection getTransformedInspection(); Class<?> getOriginalClass(); }
TransformedInspection { public Inspection getTransformedInspection() { return transformedInspection; } TransformedInspection(Inspection inspection); private  TransformedInspection(Class<?> originalClass, String newClassName, Inspection serverInspection); byte[] toBytecode(); NamedAsset toShrinkWrapAsset(); Class<?> getTransformedClass(); Inspection getTransformedInspection(); Class<?> getOriginalClass();  }