docs: protected void initializeLocalTypes(GenerationContext context, JvmFeature feature, XExpression expression) {
  		if (expression != null) {
  			int localTypeIndex = context.getLocalTypeIndex();
  			final TreeIterator<EObject> iterator = EcoreUtil2.getAllNonDerivedContents(expression, true);
  			final String nameStub = "__" + feature.getDeclaringType().getSimpleName() + "_"; //$NON-NLS-1$ //$NON-NLS-2$
  			while (iterator.hasNext()) {
  				final EObject next = iterator.next();
  				if (next.eClass() == XtendPackage.Literals.ANONYMOUS_CLASS) {
  					inferLocalClass((AnonymousClass) next, nameStub + localTypeIndex, feature);
  					iterator.prune();
  					++localTypeIndex;
  				}
  			}
  			context.setLocalTypeIndex(localTypeIndex);
  		}
  	}