entry point finding

not quite done yet, need to figure out how to best write
`definitions.isArrayOfSymbol` (see scalac). for that, need to
understand the `Type` classes in dotty.