@Override public boolean isDescendent(FileName descendent) { return fileName.isDescendent(descendent); }
@Override public boolean isDescendent(FileName descendent, NameScope nameScope) { return fileName.isDescendent(descendent, nameScope); }
/** * Locates the junction point for the junction containing the given file. * * @param name The FileName. * @return the FileName where the junction occurs. */ private FileName getJunctionForFile(final FileName name) { if (junctions.containsKey(name)) { // The name points to the junction point directly return name; } // Find matching junction for (final FileName junctionPoint : junctions.keySet()) { if (junctionPoint.isDescendent(name)) { return junctionPoint; } } // None return null; }
/** * Locates the junction point for the junction containing the given file. * * @param name The FileName. * @return the FileName where the junction occurs. */ private FileName getJunctionForFile(final FileName name) { if (junctions.containsKey(name)) { // The name points to the junction point directly return name; } // Find matching junction for (final FileName junctionPoint : junctions.keySet()) { if (junctionPoint.isDescendent(name)) { return junctionPoint; } } // None return null; }
/** * Locates the junction point for the junction containing the given file. * * @param name The FileName. * @return the FileName where the junction occurs. */ private FileName getJunctionForFile(final FileName name) { if (junctions.containsKey(name)) { // The name points to the junction point directly return name; } // Find matching junction for (final FileName junctionPoint : junctions.keySet()) { if (junctionPoint.isDescendent(name)) { return junctionPoint; } } // None return null; }
/** * Locates the junction point for the junction containing the given file. * @param name The FileName. * @return the FileName where the junction occurs. */ private FileName getJunctionForFile(final FileName name) { if (junctions.containsKey(name)) { // The name points to the junction point directly return name; } // Find matching junction for (final FileName junctionPoint : junctions.keySet()) { if (junctionPoint.isDescendent(name)) { return junctionPoint; } } // None return null; }