TargetFilter (AntBuildTarget target) { TargetFilter filter = new TargetFilter(target.getName(), target.isDefault()); filter.myDescription = target.getNotEmptyDescription(); filter.myVisible = (filter.myDescription != null); return filter; }