public static class NativeAllocationTracer.Location extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
className
Class name where the allocation occurred
|
private String |
fileName
File name where the allocation occurred
|
private int |
lineNumber
Line number where the allocation occurred
|
private String |
methodName
Method name where the allocation occurred
|
| Constructor and Description |
|---|
Location(StackTraceElement element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
String |
getClassName() |
String |
getFileName() |
int |
getLineNumber() |
String |
getMethodName() |
int |
hashCode() |
boolean |
isNativeMethod() |
String |
toString() |
private final String className
private final String methodName
private final String fileName
private final int lineNumber
Location(StackTraceElement element)
public String getClassName()
public String getMethodName()
public String getFileName()
public int getLineNumber()
public boolean isNativeMethod()
Copyright © 2026. All rights reserved.