Green’s Dictionary of Slang

glasses n.

SE in slang uses

In phrases

have one’s glasses on (v.) [stereotyped association of spectacles with intelligence]

(US black) to pose as an intellectual, to lay down the law.

[US]Cab Calloway New Hepsters Dict. in Calloway (1976) 256: got your glasses on: you are ritzy or snooty, you fail to recognize your friends, you are up-stage.