Fixed some type errors in java/m3/AST (please check)

@shahia can you have a look, there are some real errors in java/m3/AST,
function createAsstsFromDirectory:
- dependencyUpdateSites
- buildProject
are unknown here.