Provided the final variable is used only inside one static method, should I declare it as final static member in class, or final variable in the static method.
If it is declared inside method, will it be initialized each time the function is called. (function is invoked a lot of times)
EDIT: The Variable is a List initialized using Arrays.asList(...) function
final staticoption.static final. So should be this list. However, don't forget to make it immutable (Collections.unmodifiableList(...)).