How can we change message of inbuilt annotation provided by java at run time -


how can change message of in built annotation provided java @ run time?

there links talk changing message of custom annotation : e.g can change annotation message @ run time?

above link helped me solve 1 problem.

but want know how annotations provide java itself.

e.g

@defaultvalue  @digit  @min 

i can use

@min(value = 1, message = "value must 1 or more")

but static message, there way make dynamic.

-cheers


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -