@Test public void testGetNextVariableName() { JavascriptObject.objectCounter = 1; assertEquals( "JavascriptObject1", testJavascriptObject.getNextVariableName() ); }
protected final String getNextVariableName() { return getClass().getSimpleName() + (objectCounter++); }
JavascriptObject { protected final String getNextVariableName() { return getClass().getSimpleName() + (objectCounter++); } }
JavascriptObject { protected final String getNextVariableName() { return getClass().getSimpleName() + (objectCounter++); } protected  JavascriptObject(); protected  JavascriptObject(String type); protected  JavascriptObject( String type, String stringRepresentation ); protected  JavascriptObject(String type, Object... args); protected  JavascriptObject(String type, Object[] ary, boolean isArray); protected  JavascriptObject(String type, JSObject jsObject); }
JavascriptObject { protected final String getNextVariableName() { return getClass().getSimpleName() + (objectCounter++); } protected  JavascriptObject(); protected  JavascriptObject(String type); protected  JavascriptObject( String type, String stringRepresentation ); protected  JavascriptObject(String type, Object... args); protected  JavascriptObject(String type, Object[] ary, boolean isArray); protected  JavascriptObject(String type, JSObject jsObject); JSObject getJSObject(); String getVariableName(); }
JavascriptObject { protected final String getNextVariableName() { return getClass().getSimpleName() + (objectCounter++); } protected  JavascriptObject(); protected  JavascriptObject(String type); protected  JavascriptObject( String type, String stringRepresentation ); protected  JavascriptObject(String type, Object... args); protected  JavascriptObject(String type, Object[] ary, boolean isArray); protected  JavascriptObject(String type, JSObject jsObject); JSObject getJSObject(); String getVariableName();  }