Green’s Dictionary of Slang

policeman n.

1. a bluebottle fly [play on bluebottle n. (2)].

[UK]Hotten Dict. of Modern Sl. etc. (2nd edn).
[UK]Hotten Sl. Dict.

2. (UK Und.) an informer, an untrustworthy criminal who seems over-inquisitive.

[UK]Sl. Dict. 257: Policeman [...] among the dangerous classes, a man who is unworthy of confidence, a sneak or mean fellow.
[UK]S. Scott Human Side of Crook and Convict Life 23: Men will listen to the vilest epithets, but call them ‘bogey’ ‘brassey,’ ‘copper’ or ‘policeman,’ and they will be at your throat.
[NZ]G. Newbold Big Huey 73: Anybody who went to the screws [...] was labelled a nark, a grasshopper, or a policeman.
[NZ]D. Looser Boobslang [U. Canterbury D.Phil. thesis] 143/1: policeman n. 1 an inmate informer 2 a nosey person who asks many questions.

3. (US prison) a term of abuse.

[US]A.J. Barr Let Tomorrow Come 213: ‘That guy’s screwy, policeman,’ the man calls who jeered at the guard earlier in the affair.