public class SearchElement
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SearchElement.SearchTrc
Only for debugging: Element to store the trace while searching any element.
|
Modifier and Type | Field and Description |
---|---|
static SearchElement.SearchTrc[] |
searchTrc
Only for debugging: Stores the trace while searching any element.
|
(package private) static java.lang.String |
version
Version, history and license.
|
Constructor and Description |
---|
SearchElement() |
Modifier and Type | Method and Description |
---|---|
static MemSegmJc |
searchObject(java.lang.String sPath,
ClassJc startClazz,
MemSegmJc startAddr,
FieldJc[] retField,
int[] retIdx)
Searches a Field in a Object with given path.
|
static final java.lang.String version
searchObject(String, ClassJc, MemSegmJc, FieldJc[], int[])
with separated class and instance reference.
#searchObject(String, Object, FieldJc[], int[])
: An index should be read with StringFunctions_C#parseIntRadix(CharSequence, int, int, int, int[])
instead Integer.parseInt(String, int)
because the first one is exception-free. An exception is an problem on target system in C. It occurs
if the path is faulty by access from Inspector.
public static final SearchElement.SearchTrc[] searchTrc
public static MemSegmJc searchObject(java.lang.String sPath, ClassJc startClazz, MemSegmJc startAddr, FieldJc[] retField, int[] retIdx)
sPath
- String given path to any Field in an Object.startObj
- The root Object for the path.retField
- The field of the found Object will stored at retField[0].retIdx
- If the sPath contains a index written like [12] at end, then
the index is returned here. Elsewhere -1 is returned in retIdx[0].