UsingFieldMatcher

Constructors

Link copied to clipboard
constructor()
constructor(field: Field, usingType: UsingType = UsingType.Any)
constructor(fieldDescriptor: String, usingType: UsingType = UsingType.Any)

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

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

The field name.

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

Link copied to clipboard

The field type fully qualified name.

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

Link copied to clipboard

Using type. Default is UsingType.Any.

Functions

Link copied to clipboard

Match raw DEX flags on the used field.

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

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

Match raw DEX flags on the used field, independently of modifiers.

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

Link copied to clipboard

Add field annotation matcher.

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

Link copied to clipboard

fun addReadMethods(methodDescriptor: String): UsingFieldMatcher

Add read this field value's method matcher.

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

Link copied to clipboard

fun addWriteMethod(methodDescriptor: String): UsingFieldMatcher

Add write this field value's method matcher.

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

Link copied to clipboard

Field annotation count.

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

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

Field annotation count range.

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

Link copied to clipboard

The field annotations matcher.

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

Link copied to clipboard

The field declared class matcher.

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


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

The field declared class name matcher.

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

Link copied to clipboard

The field descriptor, specifies a unique field.

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

Link copied to clipboard

Need to match field.

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

Link copied to clipboard

Java reflection field modifiers matcher.

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

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

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): UsingFieldMatcher

The field name.

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

Link copied to clipboard

Read this field value's methods matcher.

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

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

The field type class matcher.

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


The field type matcher.

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

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

The field type name matcher.

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

Link copied to clipboard

Using type.

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

Link copied to clipboard

Write this field value's methods matcher.

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