+
+ /**
+ * Return module contexts from generated types according to context.
+ *
+ * @param schemaContext
+ * - for generating types
+ * @return module contexts
+ */
+ public Map<Module, ModuleContext> getModuleContexts(final SchemaContext schemaContext) {
+ generateTypes(schemaContext);
+ return this.genCtx;
+ }