public boolean hasDependency(@NonNls @Nullable String groupId, @NonNls @Nullable String artifactId) {
    return getDependencyArtifactIndex().hasArtifact(groupId, artifactId);
  }
public boolean hasDependency(@NonNls @Nullable String groupId, @NonNls @Nullable String artifactId)