groups

find all methods that use the specified strings.

----------------

查找所有使用指定字符串的方法。

Return

BatchFindMethodUsingStrings

Parameters

groups

string matchers group / 字符串匹配器分组


fun groups(keywordsMap: Map<String, Collection<String>>, matchType: StringMatchType = StringMatchType.Contains, ignoreCase: Boolean = false): BatchFindMethodUsingStrings

find all methods that use the specified strings.

----------------

查找所有使用指定字符串的类。

val keywordsMap = mapOf(
    "Method1" to listOf("TAG", "TAG1", "TAG2"),
    "Method2" to listOf("Handler", "Handler1", "Handler2")
)
bridge.matchers(keywordsMap, StringMatchType.Equals, false)

Return

BatchFindMethodUsingStrings

Parameters

keywordsMap

keywords group map / 关键字分组映射

matchType

string match type / 字符串匹配类型

ignoreCase

ignore case / 忽略大小写