public IvyModuleDescriptor getIvyModuleDescriptor() {
ModuleComponentResolveMetaData metaData = getMetaData();
if (metaData instanceof IvyModuleResolveMetaData) {
IvyModuleResolveMetaData ivyMetadata = (IvyModuleResolveMetaData) metaData;
return new DefaultIvyModuleDescriptor(ivyMetadata.getExtraInfo(), ivyMetadata.getBranch(), ivyMetadata.getStatus());
}
return null;
}