void (@NotNull Module module, @NotNull ModifiableRootModel model, @NotNull ContentEntry contentEntry) { super.configureModule(module, model, contentEntry); addJetBrainsAnnotations(model); MavenDependencyUtil.addFromMaven(model, "org.apache.velocity:velocity:1.7"); MavenDependencyUtil.addFromMaven(model, "commons-collections:commons-collections:3.2.1"); VirtualFile annotationsRoot = getAnnotationsRoot(); for (OrderEntry entry : model.getOrderEntries()) { if (entry instanceof LibraryOrderEntry) { Library.ModifiableModel libModel = ((LibraryOrderEntry)entry).getLibrary().getModifiableModel(); libModel.addRoot(annotationsRoot, AnnotationOrderRootType.getInstance()); libModel.commit(); } } Registry.get(ProjectBytecodeAnalysis.NULLABLE_METHOD).setValue(true, module); }