IgnoreApplyNoargs
io.getquill.metaprog.Extractors.IgnoreApplyNoargs
object IgnoreApplyNoargs
Ignore case where there happens to be an apply e.g. java functions where "str".length in scala will translate into "str".lenth() since for java methods () is automatically added in. Hence it's Apply( Select(Literal(IntConstant("str")), "length") ) Not just Select(Literal(IntConstant("str")), "length")
Note maybe there's even a case where you want multiple empty-applies e.g. foo()() to be ignored hence this would be done recursively like Untype
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IgnoreApplyNoargs.type
Members list
In this article