code: public static boolean matchValueByName(String expectedType, Object actualValue) {
  		if (expectedType == null)
  			return true;
  		if (actualValue == null)
  			throw new NullPointerException("Actual value cannot be null");
  
  		return matchTypeByName(expectedType, actualValue.getClass());
  	}
docs: Matches expected type to a type of a value.
  
  @param expectedType an expected type name to match.
  @param actualValue  a value to match its type to the expected one.
  @return true if types are matching and false if they don't.