Currently for nested classes a double colon is used, but it Xtend 2.4.1 (And earlier) a dollar sign is the correct syntax. The double colon has to be used for accessing static methods and fields.
However with the upcoming 2.4.2 also the dot operator is allowed for both, so it might be even nicer to just use that.