private static @Nullable UnifiedCoordinates getLibraryCoordinates(@NotNull LibraryData libraryData) {
    String group = libraryData.getGroupId();
    String artifact = libraryData.getArtifactId();
    String version = libraryData.getVersion();
    if (hasNull(group, artifact, version)) {
      String externalName = libraryData.getExternalName();
      if (StringUtil.isEmpty(externalName)) {
        return null;
      }
      String[] externalNameParticles = externalName.split(":");
      if (externalNameParticles.length == 3) {
        group = externalNameParticles[0];
        artifact = externalNameParticles[1];
        version = externalNameParticles[2];
      }
    }
    if (hasNull(group, artifact, version)) {
      return null;
    }
    version = version.replace("@aar", "");
    return new UnifiedCoordinates(group, artifact, version);
  }
private static @Nullable UnifiedCoordinates getLibraryCoordinates(@NotNull LibraryData libraryData)