Module () { if (myModule.isDisposed()) { myModule = findModule(myProject, myFile); if (myModule == null) { throw new IllegalArgumentException("No module for file " + myFile + " in project " + myProject); } } return myModule; }