targetElementTypes

Annotation target element types matcher.

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

注解目标元素类型匹配器。

@Target(ElementType.TYPE, ElementType.METHOD) <----------- TargetElementType
@Retention(RetentionPolicy.RUNTIME)
public @interface Router {
    String value();
}

Return

AnnotationMatcher

Parameters

targetElementTypes

target element types matcher / 注解目标元素类型匹配器


fun targetElementTypes(targetElementTypes: Collection<TargetElementType>, matchType: MatchType = MatchType.Contains): AnnotationMatcher

Annotation target element types matcher.

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

注解目标元素类型匹配器。

@Target(ElementType.TYPE, ElementType.METHOD) <----------- TargetElementType
@Retention(RetentionPolicy.RUNTIME)
public @interface Router {
    String value();
}

Return

AnnotationMatcher

Parameters

targetElementTypes

target element types / 注解目标元素类型

matchType

match type / 匹配类型


See also