Companion

object Companion

Functions

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified number.

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

Link copied to clipboard
Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified Boolean.

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

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified Byte.

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

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified Char.

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

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified ClassMatcher.

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

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified Double. Because floating-point numbers are affected by precision, so abs(value - realValue) < 1e-6 will match successfully.

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified enumValue. The value of enum is a Field, so here use FieldMatcher.

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified Float. Because floating-point numbers are affected by precision, so abs(value - realValue) < 1e-6 will match successfully.

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified Int.

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

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified Long.

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

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified MethodMatcher. Note: only dalvik.system type annotations contain this element.

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified nullValue. Note: only dalvik.system type annotations contain this element.

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified Short.

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

Link copied to clipboard

Create a new AnnotationEncodeValueMatcher from the specified StringMatcher.

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

fun createString(value: String, matchType: StringMatchType = StringMatchType.Contains, ignoreCase: Boolean = false): AnnotationEncodeValueMatcher

Create a new AnnotationEncodeValueMatcher from the specified String.

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