/** * Get the properties as an array; this is an override of the * superclass, as it evaluates all the properties. * @return the array of definitions; may be null. * @throws BuildException on error. */ @Override public String[] getVariables() throws BuildException { List<String> definitions = new LinkedList<>(); addDefinitionsToList(definitions.listIterator()); if (definitions.isEmpty()) { return null; } return definitions.toArray(new String[definitions.size()]); }
sysProperties.addDefinitionsToList(listIterator); ps.appendBuiltin(sys); clonedSysProperties.addSyspropertyset(ps); clonedSysProperties.addDefinitionsToList(listIterator);