test_class.declarator: URL = "http://localhost:8080"
test_class.modifier: static
test_class.original_string: static String URL = "http://localhost:8080";
test_class.type: String
test_class.var_name: URL
test_class.file: client/java/src/test/java/org/jolokia/client/request/J4pTargetConfigTest.java
test_class.identifier: J4pTargetConfigTest
test_case.body: @Test
      public void json() {
          J4pTargetConfig cfg = new J4pTargetConfig(URL,"roland","s!cr!t");
          JSONObject j = cfg.toJson();
          assertEquals(j.get("url"),URL);
          assertEquals(j.get("user"),"roland");
          assertEquals(j.get("password"),"s!cr!t");
      }
test_case.class_method_signature: J4pTargetConfigTest.json()
test_case.full_signature: @Test public void json()
test_case.identifier: json
test_case.invocations: toJson assertEquals get assertEquals get assertEquals get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void json()
focal_class.declarator: url
focal_class.modifier: private
focal_class.original_string: private String url;
focal_class.type: String
focal_class.var_name: url
focal_class.declarator: user
focal_class.modifier: private
focal_class.original_string: private String user;
focal_class.type: String
focal_class.var_name: user
focal_class.declarator: password
focal_class.modifier: private
focal_class.original_string: private String password;
focal_class.type: String
focal_class.var_name: password
focal_class.file: client/java/src/main/java/org/jolokia/client/request/J4pTargetConfig.java
focal_class.identifier: J4pTargetConfig
focal_class.class_method_signature: J4pTargetConfig.J4pTargetConfig(String pUrl, String pUser, String pPassword)
focal_class.full_signature: public  J4pTargetConfig(String pUrl, String pUser, String pPassword)
focal_class.identifier: J4pTargetConfig
focal_class.modifiers: public
focal_class.parameters: (String pUrl, String pUser, String pPassword)
focal_class.signature:  J4pTargetConfig(String pUrl, String pUser, String pPassword)
focal_class.class_method_signature: J4pTargetConfig.getUrl()
focal_class.full_signature: public String getUrl()
focal_class.identifier: getUrl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUrl()
focal_class.class_method_signature: J4pTargetConfig.getUser()
focal_class.full_signature: public String getUser()
focal_class.identifier: getUser
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUser()
focal_class.class_method_signature: J4pTargetConfig.getPassword()
focal_class.full_signature: public String getPassword()
focal_class.identifier: getPassword
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPassword()
focal_class.class_method_signature: J4pTargetConfig.toJson()
focal_class.full_signature: public JSONObject toJson()
focal_class.identifier: toJson
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: JSONObject
focal_class.signature: JSONObject toJson()
focal_method.body: public JSONObject toJson() {
          JSONObject ret = new JSONObject();
          ret.put("url",url);
          if (user != null) {
              ret.put("user",user);
              ret.put("password",password);
          }
          return ret;
      }
focal_method.class_method_signature: J4pTargetConfig.toJson()
focal_method.full_signature: public JSONObject toJson()
focal_method.identifier: toJson
focal_method.invocations: put put put
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: JSONObject
focal_method.signature: JSONObject toJson()