formatType(restrictionT), DoFn.SplitRestriction.class.getSimpleName(), format(splitRestriction.targetMethod()), formatType(splitRestriction.restrictionT()));
private static Implementation splitRestrictionDelegation( TypeDescription doFnType, DoFnSignature signature) { if (signature.splitRestriction() == null) { return MethodDelegation.to(DefaultSplitRestriction.class); } else { return new DowncastingParametersMethodDelegation( doFnType, signature.splitRestriction().targetMethod()); } }