/** * Compares two symbols to see if src is a partial match with tgt. Return false if either of * them has a null name(). * * <pre> * FIXME: Is it possible for name() to be null? * </pre> */ static boolean partialNameMatch(RSymbol src, RSymbol tgt) { if (src.name() == null || tgt.name() == null) { return false; } return (tgt.name().startsWith(src.name())); }