moved some methods to Aadl2InstanceUitl