JavaMethodNode (PsiMethod nodeMethod, HashSet<PsiMethod> called, Runnable cancelCallback) { final MakeStaticJavaMethodNode node = new MakeStaticJavaMethodNode(nodeMethod, called, cancelCallback, nodeMethod != null ? nodeMethod.getProject() : myProject); if (getTopMember().equals(nodeMethod)) { node.setEnabled(false); node.setChecked(true); } return node; }