test_class.file: resources/src/test/java/org/jboss/hal/resources/StringsTest.java
test_class.identifier: StringsTest
test_case.body: @Test
      public void abbreviateFqClassname() throws Exception {
          assertEquals("c.a.main", Strings.abbreviateFqClassName("com.acme.main"));
          assertEquals("c.a.main.Main", Strings.abbreviateFqClassName("com.acme.main.Main"));
          assertEquals("c.a.l.p.foo.Bar", Strings.abbreviateFqClassName("com.acme.longer.package.foo.Bar"));
      }
test_case.class_method_signature: StringsTest.abbreviateFqClassname()
test_case.full_signature: @Test public void abbreviateFqClassname()
test_case.identifier: abbreviateFqClassname
test_case.invocations: assertEquals abbreviateFqClassName assertEquals abbreviateFqClassName assertEquals abbreviateFqClassName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void abbreviateFqClassname()
focal_class.declarator: INDEX_NOT_FOUND = -1
focal_class.modifier: private static final
focal_class.original_string: private static final int INDEX_NOT_FOUND = -1;
focal_class.type: int
focal_class.var_name: INDEX_NOT_FOUND
focal_class.declarator: ELLIPSIS = "..."
focal_class.modifier: private static final
focal_class.original_string: private static final String ELLIPSIS = "...";
focal_class.type: String
focal_class.var_name: ELLIPSIS
focal_class.declarator: EMPTY = ""
focal_class.modifier: private static final
focal_class.original_string: private static final String EMPTY = "";
focal_class.type: String
focal_class.var_name: EMPTY
focal_class.declarator: SCHEME_HOST_SEPARATOR = "://"
focal_class.modifier: private static final
focal_class.original_string: private static final String SCHEME_HOST_SEPARATOR = "://";
focal_class.type: String
focal_class.var_name: SCHEME_HOST_SEPARATOR
focal_class.declarator: FQ_CLASS_NAME = "\\B\\w+(\\.[a-z])"
focal_class.modifier: private static final
focal_class.original_string: private static final String FQ_CLASS_NAME = "\\B\\w+(\\.[a-z])";
focal_class.type: String
focal_class.var_name: FQ_CLASS_NAME
focal_class.file: resources/src/main/java/org/jboss/hal/resources/Strings.java
focal_class.identifier: Strings
focal_class.class_method_signature: Strings.abbreviate(String str, int offset, int maxWidth)
focal_class.full_signature: public static String abbreviate(String str, int offset, int maxWidth)
focal_class.identifier: abbreviate
focal_class.modifiers: public static
focal_class.parameters: (String str, int offset, int maxWidth)
focal_class.return: String
focal_class.signature: String abbreviate(String str, int offset, int maxWidth)
focal_class.class_method_signature: Strings.abbreviateMiddle(String string, int maxLength)
focal_class.full_signature: public static String abbreviateMiddle(String string, int maxLength)
focal_class.identifier: abbreviateMiddle
focal_class.modifiers: public static
focal_class.parameters: (String string, int maxLength)
focal_class.return: String
focal_class.signature: String abbreviateMiddle(String string, int maxLength)
focal_class.class_method_signature: Strings.abbreviateFqClassName(String fqcn)
focal_class.full_signature: public static String abbreviateFqClassName(String fqcn)
focal_class.identifier: abbreviateFqClassName
focal_class.modifiers: public static
focal_class.parameters: (String fqcn)
focal_class.return: String
focal_class.signature: String abbreviateFqClassName(String fqcn)
focal_class.class_method_signature: Strings.capitalize(String str)
focal_class.full_signature: public static String capitalize(String str)
focal_class.identifier: capitalize
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String capitalize(String str)
focal_class.class_method_signature: Strings.substringAfterLast(String str, String separator)
focal_class.full_signature: public static String substringAfterLast(String str, String separator)
focal_class.identifier: substringAfterLast
focal_class.modifiers: public static
focal_class.parameters: (String str, String separator)
focal_class.return: String
focal_class.signature: String substringAfterLast(String str, String separator)
focal_class.class_method_signature: Strings.strip(String str, String stripChars)
focal_class.full_signature: public static String strip(String str, String stripChars)
focal_class.identifier: strip
focal_class.modifiers: public static
focal_class.parameters: (String str, String stripChars)
focal_class.return: String
focal_class.signature: String strip(String str, String stripChars)
focal_class.class_method_signature: Strings.stripStart(String str, String stripChars)
focal_class.full_signature: public static String stripStart(String str, String stripChars)
focal_class.identifier: stripStart
focal_class.modifiers: public static
focal_class.parameters: (String str, String stripChars)
focal_class.return: String
focal_class.signature: String stripStart(String str, String stripChars)
focal_class.class_method_signature: Strings.stripEnd(String str, String stripChars)
focal_class.full_signature: public static String stripEnd(String str, String stripChars)
focal_class.identifier: stripEnd
focal_class.modifiers: public static
focal_class.parameters: (String str, String stripChars)
focal_class.return: String
focal_class.signature: String stripEnd(String str, String stripChars)
focal_class.class_method_signature: Strings.getParent(String path)
focal_class.full_signature: public static String getParent(String path)
focal_class.identifier: getParent
focal_class.modifiers: public static
focal_class.parameters: (String path)
focal_class.return: String
focal_class.signature: String getParent(String path)
focal_class.class_method_signature: Strings.getDomain(String url)
focal_class.full_signature: public static String getDomain(String url)
focal_class.identifier: getDomain
focal_class.modifiers: public static
focal_class.parameters: (String url)
focal_class.return: String
focal_class.signature: String getDomain(String url)
focal_class.class_method_signature: Strings.sanitize(String str)
focal_class.full_signature: public static String sanitize(String str)
focal_class.identifier: sanitize
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String sanitize(String str)
focal_class.class_method_signature: Strings.Strings()
focal_class.full_signature: private  Strings()
focal_class.identifier: Strings
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Strings()
focal_method.body: public static String abbreviateFqClassName(String fqcn) {
          return fqcn.replaceAll(FQ_CLASS_NAME, "$1");
      }
focal_method.class_method_signature: Strings.abbreviateFqClassName(String fqcn)
focal_method.full_signature: public static String abbreviateFqClassName(String fqcn)
focal_method.identifier: abbreviateFqClassName
focal_method.invocations: replaceAll
focal_method.modifiers: public static
focal_method.parameters: (String fqcn)
focal_method.return: String
focal_method.signature: String abbreviateFqClassName(String fqcn)