[505615] Inferred JVM type of a XPackage's interface contains invalid
methods
diff --git a/plugins/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/XcoreJvmInferrer.java b/plugins/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/XcoreJvmInferrer.java
index c0b5fbe..c13952c 100644
--- a/plugins/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/XcoreJvmInferrer.java
+++ b/plugins/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/XcoreJvmInferrer.java
@@ -1471,7 +1471,10 @@
                   associate(genFeature, featureFieldInferrer);
                   associate(genClass, featureFieldInferrer);
                   members.add(featureFieldInferrer.getInferredElement());
+                }
 
+                for (final GenFeature genFeature : genClass.getGenFeatures())
+                {
                   JvmElementInferrer<JvmOperation> featureAccessorInferrer =
                     new JvmElementInferrer<JvmOperation>(X_VERY_LOW)
                     {