public final static String ALL_TESTS_TEST_SUITE_NAME = "AllTests";
private void createChildrenFromJavaModel(JavaElement parent, IJavaElement javaElement, int depth) throws Exception {
if (parent instanceof JavaPack && javaElement instanceof IPackageFragment) {
JavaPack pack = (JavaPack)parent;
List<IMember> classes = JdtHelper.findJavaMembers((IPackageFragment) javaElement, null, IJavaElement.TYPE, IType.class);
createJexClasses(classes, depth, pack.getClasses());
createNamedClass(pack.getName() + "." + ALL_TESTS_TEST_SUITE_NAME, JexPackage.eINSTANCE.getTestSuite(), null, depth, pack.getClasses());
} else if (parent instanceof JavaClass && javaElement instanceof IType) {
JavaClass javaClass = (JavaClass)parent;
IType type = (IType)javaElement;
List<IMember> fields = JdtHelper.findJavaMembers(type, null, IJavaElement.FIELD, IField.class);
for (Iterator<IMember> it = fields.iterator(); it.hasNext();) {