Format instructions, exceptions, inner classes and enclosing methods

This commit is contained in:
ktkk 2026-06-22 15:34:25 +00:00
parent 7d7df22df3
commit ba2c8a59b5
2 changed files with 163 additions and 5 deletions

View file

@ -23,5 +23,18 @@ public class Main implements Runnable, Supplier<Integer>, Interface {
public String getName() {
return name;
}
public void throwSomething() throws Throwable {
throw new Throwable() {
@Override
public String getMessage() {
return "Hello";
}
};
}
public static class Inner {
private static final String name = "Inner John";
}
}