
for (int i = 0; (wires != null) && (i < wires.length); i++)
</BUG>
{
Object result = (isClass)
<BUG>? (Object) wires[i].getClass(name)

: (Object) wires[i].getResource(name);
</BUG>
if (result != null)

return parent;
}
private Object searchImports(String name, boolean isClass)
throws ClassNotFoundException, ResourceNotFoundException
{
List<Wire> wires = getWires();
for (int i = 0; (wires != null) && (i < wires.size()); i++)
{
Object result = (isClass)
? (Object) wires.get(i).getClass(name)
: (Object) wires.get(i).getResource(name);
if (result != null)
