com.ybo.trackingplugin.tasks.utils.impl.patterns.PatternNames.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of traceplugin Show documentation
Show all versions of traceplugin Show documentation
gradle plugin allowing to add automatic logs (or other process) at the start of each traced method
package com.ybo.trackingplugin.tasks.utils.impl.patterns
/** what kind of a [PatternToSearch] we are dealing with */
sealed interface PatternName
sealed interface ParamsPatternName : PatternName
// params patterns
sealed interface KotlinParamPatternName : ParamsPatternName {
object KotlinNormalParam : KotlinParamPatternName
object KotlinHigherOrderParam : KotlinParamPatternName
}
sealed interface JavaParamPatternName : ParamsPatternName {
object JavaNormalParam : JavaParamPatternName
}
// method patterns:
sealed interface MethodPatternNames : PatternName
sealed interface KotlinMethodPatternName : MethodPatternNames {
object KotlinNormalMethod : KotlinMethodPatternName
object KotlinExtensionFunction : KotlinMethodPatternName
object KotlinHigherOrderFunctionWithParams : KotlinMethodPatternName
object KotlinHigherOrderFunctionWithNoParams : KotlinMethodPatternName
}
sealed interface JavaMethodPatternName : MethodPatternNames {
object JavaNormalMethod : JavaMethodPatternName
}