Returns true if the specified object is another
StackTraceElement
instance representing the same execution point as this instance. Two stack trace elements
a
and
b
are equal if and only if:
equals(a.getClassLoaderName(), b.getClassLoaderName()) &&
equals(a.getModuleName(), b.getModuleName()) &&
equals(a.getModuleVersion(), b.getModuleVersion()) &&
equals(a.getClassName(), b.getClassName()) &&
equals(a.getMethodName(), b.getMethodName())
equals(a.getFileName(), b.getFileName()) &&
a.getLineNumber() == b.getLineNumber()
where
equals
has the semantics of
Objects.equals
.