Announcement Announcement Module
Collapse
No announcement yet.
Add-on Builder Static Field in Annotation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add-on Builder Static Field in Annotation

    I was able to find this example setting an enum on an annotation and have been looking through the code, but is there a way to do something similar referencing a static field? I've been looking through the RC1 source.

    Code:
    requestMappingAttributes.add(new EnumAttributeValue(new JavaSymbolName("namespace"), new EnumDetails(new JavaType("org.springframework.web.bind.annotation.RequestMethod"), new JavaSymbolName("GET"))));
Working...
X