Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameterized annotation should be available in templates #2

Open
daanvdh opened this issue Sep 10, 2019 · 0 comments
Open

Parameterized annotation should be available in templates #2

daanvdh opened this issue Sep 10, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@daanvdh
Copy link
Owner

daanvdh commented Sep 10, 2019

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>
@daanvdh daanvdh added the enhancement New feature or request label Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant