コード例 #1
0
 public int hashCode() {
   return myUsageType.hashCode();
 }
コード例 #2
0
 @Override
 @NotNull
 public String getText(@Nullable UsageView view) {
   return view == null ? myUsageType.toString() : myUsageType.toString(view.getPresentation());
 }
コード例 #3
0
 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);
 }