class Test { private final String test = ""; { foo(); } void foo() { if (test.isEmpty()); } }