I want to invoke non-getter methods in sightly, is that possible?
For example, HashMap.size()
You can call any publicly accessible method on your Use objects or on the global objects available to your Sightly scripts, as long as the method doesn't need parameters.
For more details about the implementation of discovering the available methods on your objects you could check RenderUtils.java.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With