test_class.file: src/server/src/test/java/io/cassandrareaper/jmx/JmxAddressesTest.java
test_class.identifier: JmxAddressesTest
test_case.body: @Test
    public void isNumericIPv6AddressTest() throws Exception {
      // numeric IPv6 addresses
      assertTrue(isNumericIPv6Address("::1"));
      assertTrue(isNumericIPv6Address("2a06:6b8:b010:d007::1:c8"));
      assertTrue(isNumericIPv6Address("[2a06:6b8:b010:d007::1:c8]"));
  
      // numeric IPv4 addresses
      assertFalse(isNumericIPv6Address("127.0.0.1"));
      assertFalse(isNumericIPv6Address("1.2.3.4"));
  
      // domain names
      assertFalse(isNumericIPv6Address("localhost"));
      assertFalse(isNumericIPv6Address("example.com"));
  
      // corner case
      assertFalse(isNumericIPv6Address(""));
    }
test_case.class_method_signature: JmxAddressesTest.isNumericIPv6AddressTest()
test_case.full_signature: @Test public void isNumericIPv6AddressTest()
test_case.identifier: isNumericIPv6AddressTest
test_case.invocations: assertTrue isNumericIPv6Address assertTrue isNumericIPv6Address assertTrue isNumericIPv6Address assertFalse isNumericIPv6Address assertFalse isNumericIPv6Address assertFalse isNumericIPv6Address assertFalse isNumericIPv6Address assertFalse isNumericIPv6Address
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isNumericIPv6AddressTest()
focal_class.declarator: JMX_URL = "service:jmx:rmi:///jndi/rmi://%s:%d/jmxrmi"
focal_class.modifier: private static final
focal_class.original_string: private static final String JMX_URL = "service:jmx:rmi:///jndi/rmi://%s:%d/jmxrmi";
focal_class.type: String
focal_class.var_name: JMX_URL
focal_class.declarator: JMXMP_URL = "service:jmx:jmxmp://%s:%d/"
focal_class.modifier: private static final
focal_class.original_string: private static final String JMXMP_URL = "service:jmx:jmxmp://%s:%d/";
focal_class.type: String
focal_class.var_name: JMXMP_URL
focal_class.file: src/server/src/main/java/io/cassandrareaper/jmx/JmxAddresses.java
focal_class.identifier: JmxAddresses
focal_class.class_method_signature: JmxAddresses.JmxAddresses()
focal_class.full_signature: private  JmxAddresses()
focal_class.identifier: JmxAddresses
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  JmxAddresses()
focal_class.class_method_signature: JmxAddresses.isNumericIPv6Address(String address)
focal_class.full_signature: public static boolean isNumericIPv6Address(String address)
focal_class.identifier: isNumericIPv6Address
focal_class.modifiers: public static
focal_class.parameters: (String address)
focal_class.return: boolean
focal_class.signature: boolean isNumericIPv6Address(String address)
focal_class.class_method_signature: JmxAddresses.getJmxServiceUrl(String host, int port)
focal_class.full_signature: public static JMXServiceURL getJmxServiceUrl(String host, int port)
focal_class.identifier: getJmxServiceUrl
focal_class.modifiers: public static
focal_class.parameters: (String host, int port)
focal_class.return: JMXServiceURL
focal_class.signature: JMXServiceURL getJmxServiceUrl(String host, int port)
focal_class.class_method_signature: JmxAddresses.getJmxServiceUrl(String host, int port, boolean jmxmp)
focal_class.full_signature: public static JMXServiceURL getJmxServiceUrl(String host, int port, boolean jmxmp)
focal_class.identifier: getJmxServiceUrl
focal_class.modifiers: public static
focal_class.parameters: (String host, int port, boolean jmxmp)
focal_class.return: JMXServiceURL
focal_class.signature: JMXServiceURL getJmxServiceUrl(String host, int port, boolean jmxmp)
focal_class.class_method_signature: JmxAddresses.wrapIPv6BracesIfNeed(String address)
focal_class.full_signature: private static String wrapIPv6BracesIfNeed(String address)
focal_class.identifier: wrapIPv6BracesIfNeed
focal_class.modifiers: private static
focal_class.parameters: (String address)
focal_class.return: String
focal_class.signature: String wrapIPv6BracesIfNeed(String address)
focal_method.body: public static boolean isNumericIPv6Address(String address) {
      Preconditions.checkNotNull(address);
      // address contains colon if and only if it's a numeric IPv6 address
      return (address.indexOf(':') >= 0);
    }
focal_method.class_method_signature: JmxAddresses.isNumericIPv6Address(String address)
focal_method.full_signature: public static boolean isNumericIPv6Address(String address)
focal_method.identifier: isNumericIPv6Address
focal_method.invocations: checkNotNull indexOf
focal_method.modifiers: public static
focal_method.parameters: (String address)
focal_method.return: boolean
focal_method.signature: boolean isNumericIPv6Address(String address)