Constructors

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

Types

Link copied to clipboard
object Companion

Properties

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

Field modifiers. Match using java.lang.reflect.Modifier mask bits, 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

The field type fully qualified name.

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

Link copied to clipboard

Functions

Link copied to clipboard

Add field annotation matcher.

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

Link copied to clipboard
inline fun addReadMethod(init: MethodMatcher.() -> Unit): FieldMatcher

fun addReadMethod(methodDescriptor: String): FieldMatcher

Add read this field value's method matcher.

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

Link copied to clipboard

fun addWriteMethod(methodDescriptor: String): FieldMatcher

Write this field value's methods matcher.

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

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

Field annotation count range.

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

Link copied to clipboard

The field annotations matcher.

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

Link copied to clipboard

The field declared class matcher.

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

inline fun declaredClass(init: ClassMatcher.() -> Unit): FieldMatcher

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

Field modifiers matcher.

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

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

Field modifiers. Match using java.lang.reflect.Modifier mask bits.

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

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
inline fun readMethods(init: MethodsMatcher.() -> Unit): FieldMatcher

Read this field value's methods matcher.

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

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

The field type class matcher.

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

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

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
inline fun writeMethods(init: MethodsMatcher.() -> Unit): FieldMatcher

Write this field value's methods matcher.

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