diff --git a/.idea/modules.xml b/.idea/modules.xml
index 4fbb42c66d3..3585088a404 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -64,6 +64,7 @@
+
diff --git a/build.xml b/build.xml
index 3ff430ebb51..dbddee457bf 100644
--- a/build.xml
+++ b/build.xml
@@ -22,6 +22,9 @@
+
+
+
@@ -56,6 +59,7 @@
+
@@ -85,6 +89,7 @@
+
@@ -140,6 +145,7 @@
+
@@ -235,6 +241,7 @@
+
diff --git a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.java b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.java
index 1d4d42b6022..58e02f37993 100644
--- a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.java
+++ b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.java
@@ -137,6 +137,16 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
)
public String[] scriptResolverEnvironment;
+ // Javac options
+ @Argument(value = "-Xuse-javac", description = "Use javac for Java source and class files analysis")
+ public boolean useJavac;
+
+ @Argument(
+ value = "-Xjavac-arguments",
+ valueDescription = "