public static void injectTargetIntoExtensionPoint(Project project, ProjectHelper helper) {
for (Object extensionInfos : helper.getExtensionStack()) {
String[] extensionInfo = (String[]) extensionInfos;
String tgName = extensionInfo[0];
String name = extensionInfo[1];
OnMissingExtensionPoint missingBehaviour = OnMissingExtensionPoint.FAIL;
Hashtable<?, ?> projectTargets = project.getTargets();
if (!projectTargets.containsKey(tgName)) {
String message = "can't add target " + name + " to extension-point " + tgName
+ " because the extension-point is unknown.";
if (missingBehaviour == OnMissingExtensionPoint.FAIL) {