title: Velocity parser crashes when parsing java code template
body: <p>When trying to use a java source code as template for Velocity, it crashes at this line of the template:</p>
  
  <pre><code>/*  @see panama.form.Validator#validate(java.lang.Object) */
  </code></pre>
  
  <p>with this Exception:</p>
  
  <pre><code>Exception in thread "main" org.apache.velocity.exception.ParseErrorException: Lexical error,   Encountered: "l" (108), after : "." at *unset*[line 23, column 53]
  at org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1301)
  at org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1265)
  at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:199)
  </code></pre>
  
  <p>Apparently it takes the <code>#validate</code> for a macro and crashes when it tries to parse the arguments for the macro. Is there anything one could do about this?</p>
  
  <p>I'm using Velocity 1.7.</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I know I could escape the <code>#</code> characters in the template files, but there are quite a number of them which also might change now and then, so I would prefer a way that would not require manual changes on the files.</p>