getType() to be static

Change-Id: I421a433a0b72a32e484097c6ca685c33e4cab34d