resolve ClassDef and PropertyDef