test_class.declarator: disposer = new DisposeRule()
test_class.modifier: @Rule public
test_class.original_string: @Rule public DisposeRule disposer = new DisposeRule();
test_class.type: DisposeRule
test_class.var_name: disposer
test_class.file: core/src/test/java/com/github/olivergondza/dumpling/factory/JmxRuntimeFactoryTest.java
test_class.identifier: JmxRuntimeFactoryTest
test_case.body: @Test(timeout = 10000) // Not using Timeout rule as that would not clean the test resources
      public void jmxRemoteConnectMissingPasswd() throws Exception {
          TestThread.JMXProcess process = runRemoteSut(true);
          try {
              new JmxRuntimeFactory().forRemoteProcess(JMX_HOST, process.JMX_PORT);
              fail();
          } catch (JmxRuntimeFactory.FailedToInitializeJmxConnection ex) {
              assertThat(ex.getMessage(), containsString("Credentials required"));
          }
      }
test_case.class_method_signature: JmxRuntimeFactoryTest.jmxRemoteConnectMissingPasswd()
test_case.full_signature: @Test(timeout = 10000) // Not using Timeout rule as that would not clean the test resources public void jmxRemoteConnectMissingPasswd()
test_case.identifier: jmxRemoteConnectMissingPasswd
test_case.invocations: runRemoteSut forRemoteProcess fail assertThat getMessage containsString
test_case.modifiers: @Test(timeout = 10000) // Not using Timeout rule as that would not clean the test resources public
test_case.parameters: ()
test_case.return: void
test_case.signature: void jmxRemoteConnectMissingPasswd()
focal_class.declarator: THREADING_MBEAN
focal_class.modifier: private static final
focal_class.original_string: private static final ObjectName THREADING_MBEAN;
focal_class.type: ObjectName
focal_class.var_name: THREADING_MBEAN
focal_class.declarator: RUNTIME_MBEAN
focal_class.modifier: private static final
focal_class.original_string: private static final ObjectName RUNTIME_MBEAN;
focal_class.type: ObjectName
focal_class.var_name: RUNTIME_MBEAN
focal_class.file: core/src/main/java/com/github/olivergondza/dumpling/factory/JmxRuntimeFactory.java
focal_class.identifier: JmxRuntimeFactory
focal_class.class_method_signature: JmxRuntimeFactory.forConnectionString(@Nonnull String locator)
focal_class.full_signature: public @Nonnull JmxRuntime forConnectionString(@Nonnull String locator)
focal_class.identifier: forConnectionString
focal_class.modifiers: public @Nonnull
focal_class.parameters: (@Nonnull String locator)
focal_class.return: JmxRuntime
focal_class.signature: JmxRuntime forConnectionString(@Nonnull String locator)
focal_class.class_method_signature: JmxRuntimeFactory.forRemoteProcess(@Nonnull String host, int port)
focal_class.full_signature: public @Nonnull JmxRuntime forRemoteProcess(@Nonnull String host, int port)
focal_class.identifier: forRemoteProcess
focal_class.modifiers: public @Nonnull
focal_class.parameters: (@Nonnull String host, int port)
focal_class.return: JmxRuntime
focal_class.signature: JmxRuntime forRemoteProcess(@Nonnull String host, int port)
focal_class.class_method_signature: JmxRuntimeFactory.forRemoteProcess(@Nonnull String host, int port, String username, String password)
focal_class.full_signature: public @Nonnull JmxRuntime forRemoteProcess(@Nonnull String host, int port, String username, String password)
focal_class.identifier: forRemoteProcess
focal_class.modifiers: public @Nonnull
focal_class.parameters: (@Nonnull String host, int port, String username, String password)
focal_class.return: JmxRuntime
focal_class.signature: JmxRuntime forRemoteProcess(@Nonnull String host, int port, String username, String password)
focal_class.class_method_signature: JmxRuntimeFactory.forLocalProcess(int pid)
focal_class.full_signature: public @Nonnull JmxRuntime forLocalProcess(int pid)
focal_class.identifier: forLocalProcess
focal_class.modifiers: public @Nonnull
focal_class.parameters: (int pid)
focal_class.return: JmxRuntime
focal_class.signature: JmxRuntime forLocalProcess(int pid)
focal_class.class_method_signature: JmxRuntimeFactory.fromConnection(@Nonnull MBeanServerConnection connection)
focal_class.full_signature: private @Nonnull JmxRuntime fromConnection(@Nonnull MBeanServerConnection connection)
focal_class.identifier: fromConnection
focal_class.modifiers: private @Nonnull
focal_class.parameters: (@Nonnull MBeanServerConnection connection)
focal_class.return: JmxRuntime
focal_class.signature: JmxRuntime fromConnection(@Nonnull MBeanServerConnection connection)
focal_class.class_method_signature: JmxRuntimeFactory.extractRuntime(@Nonnull MBeanServerConnection connection)
focal_class.full_signature: private @Nonnull JmxRuntime extractRuntime(@Nonnull MBeanServerConnection connection)
focal_class.identifier: extractRuntime
focal_class.modifiers: private @Nonnull
focal_class.parameters: (@Nonnull MBeanServerConnection connection)
focal_class.return: JmxRuntime
focal_class.signature: JmxRuntime extractRuntime(@Nonnull MBeanServerConnection connection)
focal_class.class_method_signature: JmxRuntimeFactory.getRemoteThreads(@Nonnull MBeanServerConnection connection)
focal_class.full_signature: private List<ThreadInfo> getRemoteThreads(@Nonnull MBeanServerConnection connection)
focal_class.identifier: getRemoteThreads
focal_class.modifiers: private
focal_class.parameters: (@Nonnull MBeanServerConnection connection)
focal_class.return: List<ThreadInfo>
focal_class.signature: List<ThreadInfo> getRemoteThreads(@Nonnull MBeanServerConnection connection)
focal_class.class_method_signature: JmxRuntimeFactory.getVmName(@Nonnull MBeanServerConnection connection)
focal_class.full_signature: @SuppressWarnings("null") private @Nonnull String getVmName(@Nonnull MBeanServerConnection connection)
focal_class.identifier: getVmName
focal_class.modifiers: @SuppressWarnings("null") private @Nonnull
focal_class.parameters: (@Nonnull MBeanServerConnection connection)
focal_class.return: String
focal_class.signature: String getVmName(@Nonnull MBeanServerConnection connection)
focal_method.body: public @Nonnull JmxRuntime forRemoteProcess(@Nonnull String host, int port) throws FailedToInitializeJmxConnection {
          return forRemoteProcess(host, port, null, null);
      }
focal_method.class_method_signature: JmxRuntimeFactory.forRemoteProcess(@Nonnull String host, int port)
focal_method.full_signature: public @Nonnull JmxRuntime forRemoteProcess(@Nonnull String host, int port)
focal_method.identifier: forRemoteProcess
focal_method.invocations: forRemoteProcess
focal_method.modifiers: public @Nonnull
focal_method.parameters: (@Nonnull String host, int port)
focal_method.return: JmxRuntime
focal_method.signature: JmxRuntime forRemoteProcess(@Nonnull String host, int port)