Artifact (@NotNull ArtifactModel artifactModel) { Artifact artifact = getArtifactNoResolve(); if (artifact != null) { return artifactModel.getArtifactByOriginal(artifact); } return artifactModel.findArtifact(myName); }