mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 04:11:31 +07:00
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
14 lines
296 B
Plaintext
14 lines
296 B
Plaintext
class Foo {
|
|
private String firstName;
|
|
<spot>private</spot> Foo(String firstName) {
|
|
this.firstName = firstName;
|
|
}
|
|
|
|
static Foo createFoo(String firstName) {
|
|
return new Foo(firstName);
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
Foo joe = <spot>createFoo("Joe")</spot>;
|
|
}
|
|
} |