Interesting. Yes, that is very similar to what I had in mind. The ideal solution for typing in Japanese is slightly different though since the things you're specifying are always comprised of two parts, allowing the system to always be two-step. I think I would have to go with a sequences of taps, since the things being specified could have many parts.
Let's say you select "method definition", for instance. After that (assuming we're writing Java), you'd have to select an 'access modifier', 'return type', 'method name', and 0 - N 'method parameters', and so on.
Let's say you select "method definition", for instance. After that (assuming we're writing Java), you'd have to select an 'access modifier', 'return type', 'method name', and 0 - N 'method parameters', and so on.