Inlining it makes it even more unreadable.
That's just a very boring part of the code which creates a specific pattern of states.
I've created a small picture in one of the comments which layout the result.
Java is not the best language to make this look nice.