private PathParamGetter newPathParamGetter(
AccessibleObject fieldOrBeanSetter,
ThreadLocalizedContext tlContext, boolean leaveClassEncoded)
throws IllegalPathParamTypeException {
return new PathParamGetter(fieldOrBeanSetter
.getAnnotation(PathParam.class), fieldOrBeanSetter
.getAnnotation(DefaultValue.class),
getConvTo(fieldOrBeanSetter), getConvGenTo(fieldOrBeanSetter),
tlContext, leaveClassEncoded
|| fieldOrBeanSetter.isAnnotationPresent(Encoded.class));