A DESCRIPTION OF THE REQUEST :
Currently one has to use stringTypeValue.value.toString() javascript expression to get the string form of the value of java.lang.String typed fields.
This could be implemented by a sub class of
com.sun.tools.hat.internal.model.JavaObject
something like:
com.sun.tools.hat.internal.model.JavaStringObject
This is similar to what JDI does by having:
com.sun.jdi.StringReference
as a sub interface of:
com.sun.jdi.ObjectReference
JUSTIFICATION :
Awkward usage.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
For java.lang.String type values support direct mechanism.
I should be able to use:
select file.path
from java.io.File file
ACTUAL -
I have to use:
select file.path.value.toString()
from java.io.File file
which is very awkward.
---------- BEGIN SOURCE ----------
OQL Query:
select file.path.value.toString()
from java.io.File file
---------- END SOURCE ----------