@Retention(value=RUNTIME)
@Target(value=FIELD)
@Inherited
public @interface NotState
Marks member variables that should not be saved/restored during a transaction.
Such variables will therefore retain any state they had regardless of how a
transaction terminates. Use with care!
By default, all member variables (non-static, non-volatile) will be
saved.
- Author:
- marklittle