void (Project project, VariableInfo[] variableInfos, VariableData[] variableData) { final JavaCodeStyleManager codeStyleManager = JavaCodeStyleManager.getInstance(project); for (int idx = 0; idx < variableInfos.length; idx++) { VariableInfo info = variableInfos[idx]; String name = info.variable.getName(); VariableKind kind = codeStyleManager.getVariableKind(info.variable); name = codeStyleManager.variableNameToPropertyName(name, kind); name = codeStyleManager.propertyNameToVariableName(name, VariableKind.PARAMETER); VariableData data = new VariableData(info.variable); data.name = name; data.passAsParameter = true; variableData[idx] = data; } }