Support "new T()", "T::const" and "T::$static" inside annotations

This pull request fixes issue #36