BranchInfo (@NotNull WCInfoWithBranches info, String branchPath) { MyCurrentUrlData rootMapping = myCurrentUrlMapping.get(info.getUrl()); return rootMapping != null ? rootMapping.getBranchInfo(branchPath) : null; }