Пример #1
0
 public CompileUnit getCompileUnit() {
   if (redirect != null) return redirect().getCompileUnit();
   if (compileUnit == null && module != null) {
     compileUnit = module.getUnit();
   }
   return compileUnit;
 }
Пример #2
0
 public void setModule(ModuleNode module) {
   redirect().module = module;
   if (module != null) {
     redirect().compileUnit = module.getUnit();
   }
 }