@Override public Object findSourceElement(String name) throws CoreException { if (fRootLocations != null) { for (int i = 0; i < fRootLocations.length; i++) { Object element = fRootLocations[i].findSourceElement(name); if (element != null) { return element; } } } return null; }
@Override public Object findSourceElement(String name) throws CoreException { if (fRootLocations != null) { for (int i = 0; i < fRootLocations.length; i++) { Object element = fRootLocations[i].findSourceElement(name); if (element != null) { return element; } } } return null; }
for (int i = 0; i < locations.length; i++) { try { Object sourceElement = locations[i].findSourceElement(name); if (sourceElement != null) { list.add(sourceElement);
for (int i = 0; i < locations.length; i++) { try { Object sourceElement = locations[i].findSourceElement(name); if (sourceElement != null) { list.add(sourceElement);
for (int i = 0; i < locations.length; i++) { try { Object sourceElement = locations[i].findSourceElement(name); if (sourceElement != null) { return sourceElement;
for (int i = 0; i < locations.length; i++) { try { Object sourceElement = locations[i].findSourceElement(name); if (sourceElement != null) { return sourceElement;