InternalIdeaModule (IonReader reader, ReadContext context) { if (reader.next() == null) return null; reader.stepIn(); InternalIdeaModule ideaModule = new InternalIdeaModule(); ideaModule.setName(readString(reader, "name")); ideaModule.setDescription(readString(reader, "description")); ideaModule.setJdkName(readString(reader, "jdkName")); ideaModule.setGradleProject(readGradleProject(reader, context, "gradleProject")); ideaModule.setCompilerOutput(readCompilerOutput(reader, context)); ideaModule.setContentRoots(readContentRoots(reader)); ideaModule.setJavaLanguageSettings(readJavaLanguageSettings(reader, context)); ideaModule.setDependencies(readDependencies(reader, context)); reader.stepOut(); return ideaModule; }