void () { doTest(""" class Outer { public static void main(String[] args) { class Local { void run(String arg) { if (!isEmpty(arg)) { System.out.println("Argument is supplied"); } } } new Local().run(args[0]); } private static boolean isEmpty(String s) { return s != null && s.trim().isEmpty(); } }"""); }