mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
Part of IDEA-334171 Store MockJDK in artifact repository, rather than in Git GitOrigin-RevId: 9c6214e3ead47cc164d20813f5a2b37136607213
15 lines
431 B
Java
15 lines
431 B
Java
class Main {
|
|
|
|
class FailureException extends Exception {}
|
|
|
|
public static void x(StringTemplate.Processor<String, FailureException> p, int i, int j) {
|
|
try {
|
|
String t = newMethod(p, i, j);
|
|
}
|
|
catch (FailureException ignore) {}
|
|
}
|
|
|
|
private static String newMethod(StringTemplate.Processor<String, FailureException> p, int i, int j) throws FailureException {
|
|
return p."\{i} + \{j} = \{i + j}";
|
|
}
|
|
} |