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