ObjectType objType = type.toObjectType();
if (objType != null) {
Node pNode = objType.getPropertyNode(propName);
if (pNode != null && srcName.equals(pNode.getSourceFileName())) {
typeRegistry.unregisterPropertyOnType(propName, type);
objType.removeProperty(propName);
}
}
}
}
}