A C E F H L N R T V 

A

analysisDurationMs - Variable in class com.squareup.leakcanary.AnalysisResult
Total time spent analyzing the heap.
AnalysisResult - Class in com.squareup.leakcanary
 

C

checkForLeak(File, String) - Method in class com.squareup.leakcanary.HeapAnalyzer
Searches the heap dump for a KeyedWeakReference instance with the corresponding key, and then computes the shortest strong reference path from that instance to the GC roots.
className - Variable in class com.squareup.leakcanary.AnalysisResult
Class name of the object that leaked if AnalysisResult.leakFound is true, null otherwise.
className - Variable in class com.squareup.leakcanary.LeakTraceElement
 
com.squareup.leakcanary - package com.squareup.leakcanary
 

E

elements - Variable in class com.squareup.leakcanary.LeakTrace
 
excludedLeak - Variable in class com.squareup.leakcanary.AnalysisResult
True if AnalysisResult.leakFound is true and the only path to the leaking reference is through excluded references.
extra - Variable in class com.squareup.leakcanary.LeakTraceElement
Additional information, may be null.

F

failure - Variable in class com.squareup.leakcanary.AnalysisResult
Null unless the analysis failed.
failure(Exception, long) - Static method in class com.squareup.leakcanary.AnalysisResult
 
fields - Variable in class com.squareup.leakcanary.LeakTraceElement
List of all fields (member and static) for that object.

H

HeapAnalyzer - Class in com.squareup.leakcanary
Analyzes heap dumps generated by a RefWatcher to verify if suspected leaks are real.
HeapAnalyzer(ExcludedRefs) - Constructor for class com.squareup.leakcanary.HeapAnalyzer
 
HeapAnalyzer(ExcludedRefs, ExcludedRefs) - Constructor for class com.squareup.leakcanary.HeapAnalyzer
 
holder - Variable in class com.squareup.leakcanary.LeakTraceElement
 

L

leakDetected(boolean, String, LeakTrace, long) - Static method in class com.squareup.leakcanary.AnalysisResult
 
leakFound - Variable in class com.squareup.leakcanary.AnalysisResult
True if a leak was found in the heap dump.
leakTrace - Variable in class com.squareup.leakcanary.AnalysisResult
Shortest path to GC roots for the leaking object if AnalysisResult.leakFound is true, null otherwise.
LeakTrace - Class in com.squareup.leakcanary
A chain of references that constitute the shortest strong reference path from a leaking instance to the GC roots.
LeakTraceElement - Class in com.squareup.leakcanary
Represents one reference in the chain of references that holds a leaking object in memory.
LeakTraceElement.Holder - Enum in com.squareup.leakcanary
 
LeakTraceElement.Type - Enum in com.squareup.leakcanary
 

N

noLeak(long) - Static method in class com.squareup.leakcanary.AnalysisResult
 

R

referenceName - Variable in class com.squareup.leakcanary.LeakTraceElement
Null if this is the last element in the leak trace, ie the leaking object.

T

toDetailedString() - Method in class com.squareup.leakcanary.LeakTrace
 
toDetailedString() - Method in class com.squareup.leakcanary.LeakTraceElement
 
toString() - Method in class com.squareup.leakcanary.LeakTrace
 
toString() - Method in class com.squareup.leakcanary.LeakTraceElement
 
type - Variable in class com.squareup.leakcanary.LeakTraceElement
Null if this is the last element in the leak trace, ie the leaking object.

V

valueOf(String) - Static method in enum com.squareup.leakcanary.LeakTraceElement.Holder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.squareup.leakcanary.LeakTraceElement.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.squareup.leakcanary.LeakTraceElement.Holder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.squareup.leakcanary.LeakTraceElement.Type
Returns an array containing the constants of this enum type, in the order they are declared.
A C E F H L N R T V