ReflectionUtils { public static String getPackagePath(Object object) { return getPackagePath(object.getClass()); } private  ReflectionUtils(); static String getPackagePath(Object object); static String getPackagePath(Class klass); static Class<?>[] getTypeArguments(
      Class<T> baseClass, Class<? extends T> childClass); @SuppressWarnings("unchecked") static T newInstance(Class<T> theClass); @SuppressWarnings("unchecked") static T newInstance(
      Class<T> theClass,
      ImmutableClassesGiraphConfiguration configuration); static T newInstance(
      Class<T> theClass,
      ImmutableClassesGiraphConfiguration configuration,
      Mapper<?, ?, ?, ?>.Context context); static void verifyTypes(Class<?> concreteChild, Class<?> parent,
      String typeDesc, Class<?> mainClass); static void verifyConcrete(
      Class<?> concrete, String typeDesc);  }
@Test public void testPackagePath() { assertEquals("org/apache/giraph/utils", ReflectionUtils.getPackagePath(TestReflectionUtils.class)); assertEquals("org/apache/giraph/utils", ReflectionUtils.getPackagePath(getClass())); assertEquals("org/apache/giraph/utils", ReflectionUtils.getPackagePath(this)); }