code: private void check() {
  		final Constructor<?> constructor = getConstructor();
  		final XParameter[] parameters = getParameters();
  		final Class<?>[] parameterTypes = constructor.getParameterTypes();
  		Validate.isTrue(parameters.length == parameterTypes.length,
  				"Wrong number of parameters: [" + parameters.length
  						+ "], expected [" + parameterTypes.length + "].");
  		for (int index = 0; index < parameters.length; index++) {
  			final XParameter parameter = parameters[index];
  			final Class<?> parameterType = parameterTypes[index];
  			Validate.isTrue(parameterType.equals(parameter.getType()),
  					"Wrong parameter type: [" + parameter.getType()
  							+ "], expected [" + parameterType + "]");
  		}
  	}
docs: Checks if annoated parameters match method parameters.
  
  @throws IllegalArgumentException
  If annotated parameters do not match method parameters.