Skip to content

Instantly share code, notes, and snippets.

@electrum
Created March 26, 2013 18:51
Show Gist options
  • Save electrum/5248077 to your computer and use it in GitHub Desktop.
Save electrum/5248077 to your computer and use it in GitHub Desktop.
IntelliJ IDEA add Jackson @JsonProperty constructor parameter annotations
(\w+) (\w+)([,)])
@JsonProperty("$2") $1 $2$3\n
@borissmidt
Copy link

borissmidt commented Dec 8, 2017

an improved version to support A<T>
(\w+(?:<.*?>)?) (\w+)([,)])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment