Support static getters and fields such as "[int]::MaxValue".