- All Implemented Interfaces:
- VisitorContributor<com.sun.source.tree.MethodInvocationTree,JS,GenerationContext<JS>,WriterVisitor<JS>>, WriterContributor<com.sun.source.tree.MethodInvocationTree,JS>
public class AssertTemplate<JS>
extends Object
implements WriterContributor<com.sun.source.tree.MethodInvocationTree,JS>
This template generate a code that allows you to add into the javascript file the original java code and its position
in the source file. It's no longer very useful since the javaScript stacktrace can be translated back to Java
stacktrace. assertMethod(params) -> assertMethod("sourceFile:line", "assertMethod(params)", params);
- Author:
- acraciun