mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
19 lines
408 B
Java
19 lines
408 B
Java
// "Bind constructor parameters to fields" "true-preview"
|
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
public class TestBefore {
|
|
|
|
@NotNull
|
|
private final String myName;
|
|
@NotNull
|
|
private final String myName2;
|
|
|
|
public TestBefore(@NotNull String name, @NotNull String name2) {
|
|
super();
|
|
myName = name;
|
|
myName2 = name2;
|
|
}
|
|
}
|