Please note that the tree structure of java PSI has been changed in the
upcoming EAP build: catch parameters and catch blocks are no longer located
under PsiTryStatement but have the parent of PsiCatchSection.
Also for PsiParameter the legitimate way of getting enclosing
PsiTryStatement is to use getDeclarationScope().