helper method to safely invoke task #getdefaultauthentication item on classes that may comefrom plugins compiled against an earlier version of jenkins . concode_field_sep PlaceHolder placeHolder concode_field_sep Authentication getAuthenticationOf concode_elem_sep Task getOwnerTaskOf concode_elem_sep Collection<? extends SubTask> getSubTasksOf concode_elem_sep Object getSameNodeConstraintOf
Authentication function ( Task arg0 , Item arg1 ) { try { return arg0 . getDefaultAuthentication ( arg1 ) ; } catch ( AbstractMethodError loc0 ) { return getDefaultAuthenticationOf ( arg0 ) ; } }