type

Annotation type class matcher.

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

注解类型类匹配器。

type(ClassMatcher().className("org.luckypray.dexkit.demo.annotations.Router"))

Return

AnnotationMatcher

Parameters

type

type class matcher / 类型类匹配器


fun type(clazz: Class<*>): AnnotationMatcher

Annotation type class matcher.

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

注解类型类匹配器。

Return

AnnotationMatcher

Parameters

clazz

type class / 类型类


fun type(typeName: String, matchType: StringMatchType = StringMatchType.Equals, ignoreCase: Boolean = false): AnnotationMatcher

Annotation type class name matcher.

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

注解类型类名匹配器

type("org.luckypray.dexkit.demo.annotations.Router", StringMatchType.Equals, true)

Return

AnnotationMatcher

Parameters

typeName

type class name / 类型类名

matchType

match type / 匹配类型

ignoreCase

ignore case / 忽略大小写


inline fun type(init: ClassMatcher.() -> Unit): AnnotationMatcher

See also


Annotation type class fully qualified name.

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

注解类型类的完全限定名。

type = "org.luckypray.dexkit.demo.annotations.Router"