dependencyScript = dependencyScript.join(JavaScript.fromResource(source));
}
}
// load install() method
if (target.isInstallable()) {
JSMethod installMethod = target.getJSMethod(InstallableJavaScript.INSTALL_METHOD);
String functionCall = target.getName() + "." + installMethod.getName() + "();";
dependencyScript = dependencyScript.join(JavaScript.fromString(functionCall));
}
this.extensionScript = dependencyScript;
// installation detection
JavaScript jsInstallationDetection = null;