Skip to content

Parameterized annotation should be available in templates #2

Open
@daanvdh

Description

@daanvdh

Currently parameterized annotation is not available in templates. Within templates I want to be able to use:

<#list class.annotations as annotation>
<#list annotation.parameters as param>
  // This is the parameter name: ${param.name}.
  // This is the parameter value: ${param.value}. 
</#list>
</#list>

Note that current usage should also still be available:

<#if class.annotations?seq_contains("Entity")>
  // Class contains entity annotation
</#if>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions