String (RadRootContainer root, final String baseName) { // Generate member name based on current code style for (int i = 0; true; i++) { final String nameCandidate = baseName + (i + 1); final String binding = JavaCodeStyleManager.getInstance(root.getProject()).propertyNameToVariableName( nameCandidate, VariableKind.FIELD ); if (FormEditingUtil.findComponentWithBinding(root, binding) == null) { return binding; } } }