Skip to content

Parameterized annotation should be available in templates #2

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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