code: public void addConfiguredCompiler(final CompilerDef compiler) {
      if (compiler == null) {
        throw new NullPointerException("compiler");
      }
      compiler.setProject(getProject());
      this._compilers.addElement(compiler);
    }
docs: Adds a compiler definition or reference.
  
  @param compiler
  compiler
  @throws NullPointerException
  if compiler is null