f31faafd72
Java type enhancement is performed by a special scope kind Java FIR dump was added for multiplatform tests to look at enhancements Overrides, J2K mapping, special cases does not work yet Related to KT-29937
10 lines
244 B
Java
Vendored
10 lines
244 B
Java
Vendored
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
public class Annotated {
|
|
@NotNull
|
|
public String foo(@Nullable String param) {
|
|
if (param != null) return param;
|
|
else return "";
|
|
}
|
|
} |