15 lines
314 B
Plaintext
15 lines
314 B
Plaintext
|
import java.util.Optional;
|
||
|
import java.lang.Integer;
|
||
|
|
||
|
public class StaticClass {
|
||
|
public static StaticClass barbar() {
|
||
|
return new StaticClass();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public class Bug285 {
|
||
|
public void foo() {
|
||
|
Optional<Integer> opt = Optional.empty();
|
||
|
StaticClass b = StaticClass.barbar();
|
||
|
}
|
||
|
}
|