Skip to content

Commit

Permalink
Add toString() method
Browse files Browse the repository at this point in the history
  • Loading branch information
findinpath authored and ebyhr committed Apr 27, 2023
1 parent 303b4c3 commit d60b39d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ public boolean equals(Object obj)
Objects.equals(this.type, other.type);
}

@Override
public String toString()
{
return partialName + ":" + type.getDisplayName();
}

public static String generatePartialName(List<String> dereferenceNames)
{
return dereferenceNames.stream()
Expand Down

0 comments on commit d60b39d

Please sign in to comment.