Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/ObjectInspectors

ObjectInspectors

[jvm]\ enum ObjectInspectors : Enum<ObjectInspectors> , ObjectInspector

A set of default ObjectInspectors that knows about common JDK objects.

Entries

KEYED_WEAK_REFERENCE [jvm]
KEYED_WEAK_REFERENCE
CLASSLOADER [jvm]
CLASSLOADER
CLASS [jvm]
CLASS
ANONYMOUS_CLASS [jvm]
ANONYMOUS_CLASS
THREAD [jvm]
THREAD

Types

Name Summary
Companion [jvm]
object Companion

Functions

Name Summary
inspect [jvm]
abstract fun inspect(reporter: ObjectReporter)
valueOf [jvm]
fun valueOf(value: String): ObjectInspectors
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values [jvm]
fun values(): Array<ObjectInspectors>
Returns an array containing the constants of this enum type, in the order they’re declared.

Properties

Name Summary
name [jvm]
val name: String
ordinal [jvm]
val ordinal: Int