@Test public void testGetProperty() { assertEquals("foo-value", StaticUsingArgs.getProperty("foo")); assertEquals("bar-value", StaticUsingArgs.getProperty("bar")); assertEquals("baz-value", StaticUsingArgs.getProperty("baz")); }
@Privileged static String getProperty(String name) { return System.getProperty(name); }
StaticUsingArgs { @Privileged static String getProperty(String name) { return System.getProperty(name); } }
StaticUsingArgs { @Privileged static String getProperty(String name) { return System.getProperty(name); } private  StaticUsingArgs(); }
StaticUsingArgs { @Privileged static String getProperty(String name) { return System.getProperty(name); } private  StaticUsingArgs();  }
StaticUsingArgs { @Privileged static String getProperty(String name) { return System.getProperty(name); } private  StaticUsingArgs();   }