@Test void buildsDescriptionWithTypeAndClass() { ObjectEntry.Builder builder = new ObjectEntry.Builder(); builder.setClass("com.example.SomeClass", null); ObjectEntry entry = builder.build(); StringBuilder descBuilder = new StringBuilder(); entry.createDescription(descBuilder); assertThat(descBuilder.toString()).isEqualTo("{\"type\":\"object\",\"class\":\"com.example.SomeClass\"}"); }
@Override protected void createDescription(StringBuilder builder) { builder.append("{\"type\":\"object\",\"class\":\""+className+"\"}"); }
ObjectEntry extends ApiEntry { @Override protected void createDescription(StringBuilder builder) { builder.append("{\"type\":\"object\",\"class\":\""+className+"\"}"); } }
ObjectEntry extends ApiEntry { @Override protected void createDescription(StringBuilder builder) { builder.append("{\"type\":\"object\",\"class\":\""+className+"\"}"); } private  ObjectEntry(); }
ObjectEntry extends ApiEntry { @Override protected void createDescription(StringBuilder builder) { builder.append("{\"type\":\"object\",\"class\":\""+className+"\"}"); } private  ObjectEntry(); String getClassName(); Object call(String functionName, Object[] args); Object getProxiedObject(); }
ObjectEntry extends ApiEntry { @Override protected void createDescription(StringBuilder builder) { builder.append("{\"type\":\"object\",\"class\":\""+className+"\"}"); } private  ObjectEntry(); String getClassName(); Object call(String functionName, Object[] args); Object getProxiedObject();  }