Fork of the Fernflower decompiler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fernflower/testData/src/pkg/TestInnerClassConstructor.java

27 lines
364 B

package pkg;
class TestInnerClassConstructor {
void l() {
new Inner("text");
}
void m() {
new Another(3, 4);
}
void n(String s) {
System.out.println("n(): " + s);
}
final class Inner {
private Inner(String s) {
n(s);
}
}
private class Another {
private Another(int a, int b) {
n(a + "+" + b);
}
}
}