@Nullable
public static ErlangSourcePosition create(@NotNull Project project, @NotNull String module, int line) {
ErlangFile file = ErlangModulesUtil.getErlangModuleFile(project, module);
VirtualFile moduleFile = file != null ? file.getVirtualFile() : null;
XSourcePosition sourcePosition = XDebuggerUtil.getInstance().createPosition(moduleFile, line);
return sourcePosition != null ? new ErlangSourcePosition(sourcePosition) : null;
}