void (Object aValue, int rowIndex, int columnIndex) { super.setValueAtWithoutUpdate(aValue, rowIndex, columnIndex); //if type was changed - update default value's expected type PsiType type = null; if (columnIndex == 0 && aValue instanceof String) { try { type = JavaPsiFacade.getElementFactory(myProject).createTypeFromText((String)aValue, myTypeContext); } catch (IncorrectOperationException ignored) { } } if (type != null) { final ParameterTableModelItemBase<ParameterInfoImpl> item = getItem(rowIndex); ((PsiExpressionCodeFragmentImpl)item.defaultValueCodeFragment).setExpectedType(type); } }