test_class.file: gae-studio/gae-studio-server/src/test/java/com/arcbees/gaestudio/server/util/PackageHelperTest.java
test_class.identifier: PackageHelperTest
test_case.body: @Test
      public void testGetLeafPackageName() throws Exception {
          Package aPackage = Package.getPackage("com.arcbees.gaestudio.server.util");
  
          String leafPackageName = PackageHelper.getLeafPackageName(aPackage);
  
          assertEquals("util", leafPackageName);
      }
test_case.class_method_signature: PackageHelperTest.testGetLeafPackageName()
test_case.full_signature: @Test public void testGetLeafPackageName()
test_case.identifier: testGetLeafPackageName
test_case.invocations: getPackage getLeafPackageName assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetLeafPackageName()
focal_class.file: gae-studio/gae-studio-server/src/main/java/com/arcbees/gaestudio/server/util/PackageHelper.java
focal_class.identifier: PackageHelper
focal_class.class_method_signature: PackageHelper.getLeafPackageName(Package pack)
focal_class.full_signature: public static String getLeafPackageName(Package pack)
focal_class.identifier: getLeafPackageName
focal_class.modifiers: public static
focal_class.parameters: (Package pack)
focal_class.return: String
focal_class.signature: String getLeafPackageName(Package pack)
focal_method.body: public static String getLeafPackageName(Package pack) {
          String[] subPackages = pack.getName().split("\\.");
          return subPackages[subPackages.length - 1];
      }
focal_method.class_method_signature: PackageHelper.getLeafPackageName(Package pack)
focal_method.full_signature: public static String getLeafPackageName(Package pack)
focal_method.identifier: getLeafPackageName
focal_method.invocations: split getName
focal_method.modifiers: public static
focal_method.parameters: (Package pack)
focal_method.return: String
focal_method.signature: String getLeafPackageName(Package pack)