...
- It converts the text entered in the cell to the return type of the instance method. To do that it uses either built-in converters (for basic Java types) or delegates to a method called parse (for domain types).
- It compares the actual value to the converted value based on the definition of the equality for the type.
- If the values match, it marks the cell with a right annotation causing it to appear green.
- If the values do not match, it marks the cell with a wrong annotation so that it appears red and displays the expected and actual values.
- However, if type conversion fails or if the method throws an exception the cell is reported as an error.