It is currently not possible to use autocomplete a statement link this:
as only myClass.foo is considered for autocompletion.