private static class P2JQueryStatistics.Location
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
className
Name of application class (sans package root name) containing query.
|
private int |
hashCode
The hash code of this
Location. |
private int |
lineNumber
Line number at which query was constructed.
|
private java.lang.String |
methodName
Name of application-level method in which query was executed.
|
private java.lang.String |
sourceFile
Unqualified application source code file name containing query.
|
| Modifier | Constructor and Description |
|---|---|
private |
Location(java.lang.String sourceFile,
int lineNumber,
java.lang.String className,
java.lang.String methodName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Indicate whether this object instance is equivalent to the given instance, based on
the content of both.
|
int |
hashCode()
Return the hash code computed for this object instance.
|
java.lang.String |
toString()
A formatted way of presenting a
Location. |
private final java.lang.String sourceFile
private final int lineNumber
private final java.lang.String className
private final java.lang.String methodName
private final int hashCode
Location.private Location(java.lang.String sourceFile,
int lineNumber,
java.lang.String className,
java.lang.String methodName)
sourceFile - Unqualified application source code file name containing query.lineNumber - Line number at which query was constructed.className - Name of application class (sans package root name) containing query.methodName - Name of application-level method in which query was executedpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecttrue if equivalent, false otherwise.public java.lang.String toString()
Location.toString in class java.lang.ObjectString representing the Location.