SimpleJavaParameters () { if (myDone) return myCommandLine; ParametersList programParameters = myCommandLine.getProgramParametersList(); for (final String property : myExpandedProperties) { if (property != null) { programParameters.add(property); } } programParameters.add("-buildfile"); programParameters.add(new CompositeParameterTargetedValue().addPathPart(myBuildFilePath)); for (final String target : myTargets) { if (target != null) { programParameters.add(target); } } myDone = true; return myCommandLine; }