Minor: add comment
This commit is contained in:
+6
@@ -22,8 +22,11 @@ import java.io.Serializable
|
|||||||
open class CompilationOptions(
|
open class CompilationOptions(
|
||||||
val compilerMode: CompilerMode,
|
val compilerMode: CompilerMode,
|
||||||
val targetPlatform: CompileService.TargetPlatform,
|
val targetPlatform: CompileService.TargetPlatform,
|
||||||
|
/** @See [ReportCategory] */
|
||||||
val reportCategories: Array<Int>,
|
val reportCategories: Array<Int>,
|
||||||
|
/** @See [ReportSeverity] */
|
||||||
val reportSeverity: Int,
|
val reportSeverity: Int,
|
||||||
|
/** @See [CompilationResultCategory]] */
|
||||||
val requestedCompilationResults: Array<Int>
|
val requestedCompilationResults: Array<Int>
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
@@ -40,8 +43,11 @@ class IncrementalCompilationOptions(
|
|||||||
val customCacheVersion: Int,
|
val customCacheVersion: Int,
|
||||||
compilerMode: CompilerMode,
|
compilerMode: CompilerMode,
|
||||||
targetPlatform: CompileService.TargetPlatform,
|
targetPlatform: CompileService.TargetPlatform,
|
||||||
|
/** @See [ReportCategory] */
|
||||||
reportCategories: Array<Int>,
|
reportCategories: Array<Int>,
|
||||||
|
/** @See [ReportSeverity] */
|
||||||
reportSeverity: Int,
|
reportSeverity: Int,
|
||||||
|
/** @See [CompilationResultCategory]] */
|
||||||
requestedCompilationResults: Array<Int>
|
requestedCompilationResults: Array<Int>
|
||||||
) : CompilationOptions(compilerMode, targetPlatform, reportCategories, reportSeverity, requestedCompilationResults) {
|
) : CompilationOptions(compilerMode, targetPlatform, reportCategories, reportSeverity, requestedCompilationResults) {
|
||||||
companion object {
|
companion object {
|
||||||
|
|||||||
-1
@@ -40,7 +40,6 @@ enum class ReportCategory(val code: Int) {
|
|||||||
companion object {
|
companion object {
|
||||||
fun fromCode(code: Int): ReportCategory? =
|
fun fromCode(code: Int): ReportCategory? =
|
||||||
ReportCategory.values().firstOrNull { it.code == code }
|
ReportCategory.values().firstOrNull { it.code == code }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user