public static boolean isPrimitiveCast(@NotNull LighterAST tree, @NotNull LighterASTNode node) {
    LighterASTNode typeElement = LightTreeUtil.firstChildOfType(tree, node, TYPE);
    if (typeElement != null) {
      LighterASTNode item = ContainerUtil.getOnlyItem(tree.getChildren(typeElement));
      return item != null && item.getTokenType() instanceof IKeywordElementType;
    }
    return false;
  }
public static boolean isPrimitiveCast(@NotNull LighterAST tree, @NotNull LighterASTNode node)