private boolean supportsParameters(Method method) { if (method.getParameterTypes().length != 1) { return false; } else if (getUnmarshaller() instanceof GenericUnmarshaller) { GenericUnmarshaller genericUnmarshaller = (GenericUnmarshaller) getUnmarshaller(); return genericUnmarshaller.supports(method.getGenericParameterTypes()[0]); } else { return getUnmarshaller().supports(method.getParameterTypes()[0]); } } }
private boolean supportsParameters(Method method) { if (method.getParameterTypes().length != 1) { return false; } else if (getUnmarshaller() instanceof GenericUnmarshaller) { GenericUnmarshaller genericUnmarshaller = (GenericUnmarshaller) getUnmarshaller(); return genericUnmarshaller.supports(method.getGenericParameterTypes()[0]); } else { return getUnmarshaller().supports(method.getParameterTypes()[0]); } } }
private boolean supportsParameters(Method method) { if (method.getParameterTypes().length != 1) { return false; } else if (getUnmarshaller() instanceof GenericUnmarshaller) { GenericUnmarshaller genericUnmarshaller = (GenericUnmarshaller) getUnmarshaller(); return genericUnmarshaller.supports(method.getGenericParameterTypes()[0]); } else { return getUnmarshaller().supports(method.getParameterTypes()[0]); } } }
private boolean supportsParameters(Method method) { if (method.getParameterTypes().length != 1) { return false; } else if (getUnmarshaller() instanceof GenericUnmarshaller) { GenericUnmarshaller genericUnmarshaller = (GenericUnmarshaller) getUnmarshaller(); return genericUnmarshaller.supports(method.getGenericParameterTypes()[0]); } else { return getUnmarshaller().supports(method.getParameterTypes()[0]); } } }
private boolean supportsParameters(Method method) { if (method.getParameterTypes().length != 1) { return false; } else if (getUnmarshaller() instanceof GenericUnmarshaller) { GenericUnmarshaller genericUnmarshaller = (GenericUnmarshaller) getUnmarshaller(); return genericUnmarshaller.supports(method.getGenericParameterTypes()[0]); } else { return getUnmarshaller().supports(method.getParameterTypes()[0]); } } }