summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/intentions/atomic/afterTA1.java
blob: a90ed666ea30141956fc262c4d548692b5507f4b (plain)
1
2
3
4
5
6
7
8
9
10
// "Convert to atomic" "true"
import java.lang.annotation.*;
import java.util.concurrent.atomic.AtomicReference;

@Target(value = ElementType.TYPE_USE)
public @interface TA { int value(); }

class T {
    final AtomicReference<@TA(42) String> v = new AtomicReference<String>();
}