Using Intellij Idea 15.0.4. I added a new method to a class but it did not appear in the Structure tool window. I eventually found it, hidden in a bogus property element. It appears that because my method was named "setLocation" Idea assumed it was a setter for a property. But I already have a field called location, of a completely different type.
My workaround is to change the name of the method, but it seems to me that the assumed linkage between setters/getters and properties should check for matching types at least.
While I'm on the subject of the Structure window, it's very annoying that if I am editing a Java file with the Structure window in the right hand side, when I switch the active editor window to an XML layout file the preview window automatically appears in place of the Structure window but when I switch back to the Java file the Structure window is not restored. At least this prompted me to learn the keyboard shortcut for Structure.