blob: 28597dc7178efbe42f47f65fb66df47379b73dcb [file] [log] [blame]
import org.checkerframework.checker.interning.qual.Interned;
public class CompileTimeConstants {
class A {
static final String a1 = "hello";
@Interned String a2 = "a2";
void method() {
if (a1 == "hello") {}
}
}
class B {
static final String b1 = "hello";
void method() {
if (b1 == A.a1) {}
}
}
}