get path of ref with leading ` refs / ' segment removed if present concode_field_sep String PREFIX_REFS concode_elem_sep String PREFIX_PULL concode_elem_sep String PREFIX_TAG concode_elem_sep String PREFIX_HEADS concode_field_sep boolean isBranch concode_elem_sep String getName concode_elem_sep String getName concode_elem_sep boolean isValid concode_elem_sep boolean isTag concode_elem_sep boolean isTag
String function ( final Reference arg0 ) { if ( arg0 == null ) return null ; String loc0 = arg0 . getRef ( ) ; if ( ! TextUtils . isEmpty ( loc0 ) && loc0 . startsWith ( PREFIX_REFS ) ) return loc0 . substring ( PREFIX_REFS . length ( ) ) ; else return loc0 ; }