This module pulls information from javaparser classes to allow for their semi-automatic translation to and from clojure data structures.
It is considered an implementation detail and no guarantees about its stability or compatibility are made.
This module pulls information from javaparser classes to allow for their semi-automatic translation to and from clojure data structures. It is considered an implementation detail and no guarantees about its stability or compatibility are made.
(all-fields other-infos info)Return a map with all fields of an analyzed class.
Arguments:
other-infos - a map which must contain all classes referenced in info.
info - an analyzed class.
The output will be a map, where keys are field names and values are
analysed fields (via analyse-field). The map will be sorted by field
name and contain all direct as well as inherited fields.
Return a map with all fields of an analyzed class. Arguments: `other-infos` - a map which must contain all classes referenced in `info`. `info` - an analyzed class. The output will be a map, where keys are field names and values are analysed fields (via `analyse-field`). The map will be sorted by field name and contain all direct as well as inherited fields.
A map with all relevant javaparser classes.
Keys are classes. Values are maps similar to the output of
analyse-class, but with some differences:
:fields will contain all fields, including inherited ones.
:node-kind - a marker for maps originating from this type.
:direct-fields - only non-inherited fields.
Additionally, some fields may be modified or dropped to make conversions to and from javaparser classes work better or just look nicer.
A map with all relevant javaparser classes. Keys are classes. Values are maps similar to the output of `analyse-class`, but with some differences: `:fields` will contain all fields, including inherited ones. `:node-kind` - a marker for maps originating from this type. `:direct-fields` - only non-inherited fields. Additionally, some fields may be modified or dropped to make conversions to and from javaparser classes work better or just look nicer.
(referenced-javaparser-classes root)Return a map of class references between javaparser classes.
Keys will be javaparser classes. Values will be sets of classes referenced by the key.
The map will be sorted by key class' name.
Return a map of class references between javaparser classes. Keys will be javaparser classes. Values will be sets of classes referenced by the key. The map will be sorted by key class' name.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |