standarditem parent
I write switch statements rarely enough that I probably have to look up the syntax every second or third time I use one. There is no shame in forgetting something used rarely enough that it doesn't stick. Especially when you can quickly look it up.