All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ybo.trackingplugin.tasks.utils.impl.patterns.PatternNames.kt Maven / Gradle / Ivy

Go to download

gradle plugin allowing to add automatic logs (or other process) at the start of each traced method

There is a newer version: 0.6.2
Show newest version
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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy