mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-22 08:31:31 +00:00
30 lines
488 B
Java
30 lines
488 B
Java
package test;
|
|
|
|
public class PrivateMembers {
|
|
private PrivateMembers() {
|
|
}
|
|
|
|
private int field = 1;
|
|
private static int staticField = 2;
|
|
|
|
private void method() {
|
|
}
|
|
|
|
private void samAdapter(SamInterface r) {
|
|
}
|
|
|
|
private static void staticMethod() {
|
|
}
|
|
|
|
private class Inner {
|
|
}
|
|
|
|
private interface SamInterface {
|
|
void foo();
|
|
}
|
|
|
|
private static class Nested {
|
|
private static void staticMethodInNested() {
|
|
}
|
|
}
|
|
} |