Minor, add comments on declarations used in Eclipse plugin
This commit is contained in:
@@ -66,13 +66,15 @@ public abstract class CLICompiler<A extends CommonCompilerArguments> {
|
|||||||
return exec(errStream, Services.EMPTY, MessageRenderer.PLAIN_RELATIVE_PATHS, args);
|
return exec(errStream, Services.EMPTY, MessageRenderer.PLAIN_RELATIVE_PATHS, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("UnusedDeclaration") // Used via reflection in CompilerRunnerUtil#invokeExecMethod
|
// Used via reflection in CompilerRunnerUtil#invokeExecMethod and in Eclipse plugin (see KotlinCLICompiler)
|
||||||
|
@SuppressWarnings("UnusedDeclaration")
|
||||||
@NotNull
|
@NotNull
|
||||||
public ExitCode execAndOutputXml(@NotNull PrintStream errStream, @NotNull Services services, @NotNull String... args) {
|
public ExitCode execAndOutputXml(@NotNull PrintStream errStream, @NotNull Services services, @NotNull String... args) {
|
||||||
return exec(errStream, services, MessageRenderer.XML, args);
|
return exec(errStream, services, MessageRenderer.XML, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("UnusedDeclaration") // Used via reflection in KotlinCompilerBaseTask
|
// Used via reflection in KotlinCompilerBaseTask
|
||||||
|
@SuppressWarnings("UnusedDeclaration")
|
||||||
@NotNull
|
@NotNull
|
||||||
public ExitCode execFullPathsInMessages(@NotNull PrintStream errStream, @NotNull String[] args) {
|
public ExitCode execFullPathsInMessages(@NotNull PrintStream errStream, @NotNull String[] args) {
|
||||||
return exec(errStream, Services.EMPTY, MessageRenderer.PLAIN_FULL_PATHS, args);
|
return exec(errStream, Services.EMPTY, MessageRenderer.PLAIN_FULL_PATHS, args);
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ public class CLIConfigurationKeys {
|
|||||||
CompilerConfigurationKey.create("allow kotlin package");
|
CompilerConfigurationKey.create("allow kotlin package");
|
||||||
public static final CompilerConfigurationKey<Boolean> REPORT_PERF =
|
public static final CompilerConfigurationKey<Boolean> REPORT_PERF =
|
||||||
CompilerConfigurationKey.create("report performance information");
|
CompilerConfigurationKey.create("report performance information");
|
||||||
|
|
||||||
|
// Used in Eclipse plugin (see KotlinCLICompiler)
|
||||||
public static final CompilerConfigurationKey<CompilerJarLocator> COMPILER_JAR_LOCATOR =
|
public static final CompilerConfigurationKey<CompilerJarLocator> COMPILER_JAR_LOCATOR =
|
||||||
CompilerConfigurationKey.create("compiler jar locator");
|
CompilerConfigurationKey.create("compiler jar locator");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user