@Test public void ensureBranchRefNameWhenInputIsFullRefName_shouldReturnTheFullRefName() { assertEquals("refs/heads/test", RefUtils.fullBranchName("refs/heads/test")); }
@Nonnull public static String fullBranchName(String name) { return appendPrefix(name, R_HEADS); }
RefUtils { @Nonnull public static String fullBranchName(String name) { return appendPrefix(name, R_HEADS); } }
RefUtils { @Nonnull public static String fullBranchName(String name) { return appendPrefix(name, R_HEADS); }  }
RefUtils { @Nonnull public static String fullBranchName(String name) { return appendPrefix(name, R_HEADS); }  static boolean matchesRefPrefix(String name); static boolean matchesBranchRefPrefix(String name); static boolean matchesTagRefPrefix(String name); static boolean isBranchRef(Ref name); static boolean isTagRef(Ref name); @Nonnull static String appendPrefix(String name, String prefix); @Nonnull static String fullBranchName(String name); @Nonnull static String fullTagRef(String name); @Nonnull static Ref getBranchRef(String name, Repository repo); @Nullable static Ref getTagRef(String name, Repository repo); @Nonnull static List<ReflogEntry> getRefLogs(String ref, int max, Repository repository); }
RefUtils { @Nonnull public static String fullBranchName(String name) { return appendPrefix(name, R_HEADS); }  static boolean matchesRefPrefix(String name); static boolean matchesBranchRefPrefix(String name); static boolean matchesTagRefPrefix(String name); static boolean isBranchRef(Ref name); static boolean isTagRef(Ref name); @Nonnull static String appendPrefix(String name, String prefix); @Nonnull static String fullBranchName(String name); @Nonnull static String fullTagRef(String name); @Nonnull static Ref getBranchRef(String name, Repository repo); @Nullable static Ref getTagRef(String name, Repository repo); @Nonnull static List<ReflogEntry> getRefLogs(String ref, int max, Repository repository);  }