generate static and instance method/field access forms