mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 18:17:08 +07:00
#IDEA-373584 GitOrigin-RevId: 04c8ee6bb7c8427afed171dfdd78b00ab5220a8d
15 lines
332 B
Java
15 lines
332 B
Java
class Constructors {
|
|
public static void testConstructorInStatic() throws Exception {
|
|
class X {
|
|
X(int i) {}
|
|
class Y {
|
|
Y() {}
|
|
Y(String a) {}
|
|
}
|
|
}
|
|
|
|
X.class.getDeclaredConstructor(int.class);
|
|
X.Y.class.getDeclaredConstructor(X.class);
|
|
X.Y.class.getDeclaredConstructor(X.class, String.class);
|
|
}
|
|
} |