For example, have referenced web services in blue, permission actions in red, entity actions in green, etc.
It would facilitate the semantic reading of code. However it could look like a rainbow or something weirder.
OR
it could just be a small icon overlapped, which would identify the type of action.