public static Location locationFor (String name)

Returns a location object with the given name. The following property must hold: locationFor(x) == locationFor(y) if and only if x.equals(y). The returned location will be an output location if and only if name ends with "_OUTPUT". It will be considered to be a module-oriented location if the name contains the word "MODULE".

Parameters:
name    a name

Returns:  a location

@revised 9
@spec JPMS