IType defType = javaProject.findType(element.getType().getQualifiedName());
ReferenceValueProperty rp = (ReferenceValueProperty) model;
IType targetType = null;
if( rp.eContainer() instanceof Property ) {
Property p = (Property) rp.eContainer();
if( p.eContainer() instanceof Element ) {
Element e = (Element) p.eContainer();
IType ownerType = javaProject.findType(e.getType().getQualifiedName());
IFXClass ownerClass = FXPlugin.getClassmodel().findClass(javaProject, ownerType);
IFXProperty ownerProp = ownerClass.getProperty(p.getName());