simplified SandboxTransformer by reusing ClassCodeVisitor functionality
to visit complete class contents