While using the java extension for zed I experienced the following issue.
According to the zed docs e.g. af should select a function, which works fine for other languages but not java.
Note, that other treesitter-motions aren't working either, e.g. ic to select the content of a class