Hi Gary,
thank you. It worked now after adding a call to resolve
(defn all-fields-are-of-primitive-type? [fields-list]
(every? #(primitive-types (resolve %) ) fields-list)
)
On Monday, June 26, 2017 at 6:50:01 PM UTC+1, Gary Trakhman wrote:
>
> Is this what you're looking for?
>
Is this what you're looking for?
user=> (resolve 'java.lang.String)
java.lang.String
user=> (type (resolve 'java.lang.String))
java.lang.Class
On Mon, Jun 26, 2017 at 1:34 PM Manas Marthi wrote:
> Hi,
> I have a jar files with more than 200 DTO classes. Some have only
> primitive data type
Hi,
I have a jar files with more than 200 DTO classes. Some have only
primitive data type values and some have other beans from the same jar.
I am trying to traverse through a class hierarchy to find the field count.
If a class has a mix of some primitive types and other java classes, then
th