StaticCallExp extends NestedExp { public StaticCallExp(StaticCall call, NestedExp... params) { code = call.getCode() + getCodeForParams(params); } StaticCallExp(StaticCall call, NestedExp... params);  StaticCallExp(StaticCall call, List<NestedExp> params);  StaticCallExp(CtField staticField);  StaticCallExp(CtMethod staticMethod, NestedExp... params);  StaticCallExp(CtMethod staticMethod, List<NestedExp> params);   }
@Test public void testStaticCallExp() { assertEquals("java.lang.String#format(\"value: %d\", 5)", new StaticCallExp(new StaticCall(String.class, "format"), new ValueExp("value: %d"), new ValueExp(5)).getCode()); }