Added a JavaProjectModel.getNodesOfType(Class) which is now used in
ast/3. Speeds things up quite a bit for node types for which there is no
index.