boolean (T aClass) { if (myFastMode) { return getTreeClassChooserDialog().getFilter().isAccepted(aClass); } return (aClass == getTreeClassChooserDialog().getBaseClass() || myInheritorsProvider.isInheritorOfBaseClass(aClass)) && getTreeClassChooserDialog().getFilter().isAccepted(aClass); }