PsiElement (PsiElement method) { if (method instanceof PsiParameterListOwner) { return ((PsiParameterListOwner)method).getBody(); } else if (method instanceof PsiClassInitializer) { return ((PsiClassInitializer)method).getBody(); } return null; }