code: public TemplateExpression addExpression(String expression, TypeName expressionType,
        boolean shouldCast, List<VariableInfo> parameters) {
      String id = "exp$" + this.expressions.size();
  
      TemplateExpression templateExpression = new TemplateExpression(id,
          expression.trim(),
          expressionType,
          shouldCast,
          parameters,
          context.getCurrentLine().orElse(null));
  
      this.expressions.add(templateExpression);
      return templateExpression;
    }
docs: Add an expression to the result. All the Java methods from the template will be added here so
  we can add them to our Vue.js component.
  
  @param expression The Java expression
  @param expressionType The type of the expression, determined depending on the context it is
  used in.
  @param shouldCast Should the expression be cast to the given expressionType
  @param parameters The parameters this expression depends on (can be empty)
  @return The {@link TemplateExpression} for this Java expression, will be used to get the string
  to put in the template instead.