java - How can IntelliJ refactor class constants to an external class? -


i have series of 30 or private class constants declared , used in fragment.java. want refactor declarations public declarations in constants.java such occurrences of variable_name in fragment.java replaced constants.variable_name

tips appreciated on how use this. using android studio built on top of intellij.

click menu "refactor", , choose "move...". select constants want move , enter class want move them.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -