boolean (final AntTargetNodeDescriptor descriptor) { return mySelectedTarget != null && Comparing.strEqual(mySelectedTarget.getName(), descriptor.getAntTarget().getName()) && mySelectedTarget.getModel().getBuildFile() == descriptor.getBuildFile(); }