Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Print any classes whose containing in package com.nomagic.reportwizard.

Without QueryTool:

panel
Code Block
languagetext
#foreach ($c in $Class)
  #if ($c.qualifiedName.startWithstartsWith("com.nomagic.reportwizard"))
    $c.name
  #end
#end

With QueryTool:

Code Block
languagetext
#import("query", "com.nomagic.reportwizard.tools.QueryTool")
#foreach ($c in $query.get("class[qualifiedName^=com.nomagic.reportwizard]"))
  $c.name
#end

...