code: private void convertDefineParameters(CompilerOptions options) {
      for (Parameter p : defineParams) {
        String key = p.getName();
        Object value = p.getValue();
  
        if (!setDefine(options, key, value)) {
          log("Unexpected @define value for name=" + key + "; value=" + value);
        }
      }
    }
docs: Converts {@code <define/>} nested elements into Compiler {@code @define}
  replacements. Note: unlike project properties, {@code <define/>} elements
  do not need to be named starting with the replacement prefix.