boolean isJsCached ( Method nonProxiedMethod ) { boolean cached = nonProxiedMethod . isAnnotationPresent ( JsCacheResult . class ) ; logger . debug ( "The result of the method {} should be cached on client side {}." , nonProxiedMethod . getName ( ) , cached ) ; return cached ; }
Check if result should be cached in front - end