mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 12:34:00 +07:00
Only the first enclosing class needs to be passed. #IDEA-373584 GitOrigin-RevId: 3758360567a3fc64c1094d9b80627484df44c986
13 lines
256 B
Java
13 lines
256 B
Java
class Constructors {
|
|
class X {
|
|
class Y {
|
|
Y() {}
|
|
Y(String a) {}
|
|
}
|
|
}
|
|
|
|
public void testConstructor() throws Exception {
|
|
X.Y.class.getDeclaredConstructor(X.class);
|
|
X.Y.class.getDeclaredConstructor(X.class, String.class);
|
|
}
|
|
} |