handle static accessors

Merged username-removed-383729 requested to merge gl-34 into master

Fixes #34 (closed) by differentiating between get foo and static get foo in a class