Skip to content

Commit

Permalink
feat: 引擎等MQ场景接入SCS框架 TencentBlueKing#7443
Browse files Browse the repository at this point in the history
  • Loading branch information
royalhuang committed Sep 23, 2022
1 parent c691757 commit 64beaf9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import java.lang.reflect.Method

object DefaultBindingUtils {

fun getOutBindingName(clazz: Class<*>) = "${clazz.simpleName.decapitalize()}Out"
fun getOutBindingName(clazz: Class<*>) = clazz.simpleName.decapitalize()

fun getInBindingName(method: Method) = "${method.name}In"
fun getInBindingName(method: Method): String = method.name

fun getInBindingName(clazz: Class<*>) = "${clazz.simpleName.decapitalize()}In"
fun getInBindingName(clazz: Class<*>) = clazz.simpleName.decapitalize()
}

0 comments on commit 64beaf9

Please sign in to comment.