Is there a better way to get to `Classname[].class` ?

2017-10-09 Thread pericles macedo
Hey Guys, I wanted to know if there is a better way to get to the same result as `GitlabProject[].class` after some digging around, I got to this array of class definition by doing something like `(class (make-array GitlabProject 1))`. But I don't know if there is a better way to get to this sam

Re: Is there a better way to get to `Classname[].class` ?

2017-10-09 Thread pericles macedo
Thanks Alex :) Yes, that works better On Monday, October 9, 2017 at 9:21:24 AM UTC-7, Alex Miller wrote: > > (Class/forName "[Lorg.gitlab.api.models.GitlabProject;") > > > On Monday, October 9, 2017 at 10:38:37 AM UTC-5, pericles macedo wrote: >> >> Hey Gu

Re: Is there a better way to get to `Classname[].class` ?

2017-10-09 Thread pericles macedo
ng to do. I'm not quite sure of the benefits of > typing an array when it's not a primitive one, though. > > What are you trying to accomplish, if we zoom back a little bit? Maybe > there's a better way to do whatever you're trying to do. > > On 9 Oct 2017, at

Re: Is there a better way to get to `Classname[].class` ?

2017-10-11 Thread pericles macedo
Thanks Peter, Yeah, I didn't find that reference before. It would have saved me a couple hours. I found something similar in a few places, but it only had the primitive types. It missed the class specific element type. On Tuesday, October 10, 2017 at 3:22:38 AM UTC-7, Peter Hull wrote: > > I act