main

square/leakcanary

Last updated at: 29/12/2023 09:38

ReferenceLocationType.kt

TLDR

The ReferenceLocationType.kt file provides an enum class ReferenceLocationType that represents different types of reference locations.

Classes

ReferenceLocationType

The ReferenceLocationType enum class represents different types of reference locations. It has the following constants:

  • INSTANCE_FIELD: Represents an instance field reference location.
  • STATIC_FIELD: Represents a static field reference location.
  • LOCAL: Represents a local reference location.
  • ARRAY_ENTRY: Represents an array entry reference location.
package shark

/**
 * TODO This is quite similar to the leaktrace equivalent
 */
enum class ReferenceLocationType {
  INSTANCE_FIELD,
  STATIC_FIELD,
  LOCAL,
  ARRAY_ENTRY
}