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/TestInnerLocal.java

49 lines
956 B

package pkg;
public class TestInnerLocal {
public static void testStaticMethod() {
class Inner {
final String x;
public Inner(@Deprecated String x) {
this.x = x;
}
}
new Inner("test");
new Inner1Static("test");
new Inner1Static.Inner2Static("test");
}
public void testMethod() {
class Inner {
final String x;
public Inner(@Deprecated String x) {
this.x = x;
}
}
new Inner("test");
new Inner1Static("test");
new Inner1("test");
new Inner1Static.Inner2Static("test");
}
class Inner1 {
final String x;
public Inner1(@Deprecated String x) {
this.x = x;
}
}
static class Inner1Static {
final String x;
public Inner1Static(@Deprecated String x) {
this.x = x;
}
public static class Inner2Static {
final String x;
public Inner2Static(@Deprecated String x) {
this.x = x;
}
}
}
}