Fix method scoring

- Fix method scoring involving initializer expressions (i.e. `{1, 2}`)
- Parse initializer expressions without context type when followed by these
  operators ".", "?.", "*.", "==", "!=", "<>", "===", "!==", "#", "?", "?[",
  "[". For example in `methodFoo({1, 2}.add(3))` we parse `{1, 2}` without the
  context of the formal parameter of `methodFoo`.
- Include generic types in `JavaType#getAllTypesInHierarchy`