Introduce compiler option to dump declaration mapping.

This commit is contained in:
Ilya Gorbunov
2016-03-15 18:39:43 +03:00
parent 4e49187549
commit e7d75fccd6
8 changed files with 22 additions and 2 deletions
@@ -70,6 +70,10 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
@Argument(value = "Xskip-metadata-version-check", description = "Try loading binary incompatible classes, may cause crashes")
public boolean skipMetadataVersionCheck;
@Argument(value = "Xdump-declarations-to", description = "Path to JSON file to dump Java to Kotlin declaration mappings")
@ValueDescription("<path>")
public String declarationsOutputPath;
// Paths to output directories for friend modules.
public String[] friendPaths;