static boolean isTopLevelTypeInCatchSection(@NotNull IElementType nodeType, ASTNode node) {
    if (nodeType != JavaElementType.TYPE) return false;
    ASTNode parent = node.getTreeParent();
    if (parent == null || parent.getElementType() != JavaElementType.PARAMETER) return false;
    ASTNode grandParent = parent.getTreeParent();
    return grandParent != null && grandParent.getElementType() == JavaElementType.CATCH_SECTION;
  }
static boolean isTopLevelTypeInCatchSection(@NotNull IElementType nodeType, ASTNode node)