test_class.file: central/src/test/java/org/glowroot/central/v09support/V09SupportTest.java
test_class.identifier: V09SupportTest
test_case.body: @Test
      public void shouldConvertToV09() {
          assertThat(V09Support.convertToV09("aaa")).isEqualTo("aaa");
          assertThat(V09Support.convertToV09("aaa::")).isEqualTo("aaa");
          assertThat(V09Support.convertToV09("aaa::bbb")).isEqualTo("bbb");
          assertThat(V09Support.convertToV09("aaa::bbb::")).isEqualTo("aaa/bbb");
          assertThat(V09Support.convertToV09("aaa::bbb::ccc")).isEqualTo("ccc");
          assertThat(V09Support.convertToV09("aaa::bbb::ccc::")).isEqualTo("aaa/bbb/ccc");
          assertThat(V09Support.convertToV09("a")).isEqualTo("a");
          assertThat(V09Support.convertToV09("a::")).isEqualTo("a");
          assertThat(V09Support.convertToV09("a::b")).isEqualTo("b");
          assertThat(V09Support.convertToV09("a::b::")).isEqualTo("a/b");
          assertThat(V09Support.convertToV09("a::b::c")).isEqualTo("c");
          assertThat(V09Support.convertToV09("a::b::c::")).isEqualTo("a/b/c");
      }
test_case.class_method_signature: V09SupportTest.shouldConvertToV09()
test_case.full_signature: @Test public void shouldConvertToV09()
test_case.identifier: shouldConvertToV09
test_case.invocations: isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09 isEqualTo assertThat convertToV09
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldConvertToV09()
focal_class.file: central/src/main/java/org/glowroot/central/v09support/V09Support.java
focal_class.identifier: V09Support
focal_class.class_method_signature: V09Support.getAgentRollupIdsV09(String agentId)
focal_class.full_signature: static List<String> getAgentRollupIdsV09(String agentId)
focal_class.identifier: getAgentRollupIdsV09
focal_class.modifiers: static
focal_class.parameters: (String agentId)
focal_class.return: List<String>
focal_class.signature: List<String> getAgentRollupIdsV09(String agentId)
focal_class.class_method_signature: V09Support.getParentV09(String agentRollupId)
focal_class.full_signature: static @Nullable String getParentV09(String agentRollupId)
focal_class.identifier: getParentV09
focal_class.modifiers: static @Nullable
focal_class.parameters: (String agentRollupId)
focal_class.return: String
focal_class.signature: String getParentV09(String agentRollupId)
focal_class.class_method_signature: V09Support.convertToV09(String agentRollupId)
focal_class.full_signature: static String convertToV09(String agentRollupId)
focal_class.identifier: convertToV09
focal_class.modifiers: static
focal_class.parameters: (String agentRollupId)
focal_class.return: String
focal_class.signature: String convertToV09(String agentRollupId)
focal_class.class_method_signature: V09Support.isLeaf(String agentRollupId)
focal_class.full_signature: static boolean isLeaf(String agentRollupId)
focal_class.identifier: isLeaf
focal_class.modifiers: static
focal_class.parameters: (String agentRollupId)
focal_class.return: boolean
focal_class.signature: boolean isLeaf(String agentRollupId)
focal_class.class_method_signature: V09Support.getPlan(Set<String> v09AgentRollupIds, long v09LastCaptureTime,
              String agentRollupId, long from, long to)
focal_class.full_signature: static QueryPlan getPlan(Set<String> v09AgentRollupIds, long v09LastCaptureTime,
              String agentRollupId, long from, long to)
focal_class.identifier: getPlan
focal_class.modifiers: static
focal_class.parameters: (Set<String> v09AgentRollupIds, long v09LastCaptureTime,
              String agentRollupId, long from, long to)
focal_class.return: QueryPlan
focal_class.signature: QueryPlan getPlan(Set<String> v09AgentRollupIds, long v09LastCaptureTime,
              String agentRollupId, long from, long to)
focal_method.body: static String convertToV09(String agentRollupId) {
          if (agentRollupId.endsWith("::")) {
              return agentRollupId.substring(0, agentRollupId.length() - 2).replace("::", "/");
          }
          int index = agentRollupId.lastIndexOf("::");
          if (index == -1) {
              return agentRollupId;
          } else {
              return agentRollupId.substring(index + 2);
          }
      }
focal_method.class_method_signature: V09Support.convertToV09(String agentRollupId)
focal_method.full_signature: static String convertToV09(String agentRollupId)
focal_method.identifier: convertToV09
focal_method.invocations: endsWith replace substring length lastIndexOf substring
focal_method.modifiers: static
focal_method.parameters: (String agentRollupId)
focal_method.return: String
focal_method.signature: String convertToV09(String agentRollupId)