From the top of my head:
```java
new Thread() {

    @Override
    public void run() {
        // ...
    }

}.start();
```

Just to clarify, I'm not telling that creating threads like this is good practice. But there is code like this out there. Whether a code generation tool should support it, that's discussable. Just to answer your question ;)