test_class.declarator: instance
test_class.modifier: public
test_class.original_string: public DefaultServiceInstance instance;
test_class.type: DefaultServiceInstance
test_class.var_name: instance
test_class.file: dubbo-registry/dubbo-registry-api/src/test/java/org/apache/dubbo/registry/client/DefaultServiceInstanceTest.java
test_class.identifier: DefaultServiceInstanceTest
test_case.body: @Test
      public void testGetMetadata() {
          assertNotNull(instance.getMetadata(METADATA_SERVICE_URLS_PROPERTY_NAME));
          assertNotNull(instance.getMetadata(METADATA_SERVICE_URL_PARAMS_PROPERTY_NAME));
      }
test_case.class_method_signature: DefaultServiceInstanceTest.testGetMetadata()
test_case.full_signature: @Test public void testGetMetadata()
test_case.identifier: testGetMetadata
test_case.invocations: assertNotNull getMetadata assertNotNull getMetadata
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetMetadata()
focal_class.declarator: serialVersionUID = 1149677083747278100L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 1149677083747278100L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: id
focal_class.modifier: private
focal_class.original_string: private String id;
focal_class.type: String
focal_class.var_name: id
focal_class.declarator: serviceName
focal_class.modifier: private
focal_class.original_string: private String serviceName;
focal_class.type: String
focal_class.var_name: serviceName
focal_class.declarator: host
focal_class.modifier: private
focal_class.original_string: private String host;
focal_class.type: String
focal_class.var_name: host
focal_class.declarator: port
focal_class.modifier: private
focal_class.original_string: private Integer port;
focal_class.type: Integer
focal_class.var_name: port
focal_class.declarator: enabled
focal_class.modifier: private
focal_class.original_string: private boolean enabled;
focal_class.type: boolean
focal_class.var_name: enabled
focal_class.declarator: healthy
focal_class.modifier: private
focal_class.original_string: private boolean healthy;
focal_class.type: boolean
focal_class.var_name: healthy
focal_class.declarator: metadata = new HashMap<>()
focal_class.modifier: private
focal_class.original_string: private Map<String, String> metadata = new HashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: metadata
focal_class.declarator: address
focal_class.modifier: private transient
focal_class.original_string: private transient String address;
focal_class.type: String
focal_class.var_name: address
focal_class.declarator: serviceMetadata
focal_class.modifier: private transient
focal_class.original_string: private transient MetadataInfo serviceMetadata;
focal_class.type: MetadataInfo
focal_class.var_name: serviceMetadata
focal_class.declarator: extendParams = new HashMap<>()
focal_class.modifier: private transient
focal_class.original_string: private transient Map<String, String> extendParams = new HashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: extendParams
focal_class.file: dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/DefaultServiceInstance.java
focal_class.identifier: DefaultServiceInstance
focal_class.interfaces: implements ServiceInstance
focal_class.class_method_signature: DefaultServiceInstance.DefaultServiceInstance()
focal_class.full_signature: public  DefaultServiceInstance()
focal_class.identifier: DefaultServiceInstance
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  DefaultServiceInstance()
focal_class.class_method_signature: DefaultServiceInstance.DefaultServiceInstance(String id, String serviceName, String host, Integer port)
focal_class.full_signature: public  DefaultServiceInstance(String id, String serviceName, String host, Integer port)
focal_class.identifier: DefaultServiceInstance
focal_class.modifiers: public
focal_class.parameters: (String id, String serviceName, String host, Integer port)
focal_class.signature:  DefaultServiceInstance(String id, String serviceName, String host, Integer port)
focal_class.class_method_signature: DefaultServiceInstance.DefaultServiceInstance(String serviceName, String host, Integer port)
focal_class.full_signature: public  DefaultServiceInstance(String serviceName, String host, Integer port)
focal_class.identifier: DefaultServiceInstance
focal_class.modifiers: public
focal_class.parameters: (String serviceName, String host, Integer port)
focal_class.signature:  DefaultServiceInstance(String serviceName, String host, Integer port)
focal_class.class_method_signature: DefaultServiceInstance.setId(String id)
focal_class.full_signature: public void setId(String id)
focal_class.identifier: setId
focal_class.modifiers: public
focal_class.parameters: (String id)
focal_class.return: void
focal_class.signature: void setId(String id)
focal_class.class_method_signature: DefaultServiceInstance.setServiceName(String serviceName)
focal_class.full_signature: public void setServiceName(String serviceName)
focal_class.identifier: setServiceName
focal_class.modifiers: public
focal_class.parameters: (String serviceName)
focal_class.return: void
focal_class.signature: void setServiceName(String serviceName)
focal_class.class_method_signature: DefaultServiceInstance.setHost(String host)
focal_class.full_signature: public void setHost(String host)
focal_class.identifier: setHost
focal_class.modifiers: public
focal_class.parameters: (String host)
focal_class.return: void
focal_class.signature: void setHost(String host)
focal_class.class_method_signature: DefaultServiceInstance.getId()
focal_class.full_signature: @Override public String getId()
focal_class.identifier: getId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getId()
focal_class.class_method_signature: DefaultServiceInstance.getServiceName()
focal_class.full_signature: @Override public String getServiceName()
focal_class.identifier: getServiceName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getServiceName()
focal_class.class_method_signature: DefaultServiceInstance.getHost()
focal_class.full_signature: @Override public String getHost()
focal_class.identifier: getHost
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHost()
focal_class.class_method_signature: DefaultServiceInstance.setPort(Integer port)
focal_class.full_signature: public void setPort(Integer port)
focal_class.identifier: setPort
focal_class.modifiers: public
focal_class.parameters: (Integer port)
focal_class.return: void
focal_class.signature: void setPort(Integer port)
focal_class.class_method_signature: DefaultServiceInstance.getPort()
focal_class.full_signature: @Override public Integer getPort()
focal_class.identifier: getPort
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer getPort()
focal_class.class_method_signature: DefaultServiceInstance.getAddress()
focal_class.full_signature: @Override public String getAddress()
focal_class.identifier: getAddress
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getAddress()
focal_class.class_method_signature: DefaultServiceInstance.getAddress(String host, int port)
focal_class.full_signature: private static String getAddress(String host, int port)
focal_class.identifier: getAddress
focal_class.modifiers: private static
focal_class.parameters: (String host, int port)
focal_class.return: String
focal_class.signature: String getAddress(String host, int port)
focal_class.class_method_signature: DefaultServiceInstance.isEnabled()
focal_class.full_signature: @Override public boolean isEnabled()
focal_class.identifier: isEnabled
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEnabled()
focal_class.class_method_signature: DefaultServiceInstance.setEnabled(boolean enabled)
focal_class.full_signature: public void setEnabled(boolean enabled)
focal_class.identifier: setEnabled
focal_class.modifiers: public
focal_class.parameters: (boolean enabled)
focal_class.return: void
focal_class.signature: void setEnabled(boolean enabled)
focal_class.class_method_signature: DefaultServiceInstance.isHealthy()
focal_class.full_signature: @Override public boolean isHealthy()
focal_class.identifier: isHealthy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isHealthy()
focal_class.class_method_signature: DefaultServiceInstance.setHealthy(boolean healthy)
focal_class.full_signature: public void setHealthy(boolean healthy)
focal_class.identifier: setHealthy
focal_class.modifiers: public
focal_class.parameters: (boolean healthy)
focal_class.return: void
focal_class.signature: void setHealthy(boolean healthy)
focal_class.class_method_signature: DefaultServiceInstance.getMetadata()
focal_class.full_signature: @Override public Map<String, String> getMetadata()
focal_class.identifier: getMetadata
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getMetadata()
focal_class.class_method_signature: DefaultServiceInstance.getExtendParams()
focal_class.full_signature: @Override public Map<String, String> getExtendParams()
focal_class.identifier: getExtendParams
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getExtendParams()
focal_class.class_method_signature: DefaultServiceInstance.getAllParams()
focal_class.full_signature: @Override public Map<String, String> getAllParams()
focal_class.identifier: getAllParams
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getAllParams()
focal_class.class_method_signature: DefaultServiceInstance.setMetadata(Map<String, String> metadata)
focal_class.full_signature: public void setMetadata(Map<String, String> metadata)
focal_class.identifier: setMetadata
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> metadata)
focal_class.return: void
focal_class.signature: void setMetadata(Map<String, String> metadata)
focal_class.class_method_signature: DefaultServiceInstance.getServiceMetadata()
focal_class.full_signature: public MetadataInfo getServiceMetadata()
focal_class.identifier: getServiceMetadata
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MetadataInfo
focal_class.signature: MetadataInfo getServiceMetadata()
focal_class.class_method_signature: DefaultServiceInstance.setServiceMetadata(MetadataInfo serviceMetadata)
focal_class.full_signature: public void setServiceMetadata(MetadataInfo serviceMetadata)
focal_class.identifier: setServiceMetadata
focal_class.modifiers: public
focal_class.parameters: (MetadataInfo serviceMetadata)
focal_class.return: void
focal_class.signature: void setServiceMetadata(MetadataInfo serviceMetadata)
focal_class.class_method_signature: DefaultServiceInstance.toURL()
focal_class.full_signature: @Override public InstanceAddressURL toURL()
focal_class.identifier: toURL
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: InstanceAddressURL
focal_class.signature: InstanceAddressURL toURL()
focal_class.class_method_signature: DefaultServiceInstance.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: DefaultServiceInstance.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: DefaultServiceInstance.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public Map<String, String> getMetadata() {
          return metadata;
      }
focal_method.class_method_signature: DefaultServiceInstance.getMetadata()
focal_method.full_signature: @Override public Map<String, String> getMetadata()
focal_method.identifier: getMetadata
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Map<String, String>
focal_method.signature: Map<String, String> getMetadata()