RefactoringEventData () { RefactoringEventData data = new RefactoringEventData(); ChangeInfo changeInfo = getChangeInfo(); data.addElement(changeInfo.getMethod()); List<String> defaultValues = new ArrayList<>(); for (ParameterInfo parameter : changeInfo.getNewParameters()) { if (parameter.getOldIndex() == -1) { ContainerUtil.addIfNotNull(defaultValues, parameter.getDefaultValue()); } } if (!defaultValues.isEmpty()) { data.addStringProperties(ArrayUtil.toStringArray(defaultValues)); } return data; }