191: Temporary drop ProjectScopeStatsReporters (apis heavily refactored)
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||
* that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.statistics
|
||||
|
||||
open class KotlinStatisticsTrigger(private val groupIdSufix: String) {
|
||||
companion object {
|
||||
public fun trigger(clazz: Class<out KotlinStatisticsTrigger>, event: String) {
|
||||
// FUS is not working for 182
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
open class KotlinIdeStatisticsTrigger(groupIdSufix: String) : KotlinStatisticsTrigger("ide.$groupIdSufix")
|
||||
|
||||
open class KotlinGradlePluginStatisticsTrigger(groupIdSufix: String) : KotlinStatisticsTrigger("gradle.$groupIdSufix")
|
||||
|
||||
class KotlinVersionTrigger : KotlinGradlePluginStatisticsTrigger("kotlin_version")
|
||||
|
||||
class KotlinTargetTrigger : KotlinGradlePluginStatisticsTrigger("target")
|
||||
|
||||
class KotlinProjectLibraryUsageTrigger : KotlinGradlePluginStatisticsTrigger("library")
|
||||
|
||||
open class KotlinIdeActionTrigger(groupIdSufix: String? = null) : KotlinIdeStatisticsTrigger("action" + (if (groupIdSufix != null) ".$groupIdSufix" else ""))
|
||||
|
||||
class KotlinIdeRefactoringTrigger : KotlinIdeActionTrigger("refactoring")
|
||||
|
||||
class KotlinIdeNewFileTemplateTrigger : KotlinIdeStatisticsTrigger("newFileTempl")
|
||||
Reference in New Issue
Block a user