<div dir="ltr">Hello,<div><br></div><div>I am using the Apache POI library to read Excel files. The following is from within Slime.</div><div><br></div><div>I am struggling to extract cell types as returned by getCellTypeEnum </div><div>(<a href="https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Cell.html#getCellTypeEnum">https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Cell.html#getCellTypeEnum</a>())</div><div><br></div><div>My code returns a Java Object like so: #<org.apache.poi.ss.usermodel.CellType FORMULA {5C25A9}><br></div><div><br></div><div>It is of class #<java class org.apache.poi.ss.usermodel.CellType></div><div><br></div><div>I would like to grab the "FORMULA" in the above object description.</div><div><br></div><div>Slime can see it, it's inspector can see it, even DESCRIBE can see it:</div><div><div><br></div><div>READER> (describe *)</div><div>#<org.apache.poi.ss.usermodel.CellType FORMULA {11CC24A}> is an object of type JAVA-OBJECT.</div><div><br></div><div>The wrapped Java object is an instance of org.apache.poi.ss.usermodel.CellType:</div><div><br></div><div>  "FORMULA"</div></div><div><br></div><div>But, I could not figure out a way to get to "FORMULA".  I tried to accessing the slot `name' but that does </div><div>not work.  I looked at the FFI page, but found no clues. I tried to get slot names via AMOP:</div><div><br></div><div>(mop:class-direct-slots (class-of java-cell-type))<br></div><div><br></div><div>returns NIL</div><div><br></div><div>It must be something simple that I am overlooking.<br></div><div><br></div><div>Help is appreciated.  Thanks!</div><div><br></div><div>Mirko</div><div><br></div><div><br></div><div><br></div></div>