Constructors

Link copied to clipboard
constructor()
constructor(field: Field)
constructor(descriptor: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Raw DEX access flags; no reflection normalization is applied.

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The field declared class fully qualified name.

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

Link copied to clipboard

The field descriptor.

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

Link copied to clipboard
Link copied to clipboard

Android Java reflection field modifiers, including hidden Java flag bits. Use java.lang.reflect.Modifier for reflection conditions. For raw DEX flags, use accessFlags with DexAccessFlags. The default match type is contains. If you need to match exactly, please use modifiers overloaded function.

Link copied to clipboard
Link copied to clipboard

The field name.

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The field type fully qualified name.

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

Link copied to clipboard

Functions

Link copied to clipboard

Match raw DEX flags independently of modifiers. Both constraints may be combined.

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

fun accessFlags(accessFlags: Int, matchType: MatchType = MatchType.Contains): FieldMatcher

Match raw DEX access flags, including DEX-only flags from DexAccessFlags.

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

Link copied to clipboard

Add one child matcher that must also match.

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

Link copied to clipboard

Add field annotation matcher.

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

Link copied to clipboard

Add one child matcher where at least one must match.

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

Link copied to clipboard

Add one child matcher that must not match.

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

Link copied to clipboard

fun addReadMethod(methodDescriptor: String): FieldMatcher

Add read this field value's method matcher.

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

Link copied to clipboard

fun addWriteMethod(methodDescriptor: String): FieldMatcher

Add write this field value's method matcher.

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

Link copied to clipboard
fun allOf(vararg matchers: FieldMatcher): FieldMatcher

Add child matchers that must all match.

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

Link copied to clipboard

Field annotation count.

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

fun annotationCount(min: Int = 0, max: Int = Int.MAX_VALUE): FieldMatcher

Field annotation count range.

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

Link copied to clipboard

The field annotations matcher.

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

Link copied to clipboard
fun anyOf(vararg matchers: FieldMatcher): FieldMatcher

Add child matchers where at least one must match.

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

Link copied to clipboard

The field declared class matcher.

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


fun declaredClass(className: String, matchType: StringMatchType = StringMatchType.Equals, ignoreCase: Boolean = false): FieldMatcher

The field declared class name matcher.

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

Link copied to clipboard
fun descriptor(descriptor: String): FieldMatcher

The field descriptor, specifies a unique field.

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

Link copied to clipboard

Java reflection field modifiers matcher.

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

fun modifiers(modifiers: Int, matchType: MatchType = MatchType.Contains): FieldMatcher

Android Java reflection field modifiers, including hidden Java flag bits. Use java.lang.reflect.Modifier for reflection conditions. For raw DEX flags, use accessFlags with DexAccessFlags.

Link copied to clipboard

The field name string matcher

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

fun name(name: String, matchType: StringMatchType = StringMatchType.Equals, ignoreCase: Boolean = false): FieldMatcher

The field name.

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

Link copied to clipboard
fun noneOf(vararg matchers: FieldMatcher): FieldMatcher

Add child matchers that must not match.

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

Link copied to clipboard
fun not(init: FieldMatcher.() -> Unit): FieldMatcher

Add a negated child matcher.

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

Link copied to clipboard

Read this field value's methods matcher.

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

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

The field type class matcher.

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


The field type matcher.

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

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

The field type name matcher.

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

Link copied to clipboard

Write this field value's methods matcher.

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