public List<EditorError> createErrorList(Editor<T> editor,T value,String messageKey){
  List<EditorError> result=new ArrayList<>();
  result.add(new BasicEditorError(editor,value,getInvalidMessage(messageKey)));
  return result;
}

public List < EditorError > createErrorList ( Editor < T > editor , T value , String messageKey ) { List < EditorError > result = new ArrayList < > ( ) ; result . add ( new BasicEditorError ( editor , value , getInvalidMessage ( messageKey ) ) ) ; return result ; }
creates the error list .
