ClassFilter () { ClassFilter classFilter; if (myBreakpointPsiClass != null) { classFilter = new ClassFilter() { @Override public boolean isAccepted(PsiClass aClass) { return myBreakpointPsiClass == aClass || aClass.isInheritor(myBreakpointPsiClass, true); } }; } else { classFilter = null; } return classFilter; }