Add in the public static method creation

I add in the public static method outside the scope of class. However,
this static method can not accessed the static private variables inside
the scope of class. I think of one option inside file to access the
static private methods and variables and change them.