1 package com
.intellij
.openapi
.roots
.ui
.configuration
.projectRoot
.daemon
;
3 import com
.intellij
.openapi
.projectRoots
.Sdk
;
4 import com
.intellij
.openapi
.roots
.ui
.configuration
.projectRoot
.StructureConfigurableContext
;
6 import java
.util
.Collections
;
12 public class SdkProjectStructureElement
extends ProjectStructureElement
{
15 public SdkProjectStructureElement(StructureConfigurableContext context
, Sdk sdk
) {
25 public void check(ProjectStructureProblemsHolder problemsHolder
) {
29 public List
<ProjectStructureElementUsage
> getUsagesInElement() {
30 return Collections
.emptyList();
34 public boolean equals(Object o
) {
35 if (this == o
) return true;
36 if (!(o
instanceof SdkProjectStructureElement
)) return false;
37 return mySdk
.equals(((SdkProjectStructureElement
)o
).mySdk
);
42 public int hashCode() {
43 return mySdk
.hashCode();
47 public String
toString() {
48 return "sdk:" + mySdk
.getName();
52 public boolean highlightIfUnused() {