@Test public void testAssembleAndGetProperty() { assertEquals("foo-value", usingArgs.assembleAndGetProperty('f', new StringBuilder().append('o'), 'o')); assertEquals("bar-value", usingArgs.assembleAndGetProperty('b', new StringBuilder().append('a'), 'r')); assertEquals("baz-value", usingArgs.assembleAndGetProperty('b', new StringBuilder().append('a'), 'z')); }
@Privileged Object assembleAndGetProperty(char first, CharSequence middle, int last) { return System.getProperty(new StringBuilder().append(first).append(middle).append((char) last).toString()); }
UsingArgs { @Privileged Object assembleAndGetProperty(char first, CharSequence middle, int last) { return System.getProperty(new StringBuilder().append(first).append(middle).append((char) last).toString()); } }
UsingArgs { @Privileged Object assembleAndGetProperty(char first, CharSequence middle, int last) { return System.getProperty(new StringBuilder().append(first).append(middle).append((char) last).toString()); }  }
UsingArgs { @Privileged Object assembleAndGetProperty(char first, CharSequence middle, int last) { return System.getProperty(new StringBuilder().append(first).append(middle).append((char) last).toString()); }   }
UsingArgs { @Privileged Object assembleAndGetProperty(char first, CharSequence middle, int last) { return System.getProperty(new StringBuilder().append(first).append(middle).append((char) last).toString()); }    }