-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Kazuki Shimizu opened SPR-12743 and commented
Support @NumberFormat
as a meta-annotation the same as @DateTimeFormat
.
@NumberFormat(style = NumberFormat.Style.PERCENT)
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface PercentNumber {}
public class TestBean {
@PercentNumber
private Double percent;
// ...
}
Affects: 4.1 GA
Issue Links:
- TypeDescriptor should support arbitrary levels of meta-annotations [SPR-12793] #17390 TypeDescriptor should support arbitrary levels of meta-annotations ("is depended on by")
Referenced from: pull request #741
1 votes, 3 watchers
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement