code: public StackTraceElement createStackTraceElement(SourceLocation srcLocation) {
      return new StackTraceElement(
          /* declaringClass= */ soyFileHeaderInfo.namespace,
          // The partial template name begins with a '.' that causes the stack trace element to
          // print "namespace..templateName" otherwise.
          /* methodName= */ partialTemplateName.substring(1),
          srcLocation.getFileName(),
          srcLocation.getBeginLine());
    }
docs: Construct a StackTraceElement that will point to the given source location of the current
  template.