mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-22 16:19:35 +07:00
eb3bf098b3
GitOrigin-RevId: bcb0a09fd5d3e92957b4543880c5ef4640eb4d8f
15 lines
301 B
Java
15 lines
301 B
Java
// "Create read-only property 'next' in 'InnerClass in MainClass'" "true-preview"
|
|
public class MainClass {
|
|
void foo() {
|
|
int counter = InnerClass.getNext();
|
|
}
|
|
|
|
private class InnerClass {
|
|
|
|
private static int next;
|
|
|
|
public static int getNext() {
|
|
return next;
|
|
}
|
|
}
|
|
} |