These all are compilation errors. They say that you should use the reference to the instance of the class, because you use instance members (non-static ones), not the class itself. You should have used class name instead of instance variable to work with static members — they are not related to any instance, but to the class itself.
You can read some background explanation in my past answer:
What makes static methods accessible?[
^].
—SA