Created
March 26, 2013 18:51
-
-
Save electrum/5248077 to your computer and use it in GitHub Desktop.
IntelliJ IDEA add Jackson @JsonProperty constructor parameter annotations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(\w+) (\w+)([,)]) | |
@JsonProperty("$2") $1 $2$3\n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
an improved version to support
A<T>
(\w+(?:<.*?>)?) (\w+)([,)])