This needs to be static. It's not safe to call non-static methods in a constructor (certainly not before all fields are initialized).