AnnotationElementMatcher

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Annotation element name to match.

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

Link copied to clipboard
Link copied to clipboard

Annotation element value to match.

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

Link copied to clipboard

Functions

Link copied to clipboard

Match the annotation element value as the specified AnnotationMatcher.

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

Link copied to clipboard

Match the annotation element value as the specified AnnotationEncodeArrayMatcher.

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

Link copied to clipboard

Match the annotation element value as the specified Boolean.

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

Link copied to clipboard

Match the annotation element value as the specified Byte.

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

Link copied to clipboard

Match the annotation element value as the specified ClassMatcher.

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

fun classValue(className: String, matchType: StringMatchType = StringMatchType.Contains, ignoreCase: Boolean = false): AnnotationElementMatcher

Match the annotation element value as the specified Class.

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

Link copied to clipboard

Match the annotation element value as the specified Double. Because floating-point numbers are affected by precision, so abs(value - realValue) < 1e-6 will match successfully.

Link copied to clipboard

Match the annotation element value as the specified FieldMatcher.

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

Link copied to clipboard

Match the annotation element value as the specified Float. Because floating-point numbers are affected by precision, so abs(value - realValue) < 1e-6 will match successfully.

Link copied to clipboard

Match the annotation element value as the specified Int.

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

Link copied to clipboard

Match the annotation element value as the specified Long.

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

Link copied to clipboard

Match the annotation element value as the specified MethodMatcher. Note: only dalvik.system type annotations contain this element.

Link copied to clipboard
fun name(name: String, matchType: StringMatchType = StringMatchType.Equals, ignoreCase: Boolean = false): AnnotationElementMatcher

Annotation element name to match.

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

Link copied to clipboard

Create nullValue matcher. Note: only dalvik.system type annotations contain this element.

Link copied to clipboard

Match the annotation element value as the specified Number.

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

Link copied to clipboard

Match the annotation element value as the specified Short.

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

Link copied to clipboard

Match the annotation element value as the specified StringMatcher.

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

fun stringValue(value: String, matchType: StringMatchType = StringMatchType.Contains, ignoreCase: Boolean = false): AnnotationElementMatcher

Match the annotation element value as the specified String.

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

Link copied to clipboard

Annotation element value to match.

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