then ccess it in a static way. //non-static MyObject o = new MyObject(...); o.somethingStatic; //proper static way MyObject.somethingStatic;