Last active
January 23, 2020 18:43
-
-
Save guitimoteo/20eb89552fc1f340ce0a32e08149b835 to your computer and use it in GitHub Desktop.
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
sed -i -r 's/public (\w*).? (\w*) \{ get\; set\; \}/private \1 \l\2;/g | |
s/ decimal.? / BigDecimal /g | |
s/ string.? / String /g | |
s/ int.? / Integer /g | |
s/ long.? / Long /g | |
s/ short.? / Short /g | |
s/ DateTime.? / OffsetDateTime /g | |
s/\[DataMember.*//g | |
s/ bool.? / Boolean /g' Arquivo.java |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Substitua o Arquivo.java pelo arquivo desejado