It is currently not possible to use autocomplete a statement link this:
as only myClass.foo is considered for autocompletion.
https://github.com/wcm-io/wcm-io/commit/d2065e464d2e702426adc34c0cc9da2cbc7a7501