It is statically type-checked and does not allow type coercion, so is safe with regards to types.
它进行静态类型检查,并且不允许强制类型转换,因而对于类型而言是安全的。
Expressions in Sitebricks templates are just as concise as JSP, but are statically type-checked using a type-inference algorithm.
Sitebricks模板中的表达式就像JSP那样简洁,但却通过一个类型推断算法进行静态的类型检查。
Not only are your objects validated for di dependencies (with Guice and Guice Servlet built-in), but expressions inside pages are statically type-checked against their corresponding page classes.
不仅验证对象以保证DI依赖(通过Guice及内建的Guice Servlet)的正确性,而且还对页面中的表达式进行静态的类型检查使之符合相应的页面类。
应用推荐