<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Apr 14, 2017 at 7:58 PM Olof-Joachim Frahm <<a href="mailto:olof@macrolet.net">olof@macrolet.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Apr 14, 2017 at 01:43:38PM +0000, Mirko Vukovic wrote:<br>
> It is of class #<java class org.apache.poi.ss.usermodel.CellType><br>
><br>
> I would like to grab the "FORMULA" in the above object description.<br>
><br>
> Slime can see it, it's inspector can see it, even DESCRIBE can see it:<br>
><br>
> READER> (describe *)<br>
> #<org.apache.poi.ss.usermodel.CellType FORMULA {11CC24A}> is an object of<br>
> type JAVA-OBJECT.<br>
><br>
> The wrapped Java object is an instance of<br>
> org.apache.poi.ss.usermodel.CellType:<br>
><br>
> "FORMULA"<br>
><br>
> But, I could not figure out a way to get to "FORMULA". I tried to<br>
> accessing the slot `name' but that does<br>
> not work.<br>
<br>
It's a method of the Java enum, not a field, or slot, e.g.<br>
<br>
(java:jcall "name" (java:jfield "org.armedbear.lisp.Stream$EolStyle" "RAW"))<br>
<br>
returns `"RAW"`, so either that or `(#"name" ...)` via JSS should work.<br></blockquote><div><br></div><div> Thank you, that did it.</div><div><br></div><div>Mirko</div></div></div>