String (final LwComponent component, final HashMap<LwComponent, String> component2variable, final Object2IntMap<String> class2variableIndex, final PsiClass aClass) { if (component2variable.containsKey(component)) { return component2variable.get(component); } if (component.getBinding() != null) { return component.getBinding(); } @NonNls final String className = component instanceof LwNestedForm ? "nestedForm" : component.getComponentClassName(); String result = generateUniqueVariableName(className, class2variableIndex, aClass); component2variable.put(component, result); return result; }