decoding static and instance fields