public int hashCode() { return myUsageType.hashCode(); }
@Override @NotNull public String getText(@Nullable UsageView view) { return view == null ? myUsageType.toString() : myUsageType.toString(view.getPresentation()); }
public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof UsageTypeGroup)) return false; final UsageTypeGroup usageTypeGroup = (UsageTypeGroup) o; return myUsageType.equals(usageTypeGroup.myUsageType); }