Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Annotation RetentionPolicy.

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

Link copied to clipboard

Annotation type class fully qualified name.

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

Link copied to clipboard
Link copied to clipboard

Using string list. Default match type is contains, if you need to match exactly, please use usingStrings or addUsingString overloaded function for each string.

Functions

Link copied to clipboard

Add annotation element matcher.

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

Link copied to clipboard

Add using string(fuzzy match).

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

Link copied to clipboard

Add using string matcher.

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

fun addUsingString(usingString: String, matchType: StringMatchType = StringMatchType.Contains, ignoreCase: Boolean = false): AnnotationMatcher

Add using string.

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

Link copied to clipboard

Annotation element count.

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

fun elementCount(min: Int = 0, max: Int = Int.MAX_VALUE): AnnotationMatcher

Annotation element count range.

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

Link copied to clipboard

Annotation element match type.

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

Link copied to clipboard

Annotation elements matcher.

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

Link copied to clipboard

Annotation RetentionPolicy.

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

Link copied to clipboard

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

Annotation target element types matcher.

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

Link copied to clipboard
fun type(clazz: Class<*>): AnnotationMatcher

Annotation type class matcher.

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

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

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

Annotation type class name matcher.

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

Link copied to clipboard
fun usingEqStrings(vararg usingStrings: String): AnnotationMatcher

Using strings matcher(fuzzy match).

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

Link copied to clipboard
fun usingStrings(vararg usingStrings: String): AnnotationMatcher

Using strings matcher. default match type is contains, if you need to match exactly, please use usingStrings or addUsingString overloaded function for each string.

fun usingStrings(usingStrings: Collection<String>, matchType: StringMatchType = StringMatchType.Contains, ignoreCase: Boolean = false): AnnotationMatcher

Using strings matcher.

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