code: public UndefineArgument[] getDefines() throws BuildException {
      if (isReference()) {
        final DefineSet defset = (DefineSet) getCheckedRef(DefineSet.class, "DefineSet");
        return defset.getDefines();
      } else {
        if (isActive()) {
          final UndefineArgument[] defs = new UndefineArgument[this.defineList.size()];
          this.defineList.copyInto(defs);
          return defs;
        } else {
          return new UndefineArgument[0];
        }
      }
    }
docs: Returns the defines and undefines in this set.