add IReified
This commit is contained in:
parent
e4ba7ef56f
commit
67a8c8d4cf
1 changed files with 8 additions and 1 deletions
|
|
@ -17,6 +17,11 @@
|
||||||
classes)))
|
classes)))
|
||||||
(list 'fn ['methods]
|
(list 'fn ['methods]
|
||||||
(list* 'reify
|
(list* 'reify
|
||||||
|
'sci.impl.types.IReified
|
||||||
|
'(getMethods [this]
|
||||||
|
((get-in methods '[sci.impl.types.IReified getMethods]) this))
|
||||||
|
'(getInterfaces [this]
|
||||||
|
((get-in methods '[sci.impl.types.IReified getInterfaces]) this))
|
||||||
(mapcat
|
(mapcat
|
||||||
(fn [[clazz methods]]
|
(fn [[clazz methods]]
|
||||||
(cons clazz
|
(cons clazz
|
||||||
|
|
@ -41,7 +46,9 @@
|
||||||
#_:clj-kondo/ignore
|
#_:clj-kondo/ignore
|
||||||
(def reify-opts
|
(def reify-opts
|
||||||
(gen-reify-combos
|
(gen-reify-combos
|
||||||
{java.nio.file.FileVisitor {preVisitDirectory [[this p attrs]]
|
{sci.impl.types.IReified {getMethods [[this]]
|
||||||
|
getInterfaces [[this]]}
|
||||||
|
java.nio.file.FileVisitor {preVisitDirectory [[this p attrs]]
|
||||||
postVisitDirectory [[this p attrs]]
|
postVisitDirectory [[this p attrs]]
|
||||||
visitFile [[this p attrs]]}
|
visitFile [[this p attrs]]}
|
||||||
java.io.FileFilter {accept [[this f]]}
|
java.io.FileFilter {accept [[this f]]}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue