Object () { Object value = super.getCellEditorValue(); if (myStringEditor && value instanceof Boolean) { //this code is reachable only via deprecated constructors //noinspection HardCodedStringLiteral return value.toString(); } else { return value; } }