ReferencePattern

sealed class ReferencePattern : Serializable

A pattern that will match references for a given ReferenceMatcher.

Types

Companion
Link copied to clipboard
object Companion
InstanceFieldPattern
Link copied to clipboard
data class InstanceFieldPattern(className: String, fieldName: String) : ReferencePattern

Matches instances field references, identified by className and fieldName.

JavaLocalPattern
Link copied to clipboard
data class JavaLocalPattern(threadName: String) : ReferencePattern

Matches local references held in the stack of frames of a given thread, identified by its name.

NativeGlobalVariablePattern
Link copied to clipboard
data class NativeGlobalVariablePattern(className: String) : ReferencePattern

Matches native global variables (also known as jni global gc roots) that reference Java objects. The class name will match against classes, instances and object arrays with a matching class name.

StaticFieldPattern
Link copied to clipboard
data class StaticFieldPattern(className: String, fieldName: String) : ReferencePattern

Matches static field references, identified by className and fieldName.

Inheritors

JavaLocalPattern
Link copied to clipboard
StaticFieldPattern
Link copied to clipboard
InstanceFieldPattern
Link copied to clipboard
NativeGlobalVariablePattern
Link copied to clipboard