@Override public final String toString() { if (getClosureNamespace().equals(getModuleName())) { return getClosureNamespace(); } return getModuleName() + ":" + getClosureNamespace(); }
@Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof ModuleIdentifier) { ModuleIdentifier that = (ModuleIdentifier) o; return (this.name.equals(that.getName())) && (this.closureNamespace.equals(that.getClosureNamespace())) && (this.moduleName.equals(that.getModuleName())); } return false; }
CompilerInput entryPointInput = null; try { if (entryPoint.getClosureNamespace().equals(entryPoint.getModuleName())) { entryPointInput = sorter.maybeGetInputProviding(entryPoint.getClosureNamespace()); throw new MissingModuleException(entryPoint.getModuleName()); } else { entryPointInput = sorter.getInputProviding(entryPoint.getClosureNamespace()); entryPointInput.overrideModule(module);
CompilerInput entryPointInput = null; try { if (entryPoint.getClosureNamespace().equals(entryPoint.getModuleName())) { entryPointInput = sorter.maybeGetInputProviding(entryPoint.getClosureNamespace()); throw new MissingModuleException(entryPoint.getModuleName()); } else { entryPointInput = sorter.getInputProviding(entryPoint.getClosureNamespace()); entryPointInput.overrideModule(module);
ModuleIdentifier.forFile(input.getSourceFile().getOriginalPath()); inputModuleIdentifiers.put(modInfo.getClosureNamespace(), input);