emlyn / tortilla

A thin Clojure wrapper for Java APIs providing efficient and idiomatic interop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom method filter

emlyn opened this issue · comments

Allow filtering the methods to be wrapped by passing in a predicate that takes the class, method name and argument types.
This would be useful for e.g. Spark, where many methods have a version taking Java types and another equivalent taking Scala types. In that case there is no need to wrap both versions.